Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 366931

Summary: MacOS application specific menu is not accessable via Jubula's select menubar item
Product: [Technology] Jubula Reporter: Lars Heinemann <lhein.smx>
Component: RCAssignee: Project Inbox <jubula.rc-inbox>
Status: CLOSED WONTFIX QA Contact: Oliver Goetz <Oliver.Goetz>
Severity: major    
Priority: P3 CC: alexandra.schladebeck, Felix.Ziesel
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Lars Heinemann CLA 2011-12-16 06:31:42 EST
Build Identifier: 

You can not access the Mac OS application specific menu and therefor you have no access to the About dialog, the Preferences dialog and the Quit menuitem.

for full discussion see http://www.eclipse.org/forums/index.php/t/267008/

Reproducible: Always
Comment 1 Alexandra Schladebeck CLA 2012-02-17 08:48:14 EST
As the menu is a native menu, I don't know that there is much we can do here. I tried (successfully) one possible workaround on our Mac with Jubula as an AUT, which involved pressing ctrl+F2 to focus on the menu, then right and down arrows followed by enter to select the required menu. It's not incredibly pretty, but you could make modules to select the things you require and reuse them to avoid adding the same key presses individually each time. 

Are you aware of any SWT implementation which would allow an OS-specific access to these menus? If so, we could certainly envisage supporting the menu. If SWT doesn't provide an API to access the application menu, then perhaps a bug report for SWT would be helpful as we rely on the SWT API for our actions and AUT access. 

If SWT adds an API for this, then we can reconsider it. Until then I'm going to close the report as wontfix.
Comment 2 Oliver Goetz CLA 2012-02-20 06:19:25 EST
As a workaround you can try to access the menu via ub_app_pressAnyKeyCombination_CTRL [BASE_KEY] and navigate through the menu by using ub_app_pressAnyKey_DOWN, UP and ENTER.
Comment 3 Oliver Goetz CLA 2012-02-20 06:20:03 EST
(In reply to comment #2)
> As a workaround you can try to access the menu via
> ub_app_pressAnyKeyCombination_CTRL [BASE_KEY] and navigate through the menu by
> using ub_app_pressAnyKey_DOWN, UP and ENTER.

Use F2 as base key with CTRL.