4 Commits
Author SHA1 Message Date
deedra 0763498472 Report foobar2000 Advanced settings check and radio states
Native tree descriptions previously omitted state-image bits. As a result,
foobar2000 Advanced Preferences read setting names without their boolean
values, and changing a checkbox without moving focus could go unnoticed.

Include TVIS_STATEIMAGEMASK in the native item key so polling observes
state changes even when Wine omits WinEvents. Report checked and not-checked
states for standard checkbox-tree images while preserving selected and
expanded/collapsed states. All queries remain read-only and retain the
existing target-architecture buffer layouts and bounded query behavior.

Foobar2000 also uses image indexes 3 and 4 for radio choices in its Advanced
settings tree. Expose those entries as radio buttons with the corresponding
check state. Restrict this application-defined mapping to foobar2000.exe
and its Preferences category/settings control identities. Leave unrelated
state images uninterpreted rather than inventing mixed checkbox states.

Extend the controls fixture with checkbox changes that emit no WinEvent,
custom images, and foobar-style radio transitions. Add a foobar-controls
runner mode using the application's basename. Exercise identical control
IDs and images under an unrelated basename to guard against applying the
compatibility mapping to other programs. Account for Wine initializing
checkbox images when the fixture first appears. Document support and the
manual Preferences acceptance procedure.

Validation:
- Controls and foobar-controls fixtures passed in both 64-bit and 32-bit.
- All six CTests passed: foreground focus, MSAA states, text limits,
  64/32-bit review capture, and hook safety.
- Existing menu and editor integrations passed, including Unicode,
  selection/deletion feedback, password exclusion and read-only controls.
- A private copy of foobar2000 2.26.1 exposed Advanced setting labels,
  numeric values, checkbox Space toggles and radio states, plus Components
  row names and version/module descriptions through the recording reader.
- Installed the verified helper alongside the Cthulhu session-bus fix;
  the user subsequently confirmed that the live changes look good.

Recorded events alone do not establish physical Braille acceptance. No
foobar2000 settings were changed in the user's live installation.
2026-10-25 14:57:34 -07:00
Storm Dragon 17052c5147 More fixes discovered based on Deedra's work. 2026-10-23 16:08:58 -04:00
ak47 cbce83581a Bug fixes and reorganization of code. 2026-10-10 22:27:12 -04:00
Storm Dragon 5f78168c57 More accessibility fixes using foobar2000 as a test. 2026-10-10 15:30:23 -04:00