Incorrect mouse position in docked Java apps' context menu

Bug #1144228 reported by Trung Ngô
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Gala
Fix Released
Medium
Raphael Isemann

Bug Description

Step to reproduce:

- Open BlueJ (http://www.bluej.org/)
- Right click in the main window, hover the mouse above that menu context
- Now dock the window to the left/right side of the screen
- Open the same context menu
- Hover the mouse again on that menu context

I attached a screencast showing the problem.

Related branches

Revision history for this message
Trung Ngô (ndtrung4419) wrote :
Revision history for this message
Christophe Bastin (ozzmos) wrote :

I've got the same problem with Pycharm IDE running OpenJDK 1.6 (6b27)
The issue seems relative to the JAVA JDK and Windows Manager name configuration.

SUN has fixed the problem by introducing Mutter as WM_NAME
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7043963

The problem still remains here because WM_NAME is Gala.
The problem is fixed in Linux Mint.
https://github.com/linuxmint/Cinnamon/issues/328
They change the WN_NAME from Muffin to Mutter(Muffin)
https://github.com/linuxmint/muffin/pull/11/files

Maybe we should consider to rename it ?

Revision history for this message
Christophe Bastin (ozzmos) wrote :

I just found a workaround by changing WM_NAME with wmname command.

Install the package suckless-tools :
sudo apt-get install suckless-tools

then use the command:
wmname Mutter

Launch you Java App.

Unfortunately it has to be done each time you restart Elementary.

Revision history for this message
Raphael Isemann (teemperor) wrote :

#3 You should be able to set the command under Settings -> Startup programs to run after every boot.

Changed in gala:
status: New → Confirmed
Changed in gala:
status: Confirmed → In Progress
assignee: nobody → Raphael Isemann (teemperor)
importance: Undecided → Medium
Cody Garver (codygarver)
Changed in gala:
milestone: none → luna-rc1
Cody Garver (codygarver)
Changed in gala:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.