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
Java application gets frequently blank windows #709
Comments
[Original comment by lemaire.adrien@…] log file is 6.8M . Will start another session while running immediately urxvt, I suspect it to help the bug coming sooner. Will upload the log file afterwards |
[Original comment by lemaire.adrien@…] Bug always occur after some time with default conf, but log file is too big at this time. I attach my custom conf as well in case |
[Original comment by quark@…] I also encounter this bug sometimes (randomly) in TopCoder Arena Java swing applet. If the window is enlarged, partial content is shown as attchments i3-swing-* shown. |
[Original comment by dakra-i3wm@…] I have the same problem (i3 version: 4.2 (2012-04-25, branch "release-4.2") and (oracle) java version "1.6.0_32"). |
[Original comment by Klaas Boesche <klaas-dev@…>] I have this bug too. Happens in floating as well as tiled windows. Seems to be random and reopening the window sometimes/rarely leads to it being shown correctly. |
[Original comment by Klaas Boesche <klaas-dev@…>] The right search terms help a lot when googling: http://bababadalgharaghtakamminarronnkonnbro.blogspot.de/2012/07/topcoder-arena-resizing-bug-in.html |
Replying to comment 6 by Klaas Boesche <klaas-dev@…>:
|
[Original comment by Anders Aagaard <aagaande@…>] I run into this issue with intellij quite often. |
[Original comment by xeen] workaround: restarting i3 in place (usually $mod+shift+r) renders the windows correctly for me. Most of the time this is easier than having to deal with the unreadable windows. |
[Original comment by matt.garriott@…] I'm experiencing the same issue with a swing app called tinyuml https://aur.archlinux.org/packages/tinyuml/ My System: Please let me know if I can provide any additional information. |
[Original comment by matt.garriott@…] Looks like I may have jumped the gun a bit. I am able to cause the same rendering error while running openbox, so unless i3 and openbox share a common problem it is probably safe to disregard my previous comment. Sorry about the false alarm. |
[Original comment by daniel@…] After some debugging and experimenting i think i found out whats causing the problem. When you look closely at a window (like attachment:cgoban_window_not_drawn.png) that's not painted you can notice a 10x10 pixel square (top left in the window) that actually shows the content that should be there. In x.c, method
you find the following lines of code
Pay attention to the TODO in the method header and the initial size windows are created (10x10 pixel) initially. It seems like there is some race condition in the JVM that sometimes fail to handle windows that get created with a geometry that doesn't match the requested size. Changing the code to
solves the problem. At least for all windows that are smaller than 2000x2000 pixel. After making that change, the code posted in #934 (comment:3:#934) always renders the popup. No random grey windows anymore. |
[Original comment by xeen] I’ve been using the proposed workaround for about a month now and can’t remember seeing any blank windows. |
[Original comment by robert] I still get the issue with the proposed workaround. For me, changing need_reparent = true in x_con_init seems to fix the issue. At least in intellij and the dialog popup test from #934. |
[Original comment by daniel@…] Replying to comment 14 by robert:
can you post some snippet of code to clarify what you have changed in your code, i'm not quite sure what you changed and would like to experiment a bit. |
[Original comment by robert] Replying to comment 15 by daniel@…:
Yes, it differs a bit from 4.5.1 tag to master branch. My change in 4.5.1 tag, you can compare this to master branch where the diff would be different.
|
This ticket was fixed in commit http://c.i3wm.org/0c7a76c2:
|
[Originally reported by lemaire.adrien@…]
(Problem with a java application. Will fail rendering after some time, while running with chromium and urxvt+tmux
The text was updated successfully, but these errors were encountered: