New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JOptionPane.showMessageDialog shows empty Windows #934
Comments
[Original comment by kha] I can confirm this. Additionally, when resizing the window, a rectangle in the upper left corner actually gets drawn - its size is exactly the resize delta (current window size minus original window size) (see attached screenshot). |
I can’t reproduce this. Can you attach a minimal java program which triggers this behavior and instructions on how to run it? |
[Original comment by nexys] I made a simple jar that spawns 30 messageDialogs to reproduce the error. Just run it with "java -jar messageDialog.jar" and it should randomly show empty windows. the source:
|
Thanks, with that example I can reproduce it, too. Unfortunately, there is no difference in the i3 logfiles for a working vs. non-working message dialog. |
[Original comment by Klaas Boesche <klaas-dev@…>] It seems to me that this is the same defect as #709. Back then I was under the misconception that i3 was non-reparenting, but Michael and the defect itself fixed that. |
I don’t know what changed, but I can no longer reproduce this. I downgraded the i3 version to the one from two months ago, so that shouldn’t be the cause. I am using openjdk-7-jre-headless 7u3-2.1.3-1 |
[Original comment by Klaas Boesche <klaas-dev@…>] I cannot reproduce this either with the given Example. However I can reproduce this using the Mars Mips Simulator from here: http://courses.missouristate.edu/kenvollmar/mars/download.htm / mars-mips in the AUR |
Replying to comment 7 by Klaas Boesche <klaas-dev@…>:
|
[Original comment by anonymous] i3 version 4.4-119-g23078f6 (2013-01-30, branch "next") |
I could reproduce the issue with messageDialogs.jar again, but it goes away when trying to use xtrace or strace. This heavily hints at a race condition of some sort. Anyway, I also looked at xtrace output and noticed that Java tries to send i3 a _NET_REQUEST_FRAME_EXTENTS ClientMessage, which we currently don’t support. After implementing it, things seem better, at least on my machine. Maybe it’s because Java uses a different code path now, maybe it just makes the race condition less likely (or go to a different set of machines). It seems like none of the niche window managers support this, while the major ones (e.g. GNOME’s mutter) do. Could you please try the attached patch and let me know if that works for you or not? |
This ticket was fixed in commit http://c.i3wm.org/0c7a76c2:
|
[Original comment by anonymous] I am on i3 4.8.1 and IntelliJ 13 is still not rendering modal windows properly, very similar to this ticket. Even worst because most of the time it is just gray panel. thanks |
[Original comment by TonyC] Make a new report with detailed steps to reproduce. |
[Originally reported by i3-new-ticket]
(Some Java Applications randomly show empty Message Dialogs. Setting wmname to LG3D does not help.
In my Application i just call JOptionPane.showMessageDialog
I use:
Oracle java 1.7.0_11 OpenJDK 1.7.0_03
The text was updated successfully, but these errors were encountered: