修訂 | 9dee70e570457c36117eb1ad9390178e6a947b99 (tree) |
---|---|
時間 | 2013-11-28 12:12:25 |
作者 | Michael Curran <mick@nvac...> |
Commiter | James Teh |
Freedom Scientific braille display driver: if the driver cannot be initialized with any of the ports, make sure to clean up our message window and its window class. this this is not done, subsiquent successful initializations will fail to get braille display input as the message window could not be properly registered. Re #3662 Re #3401
@@ -174,6 +174,8 @@ class BrailleDisplayDriver(braille.BrailleDisplayDriver,ScriptableObject): | ||
174 | 174 | if fbHandle!=-1: |
175 | 175 | break |
176 | 176 | if fbHandle==-1: |
177 | + windll.user32.DestroyWindow(self._messageWindow) | |
178 | + windll.user32.UnregisterClassW(self._messageWindowClassAtom,appInstance) | |
177 | 179 | raise RuntimeError("No display found") |
178 | 180 | self.fbHandle=fbHandle |
179 | 181 | self._configureDisplay() |
@@ -37,6 +37,7 @@ | ||
37 | 37 | - Fixed an issue where the HumanWare Brailliant BI/B series braille display driver wasn't presented as an option in the Braille Settings dialog on some systems, even though such a display was connected via USB. |
38 | 38 | - NVDA no longer fails to switch to screen review when the navigator object has no actual screen location. In this case the review cursor is now placed at the top of the screen. (#3454) |
39 | 39 | - Fixed an issue which caused the Freedom Scientific braille display driver to fail when the port was set to USB in some circumstances. (#3509, #3662) |
40 | +- Fixed an issue where keys on Freedom Scientific braille displays weren't detected in some circumstances. (#3401, #3662) | |
40 | 41 | |
41 | 42 | |
42 | 43 | == Changes for Developers == |