GNOME Bugzilla – Bug 153409
Windows press event is not sent to speech engine.
Last modified: 2005-03-07 13:58:30 UTC
Installed cinnabar_18 on intel HP P4 machine. Case:1 1. Run Gnopernicus,enabl accessibility,logout and login again. 2. Start gnopernicus,wait for the speech to start. 3. Check the checkbox, 'All modifiers' in gnopernicus speech preferences window. 4. Press the windows key. Observation:The key is not read. Case:2 1. Press the Num Lock Key 2. Now press any key modifier such as 'Ctrl','Shift', etc. Observation: The key press events are not sent to speech engine. Expected: All key press events are required to be sent to speech engine.
'Windows' key is not a modifier, so I think it shouldn't be presented by gnopernicus if 'Say all modifiers' is checked. A compromise might be to present this key with 'Say all navigation keys' checked. Bill, Peter, others? Comments?
Apologies for spam-- ensuring Sun a11y team are cc'ed on all current a11y bugs. Filter on "SUN A11Y SPAM" to ignore.
Created attachment 37498 [details] [review] Proposed patch The "Window" key is added to be spoken
yes, the window key is actually a modifier on most systems. While you're at it, why not present 'Hyper' as well?
Probably it should be also present in at-spi/atk list of modifiers since 'window key is actually a modifier on most systems'.
It is sent from at-spi, but as a MOD key. There is no fixed mapping from MODMASK bits to Hyper, you have to query XKB to get that information. So you (gnopernicus) are getting notification from Hyper just as you are for Super. Please add the 'Hyper' logic to the patch so that 'Menu' gets spoken. Thanks!
Can you tell me, please, where is the location of 'Menu' key on the keyboard? Because I'm not sure that 'Hyper' is the wanted key.
The location depends on the keyboard, of course ;-) and also on the keymap in use. I believe the keysyms of interest are XK_Hyper_L and XK_Hyper_R. Note that there is anecdotal evidence that our XOrg keymaps may have these keys 'backwards' i.e. Hyper where Super should be and vice-versa. So if you are seeing wrong-looking info this may be the problem, please confirm if you see this problem so we can file a bug against XOrg.
Created attachment 37743 [details] [review] A new patch The 'Hyper' key is added. I couldn't find this key on my keyboard, so I can't tell you if there is a problem with 'Hyper' and 'Super' keys. I also added the 'Menu' key.
Comment on attachment 37743 [details] [review] A new patch please change 'window' to 'Window', 'menu' to 'Menu', so that we can reuse existing translated string. Otherwise patch is OK.
Created attachment 37766 [details] [review] A new patch Changes: 'window' to 'Window' and 'menu' to 'Menu'.
Comment on attachment 37766 [details] [review] A new patch Patch committed to head.