Apache OpenOffice (AOO) Bugzilla – Issue 80240
Testtool: Allow accessing menuentries by ID instead of index
Last modified: 2017-05-20 10:48:01 UTC
With the extensions becoming more important now we need a new way of accessing menu entries.. Extensions might change the number and order of items presented in context menus effectively breaking our current methods to access items by their index (position in the menu). Please develop a solution that would allow us to access the items. Please make sure that: a) The solution actually opens the menu (this is a test itself) b) The ID is unique for a menu and it does not matter where in the menu the entry is c) Use speaking names for the items Nice to have (might be implemented later, but should be provided at some point): d) If possible provide the means to retrieve the index (integer) of a selected menuitem e.g. something like: contextmenu.copy.getIndex() e) Get the id (string) of the selected menuitem f) Get the name of the selected menuitem g) If possible allow to get a boolean value for "Menuitem has icon" h) If the entry has a checkbox, allow to retrieve the state For the "Nice to have" we can write another Issue with lower priority if need be. However, as there is work to be done on the menus anyway it might be suitable to implement these features in one go with the others.
moved to 3.0
set target to 3.1
die to lack of time -> 3.2
Target -> 3.3
OOo 3.3 is nearly final. Therefore I change the target of this issue to OOo 3.x.
now changed the target ;-(
Reset assigne to the default "issues@openoffice.apache.org".