Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Log what is being displayed on the braille display. #2102
Reported by orcauser on 2012-02-13 15:24
This would be similar to the information logged in speak() (speech.py:421)
If we also log the braille being displayed on the display using unicode braille, it will allow us
Comment 2 by jteh on 2012-02-13 22:13
We generate the text for the entire braille buffer (which may span several display widths) and then translate it directly into dots (not computer braille). This makes it unrealistic to retrieve the text or computer braille for just the window being displayed.
So, we can log three things:
Comment 3 by ragb (in reply to comment 2) on 2012-02-14 00:46
I've been using something similar to number one since I was only interessted in text that is converted to braille, not in the dots themselvs or braille window. However beeing abble to log "wht the user sees" might be important on some situations (i.g. scrolling and braille table testing). Logging only translated dots window (number 3) makes things difficult for debugging; I think that for a readable log the untranslated buffer must be logged before the translated dots window.
My suggestion is so 1 + 3. If translated and displayed dots make the log file very verbose a custom log level might be considered. The format of translated dots in the log file is also something to have in mind: either hex or dots naming (i.g. 1345 1234 145 1 for NVDA) work for me.
Comment 4 by jteh on 2012-02-14 02:16