#5050 add option for speech viewer on startup#6197
Conversation
This is a boolean field `showSpeechViewerAtStartup` in the general section of the configuration file.
- Change in gui MainFrame Destroy. This avoids a race condition that
causes an error on exit of NVDA.
- The error raised: PyDeadObjectError: The C++ part of the
SpeechViewerFrame object has been deleted, attribute access no
longer allowed.
- Added a checkbox to the speechViewer (consistent with the
welcomeDialog) to toggle launching on startup.
- focus is set to the checkbox so that output to the speechViewer can
start immediatly. The textCtrl was being considered to have focus
even when another window was in focus.
- Changed the speechViewer window to a dialog, in order to fix
navigation issues:
- Now able to alt + tab to the dialog in Windows 10.
- Now able to tab to the checkbox
| log.debug("Initializing GUI") | ||
| import gui | ||
| gui.initialize() | ||
|
|
There was a problem hiding this comment.
This is the only unix style line ending in the file. Replaced with a windows style line ending.
|
@michaelDCurran When you have a chance could you please take a look at this? |
| #possible log levels are DEBUG, IO, DEBUGWARNING, INFO | ||
| loggingLevel = string(default="INFO") | ||
| showWelcomeDialogAtStartup = boolean(default=true) | ||
| showSpeechViewerAtStartup = boolean(default=false) |
There was a problem hiding this comment.
Perhaps move this option into a separate speechViewer section, as we are planning to also save position information as well.
There was a problem hiding this comment.
What about a sub-section under general?
On 7/21/2016 9:54 PM, Michael Curran wrote:
In source/config/init.py
#6197 (comment):@@ -65,6 +65,7 @@ def validateConfig(configObj,validator,validationResult=None,keyList=None):
#possible log levels are DEBUG, IO, DEBUGWARNING, INFO
loggingLevel = string(default="INFO")
showWelcomeDialogAtStartup = boolean(default=true)
- showSpeechViewerAtStartup = boolean(default=false)
Perhaps move this option into a separate speechViewer section, as we
are planning to also save position information as well.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/nvaccess/nvda/pull/6197/files/0581ada05316383e7903e30dffc09f1256d9a3ce#r71823659,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFGivVg07p9-WQGZPgeeSQLugNHBj2EOks5qYD7ggaJpZM4JRhJV.
Derek Riemer
- Department of computer science, third year undergraduate student.
- Proud user of the NVDA screen reader.
- Open source enthusiast.
- Member of Bridge Cu
- Avid skiier.
Websites:
Honors portfolio http://derekriemer.com
Awesome little hand built weather app!
http://django.derekriemer.com/weather/
email me at derek.riemer@colorado.edu mailto:derek.riemer@colorado.edu
Phone: (303) 906-2194
| audioCoordinates_maxPitch = integer(default=880) | ||
| reportMouseShapeChanges = boolean(default=false) | ||
|
|
||
| [speechView] |
There was a problem hiding this comment.
Please rename [speechView] to [speechViewer].
changed config section from "speechView" to "speechViewer"
|
Looks fine to me. |
…peechViewerOnStartup Conflicts: source/speechViewer.py
An option to open the speech viewer window on startup has been added. (#5050)
Partially resolves #5050 (showing speech viewer at startup)
Added a config option to show the speechviewer on startup
This is a boolean field
showSpeechViewerAtStartupin the general section of the configuration file.Add GUI to toggle speech viewer opens on startup.
welcomeDialog) to toggle launching on startup.
start immediatly. The textCtrl was being considered to have focus
even when another window was in focus.
navigation issues: