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 345104 - Announce mnemonics
Announce mnemonics
Status: RESOLVED FIXED
Product: lsr
Classification: Deprecated
Component: user interface
0.2.x
Other Linux
: Normal normal
: 0.3.0
Assigned To: Peter Parente
LSR maintainers
Depends on:
Blocks:
 
 
Reported: 2006-06-16 14:30 UTC by Peter Parente
Modified: 2006-07-07 15:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Peter Parente 2006-06-16 14:30:09 UTC
Announce menu item, button, and other "trigger" mnemonics. Requires addition of getAccMnemonics to Task.Tools and some code for iterating over the Action interface in adapters. IAccessibleInfo should be extended with methods for getting all action names (getAccActionName), action descriptions (getAccActionDescription), total actions (getAccActionCount), and action key bindings (getAccActionKeys). IAccessibleAction should be extended to active one or more actions in sequence (doAccAction(*indices)).
Comment 1 Peter Parente 2006-06-19 12:43:58 UTC
Eirikur, only worry about implementing the adapter and Task.Tools methods for this feature. Once those are in place, we'll add the announcement as appropriate to the DefaultPerk.
Comment 2 Peter Parente 2006-07-06 13:51:32 UTC
Let's try to get this patch done by next Wednesday. Here's a more complete spec of the methods to be implemented:

getAccActionNames()
# returns names of all actions in the Action interface
# raises NotImplementedError if the Action interface isn't supported
# should be added to the default info adapter

getAccActionDescriptions()
# returns descriptions of all actions in the Action interface
# raises NotImplementedError if the Action interface isn't supported
# should be added to the default info adapter

getAccActionCount()
# returns the total number of actions available in the Action interface
# raises NotImplementedError if the Action interface isn't supported
# should be added to the default info adapter

getAccActionKeys()
# returns the key bindings of all actions in the Action interface
# multiple key bindings may be assigned to a single action and are returned by at-spi as strings like so: c;Alt-v:c;F11
# the string key binding for a single action should be split on the ; character and returned as a list (in other words, this method returns a list of lists)
# raises NotImplementedError if the Action interface isn't supported
# should be added to the default info adapter

doAccAction(*indices)
# performs all of the actions at the indices given in sequence using the Action interface
# raises NotImplementedError if the Action interface isn't supported
# should be added to the default action adapter
Comment 3 Peter Parente 2006-07-07 15:51:15 UTC
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.