OSDN Git Service

BrailleDisplayDriver.terminate: Many displays require that the sequence of cells...
authorJames Teh <jamie@jantrid.net>
Tue, 8 Feb 2011 05:42:04 +0000 (15:42 +1000)
committerJames Teh <jamie@jantrid.net>
Tue, 8 Feb 2011 05:42:04 +0000 (15:42 +1000)
source/braille.py
user_docs/en/changes.t2t

index 2d21706..eb94f61 100644 (file)
@@ -936,7 +936,7 @@ class BrailleDisplayDriver(baseObject.AutoPropertyObject):
                """\r
                # Clear the display.\r
                try:\r
-                       self.display([])\r
+                       self.display([0] * self.numCells)\r
                except:\r
                        # The display driver seems to be failing, but we're terminating anyway, so just ignore it.\r
                        pass\r
index 61dcfa3..a27ea0a 100644 (file)
@@ -69,6 +69,7 @@ Highlights of this release include automatic reporting of new text output in mIR
 - NVDA no longer completely fails to work in applications which contain non-ASCII characters in their executable name. (#1352)\r
 - When reading by line in AkelPad with word wrap enabled, NVDA no longer reads the first character of the following line at the end of the current line.\r
 - In the Visual Studio 2005/2008 code editor, NVDA no longer reads the entire text after every typed character. (#975)\r
+- Fixed the issue where some braille displays weren't cleared properly when NVDA was exited or the display was changed.\r
 \r
 \r
 == Changes for Developers ==\r