Java Swing applications do not work with appmenu
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppMenu GTK+ |
Confirmed
|
Wishlist
|
Unassigned | ||
DBus Menu |
Confirmed
|
Wishlist
|
Unassigned | ||
libdbusmenu (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Bug #618587 tracks integration of appmenu with SWT, but there appears to be nothing filed about integration with javax.swing.
Expected (at least ideal) behavior: when running Unity and giving focus to a JFrame with a JMenuBar, the menu bar is not displayed inside the frame, but corresponding menus are displayed in the global Unity menu.
Actual behavior on 11.10: the menu bar is displayed inside the frame, and appmenu is empty.
For comparison, the Mac OS X JRE automatically displays Swing menus in the native location. libjava-gnome-java is perhaps the place to put in such a fix; assuming the JRE itself is not modified, an application wishing to take advantage of the fix would probably need to try to load /usr/share/
Changed in dbusmenu: | |
status: | New → Confirmed |
Changed in libdbusmenu (Ubuntu): | |
status: | New → Confirmed |
Changed in dbusmenu: | |
importance: | Undecided → Wishlist |
Changed in libdbusmenu (Ubuntu): | |
importance: | Undecided → Wishlist |
Changed in appmenu-gtk: | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
Jetbrains IDE's are Swing applications. Here's a related issue for this ticket: http:// youtrack. jetbrains. com/issue/ IDEA-69424
I've also added a screenshot of how menu's currently look in Ubuntu 12.04 (barely readable).