Cannot access menus using the keyboard in Java swing applications with jayatana

Bug #1415287 reported by Rocko
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
jayatana (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

WIth jayatana installed and locally-integrated menus turned on, when I run a swing application (eg) netbeans and hold the ALT key down so that the menu is displayed across the titlebar, if I press another key (eg the F key) I expect the matching menu to drop down (eg in this case the File menu).

What actually happens is nothing - the menu does not drop down. This means that in Ubuntu 15.04, I cannot select the menu at all using the keyboard - I have to use the mouse.

A workaround is to uninstall jayatana (and restart the session, or you can't run any swing apps), but of course you don't get the locally-integrated-menus anymore for swing applications.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: jayatana 2.7-0ubuntu3
Uname: Linux 3.18.3-031803-generic x86_64
ApportVersion: 2.15.1-0ubuntu4
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Jan 28 10:14:51 2015
InstallationDate: Installed on 2014-11-26 (62 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
SourcePackage: jayatana
UpgradeStatus: Upgraded to vivid on 2015-01-20 (7 days ago)

Revision history for this message
Rocko (rockorequin) wrote :
Revision history for this message
Bruno Nova (brunonova) wrote :

I've just received an update from Jayatana's PPA that fixes this (in Trusty).

The update is not yet available in the official Ubuntu repositories, so do not mark the issue as fixed yet!
Don't know when the update will be available there.

Revision history for this message
Simone Bordet (simone-bordet) wrote :

Vanilla Ubuntu 15.04 for me, and I have the same issue, mnemonics for Swing apps do not work (e.g. JConsole, JVisualVM, IntelliJ, etc.), while they work for SWT apps (e.g. Eclipse RCP apps).

The mnemonics (the underscore below the letter to press to make the menu popup to appear) are not displayed in the menubar, and trying to press the key combination by memory (e.g. Alt+F to open the File menu) does not work either, as was originally reported.

Removing jayatana and rebooting solves the issue of the mnemonics, but of course you lose the integration.

Also, it is very, *very* annoying that using jayatana prints out in the console "Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar".

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in jayatana (Ubuntu):
status: New → Confirmed
Changed in jayatana (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Illia Sernikov (illia.sernikov) wrote :

Hello Guys,
I installed from PPA's the latest version and the bug is steel reproduced.

Please, fix it because calling menu's is really annoying.

DistroRelease: Ubuntu 14.04
Package: jayatana 2.8~trusty-1
Uname: Linux 3.19.0-20-generic x86_64
Architecture: amd64
CurrentDesktop: Unity

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.