← Back to team overview

openjdk team mailing list archive

[Bug 777425] Re: Menus unusable with gnome3 when windows maximised

 

Launchpad has imported 3 comments from the remote bug at
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1400.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2013-04-17T11:34:28+00:00 Robin Stocker wrote:

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.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/777425/comments/12

------------------------------------------------------------------------
On 2013-04-17T13:13:23+00:00 Torkildj wrote:

MATE desktop suffers from same problem. Please include that in the fix

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/777425/comments/14

------------------------------------------------------------------------
On 2013-04-17T15:44:05+00:00 Robin Stocker wrote:

The menus opened by combo boxes have the same problem, not sure if it's
caused by the same code.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/777425/comments/15


** Changed in: icedtea
       Status: Unknown => Confirmed

** Changed in: icedtea
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-7 in Ubuntu.
https://bugs.launchpad.net/bugs/777425

Title:
  Menus unusable with gnome3 when windows maximised

Status in GNOME Shell:
  Incomplete
Status in Iced Tea:
  Confirmed
Status in “openjdk-7” package in Ubuntu:
  Confirmed

Bug description:
  When using java applications on natty such as netbeans or arduino and
  openjdk in combination with gnome3/gnome-shell from the official ppa
  if a window is maximized the main menus are unusable.

  - when you click on a menu, it disappears as soon as you release the
  mouse button.

  - when holding the mouse button and drawing along the menu (from File to
  Edit for instance), nothing happens (the File menu remains opened the
  Edit menu is not visible).

  - when dragging further on the right, the Edit menu is finally
  displayed, but the mouse is on the Refactor menu

  - It is almost impossible to select an item in the menu and when it
  finally works, you cannot select a sub-menu item

  This problem is not resolved consistently by using sun-jre.

  I am using the latest openjdk package 6b22-1.10.1-0ubuntu1 in a clean
  install of 11.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell/+bug/777425/+subscriptions


References