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:
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.
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/XDecoratedP eer.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.