Public bug reported:

Bug #618587 tracks integration of appmenu with SWT, but there appears to
be nothing filed about integration with javax.swing.JMenuBar (mentioned
at the bottom of bug #659931).

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/java/gtk.jar and (if present) call a simple "register"
method.

** Affects: libdbusmenu (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/984916

Title:
  Java Swing applications do not work with appmenu

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libdbusmenu/+bug/984916/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to