! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
java 1.7 focus/mouse events issues with modal/non modal dialogs


Description Bogdan Tanase 2013-04-01 09:40:00 CEST
Created attachment 4983 
sample java app that demonstrates the problem


Please run the attached sample:

java -jar xfwm4vsjava.jar

1) Click "Open non modal window" button

2) A new window should open. In this window none of the buttons are clickable. 

The window in the back seems to receive all the clicks, for example if the dialog si overlapping the main window, any click on the dialog it's received by the main window.

Weird things seem to happen with modal windows too, but I wasn't able to replicate it reliably. But if you play with it long enough you will see it happen.

These issues seem to be specific to Swing based applications. Eclipse (SWT base) seems to work fine.

Tested with OpenJDK 1.7.0_15 64bit and Oralc JDK 1.7.0_17 64-bit.

Java 1.6.x seems to work fine.

I've got another Linux system with Mate DE (Gnome based?) and it's also working fine there.

Let me know if there's anyhting else I can do to help with this.

Comment 1 Andrey Vihrov 2013-10-18 17:16:58 CEST
This may be a Java bug. I have opened a similar bug report here: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1532  Could you post the source of the sample application there? It could help in fixing the bug.
Comment 2 Andre Miranda editbugs 2016-04-13 02:18:15 CEST
I can't reproduce this bug with OpenJDK 1.7.0_99 nor 1.8.0_77 on Arch Linux.

Bug #9965

Reported by:
Bogdan Tanase
Reported on: 2013-04-01
Last modified on: 2020-05-26


Olivier Fourdan
CC List:
3 users




sample java app that demonstrates the problem (7.43 KB, application/x-java-archive)
2013-04-01 09:40 CEST , Bogdan Tanase
no flags

Additional information