Bugzilla – Bug 1409
Contrast: Closing "Help on the Internet" loses focus
Last modified: 2018-08-20 11:51:42 UTC
Regression on 2.1.1.
Testing this on W10 audacity-win-r02ce3c3-2.1.3-alpha-21-jun-16 I get the same funny little window that I reporrted for Timere Record in Bug #1408
Fixed at Fixed at https://github.com/audacity/audacity/commit/7808064ae10fbc99bba0ba4c30807e3a0ba69ae2
(In reply to Peter Sampson from comment #1) > I get the same funny little window that I reporrted for Timere Record > in Bug #1408 You won't see that when you next update your build. (In reply to Paul L from comment #2) > Fixed at https://github.com/audacity/audacity/commit/7808064 Doesn't work correctly for me in release configuration. On clicking the help button in Contrast, the "Help on the Internet" dialogue does not have focus. After giving "Help on the Internet" focus and dismissing it, focus is neither in Contrast or the main window. The only improvement is that I can still see Contrast after dismissing the help dialogue.
Testing onon Mac El Capitan d6187f6 21Jun16 I get the same result as Gale - no focus on either the Contrast or the main Audacity Window. On W10 the focus is returned to the Contrast dialog.
Fair enough, but allow that I have made the window not-lowered. So far I have figured it out, not-lowered but not focused is the compromise with the other development that allows the modal help to be non-freezing. I might have to go the route of making much duplicate code for the modal and nonmodal cases.
I renamed the bug to "Contrast: Closing "Help on the Internet" loses focus". But for sighted users, it is actually much better than before.
Try this now: https://github.com/audacity/audacity/commit/9d506cd850fe371d737b96cd9d84a4921150d1d1
Works for me testing on d618716 29Jun build on Mac that Gale built for me and on W10 audacity-win-r10f77bc-2.1.3-alpha-29-jun-16
Tests ok on Mac El Capitan on r145a54d 05Jul16
I also tested on Mac closing the Help dialogue with ESC and red window close button. On Linux closing the "real" Help dialogue with ESC or Close button leaves focus in Contrast as intended.