[Bug 1400] New: Menu of maximized AWT window not working in GNOME Shell

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Wed Apr 17 04:34:28 PDT 2013


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1400

            Bug ID: 1400
           Summary: Menu of maximized AWT window not working in GNOME
                    Shell
    Classification: Unclassified
           Product: IcedTea
           Version: 8-hg
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: IcedTea
          Assignee: gnu.andrew at redhat.com
          Reporter: robin at nibor.org
                CC: unassigned at icedtea.classpath.org

How to reproduce:

1. Start a Swing application (e.g. jEdit) under GNOME Shell
2. Open a window with a menu bar
3. Maximize the window
4. Try to use the menu

Expected: Menu is usable
Actual: When single-clicking, the menu closes immediately. When dragging, the
entries can not activated.

What is interesting is that when the window is moved to the top left corner
before maximizing it, the menu works. So it seems the menu position of the
pre-maximized states is used.


The problem seems to be the switch on line 753 here on the WM Name/ID:

http://hg.openjdk.java.net/jdk8/awt/jdk/file/dcdf8cd4b09e/src/solaris/classes/sun/awt/X11/XDecoratedPeer.java

GNOME Shell uses "GNOME Shell" nowadays, not "Mutter" and so the code is not
executed. Either the switch should also include "GNOME Shell" or it should be
done for all cases as mentioned in the TODO above the switch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20130417/dbc29adf/attachment.html 


More information about the distro-pkg-dev mailing list