After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 483018 - We should remove (or redefine) the orca speech change hotkeys
We should remove (or redefine) the orca speech change hotkeys
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: speech
2.21.x
Other All
: Normal enhancement
: ---
Assigned To: Rich Burridge
Orca Maintainers
Depends on:
Blocks: 483023
 
 
Reported: 2007-10-03 17:25 UTC by Mike Pedersen
Modified: 2007-10-12 15:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Version 1 (3.05 KB, patch)
2007-10-05 14:12 UTC, Rich Burridge
needs-work Details | Review
Version 2. (12.22 KB, patch)
2007-10-05 14:15 UTC, Rich Burridge
none Details | Review
Revised version of Version 1 patch per comment #8 (1.81 KB, patch)
2007-10-10 19:59 UTC, Rich Burridge
committed Details | Review

Description Mike Pedersen 2007-10-03 17:25:42 UTC
We should remove the hotkeys for changing the speech rate and pitch.  This is necessary to make it possible to use these keys for application specific functionality.  If the community requests it we can put the speech change feature on other less common key strokes.
Comment 1 Rich Burridge 2007-10-05 14:12:55 UTC
Created attachment 96702 [details] [review]
Version 1

This patch just removes the hot-key definitions for these for functions.
I believe this is all we need but ...
Comment 2 Rich Burridge 2007-10-05 14:15:44 UTC
Created attachment 96703 [details] [review]
Version 2.

This version removes the four hot-key definitions plus all the
underlying methods to do this functionality. I suspect we want
to keep them so that they can be maybe be remapped to other keys.

Just generating both versions for completeness.

Will, Mike, tell me which one to obsolete.

Thanks.
Comment 3 Willie Walker 2007-10-05 14:33:32 UTC
Rich, I think we want to leave the underlying functionality in, but remove or redefine the keys used to adjust the given speech parameters from the keyboard.  

Mike needs to work with the community on whether we should remove the keystrokes altogether or just redefine them.  Until a conclusion is reached there, I think we need to hold off on this bug.
Comment 4 Rich Burridge 2007-10-05 14:43:13 UTC
Then it's version #1 you want. I'll obsolete the other one.
Note that Mike opened a second bug to redefine those keys.

This bug is now ready for others to test.

Thanks.
Comment 5 Willie Walker 2007-10-05 15:46:28 UTC
I'm retitling the summary of this bug to reflect that the decision to remove or redefine the keys to modify speech parameters has not been made.  That is, bug 483023 deals with wanting to use the current keys for something else, and we need to decide whether or not we want to define new keys for adjusting speech parameters.
Comment 6 Mike Pedersen 2007-10-05 15:57:34 UTC
Yep this is what we need for this one.  
Comment 7 Mike Pedersen 2007-10-05 15:59:10 UTC
Sorry I didn't read all the comments.  Please obsolete the second one.  
Comment 8 Willie Walker 2007-10-10 19:28:27 UTC
For this one, we just want to remove the keys, but leave the handlers in there.  So, just this portion of the patch:

         keyBindings.add(
             keybindings.KeyBinding(
-                "Left",
-                1 << settings.MODIFIER_ORCA,
-                1 << settings.MODIFIER_ORCA,
-                self.inputEventHandlers["decreaseSpeechRateHandler"]))
-
-        keyBindings.add(
-            keybindings.KeyBinding(
-                "Right",
-                1 << settings.MODIFIER_ORCA,
-                1 << settings.MODIFIER_ORCA,
-                self.inputEventHandlers["increaseSpeechRateHandler"]))
-
-        keyBindings.add(
-            keybindings.KeyBinding(
-                "Down",
-                1 << settings.MODIFIER_ORCA,
-                1 << settings.MODIFIER_ORCA,
-                self.inputEventHandlers["decreaseSpeechPitchHandler"]))
-
-        keyBindings.add(
-            keybindings.KeyBinding(
-                "Up",
-                1 << settings.MODIFIER_ORCA,
-                1 << settings.MODIFIER_ORCA,
-                self.inputEventHandlers["increaseSpeechPitchHandler"]))
-
-        keyBindings.add(
-            keybindings.KeyBinding(
                 "q",
                 1 << settings.MODIFIER_ORCA,
                 1 << settings.MODIFIER_ORCA,

We want to leave the input event handler definitions in there so that users can bind to them if they want to.  The work for bug 481488 will be the thing that helps them to do this.
Comment 9 Rich Burridge 2007-10-10 19:59:36 UTC
Created attachment 97024 [details] [review]
Revised version of Version 1 patch per comment #8
Comment 10 Rich Burridge 2007-10-10 20:00:16 UTC
Latest patch checked into SVN trunk. Setting to "[pending]".
Comment 11 Mike Pedersen 2007-10-12 15:17:35 UTC
Looks good to me.
Comment 12 Rich Burridge 2007-10-12 15:40:50 UTC
Thanks. Closing as FIXED.