Skip to content

Winamp: NVDA will once again announce shuffle and repeat status#10947

Merged
michaelDCurran merged 2 commits into
nvaccess:masterfrom
josephsl:i10945
Apr 7, 2020
Merged

Winamp: NVDA will once again announce shuffle and repeat status#10947
michaelDCurran merged 2 commits into
nvaccess:masterfrom
josephsl:i10945

Conversation

@josephsl

@josephsl josephsl commented Apr 6, 2020

Copy link
Copy Markdown
Contributor

Link to issue number:

Fixes #10945

Summary of the issue:

NVDA does not announce shuffle and repeat status.

Description of how this pull request fixes the issue:

Calls winUser.FindWindow, which eventually calls user32.dll::FindWindowW, as Python 3 wants to work with Unicode strings by default.

Testing performed:

Tested with Winamp 5.66 and 5.8:

  1. From main window, press S to toggle shuffle and R to toggle repeat.
  2. Verified the status of these flags by opening Winamp options menu.

Known issues with pull request:

None

Change log entry:

Bug fixes:

In Winamp, NVDA will once again announce toggle status of shuffle and repeat. (#10945)

josephsl added 2 commits April 6, 2020 10:52
…er module. Re nvaccess#10945.

Python 3 defaults to Unicode strings, and without bytes conversion, FindWindowA will fail. Thus call winUser.FindWindow which eventually clals user32.dll::FindWindowW. This resolves shuffle and repeat status announcement.
@josephsl josephsl requested a review from feerrenrut April 6, 2020 17:58
@michaelDCurran michaelDCurran merged commit 97fbc91 into nvaccess:master Apr 7, 2020
@nvaccessAuto nvaccessAuto added this to the 2020.1 milestone Apr 7, 2020
michaelDCurran added a commit that referenced this pull request Apr 7, 2020
@feerrenrut feerrenrut modified the milestones: 2020.1, 2020.2 Apr 7, 2020
@josephsl josephsl deleted the i10945 branch August 10, 2020 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Winamp support: NVDA doesn't detect the status of shuffle and repeat modes

4 participants