#5518 closed defect (othersoftware)
dialog boxes don't go away after switching to virtual screen within awesome wm
| Reported by: | notizblock | Owned by: | team |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | Cc: |
Description
i use awesome as my windowmanager and it is configured to have 9 virtual screens.
josm works as long as the virtual screens are not switched.
steps to reproduce:
-josm is started at some screen (eg 8)
-josm works (dialog boxes disappaer after clicking eg "ok" or "abort") - normal behaviour
-switch to anothen virtual scree (eg 6, look at the map features)
-switch back to josm (screen 8)
-all dialog boxes are painted again but are not active.
fix:
restart josm and don't switch screens.
version: 3514
Attachments (1)
Change History (18)
comment:1 by , 15 years ago
| Resolution: | → othersoftware |
|---|---|
| Status: | new → closed |
comment:2 by , 15 years ago
i do not believe that this is a java bug. Other java apps work without any problems (eg. jdownloader).
not switching the screens is difficult if i want to look up stuff on the internet…
if i can provide additional information to nail down the bug, let me know.
comment:4 by , 15 years ago
of course:
http://tinypic.com/view.php?pic=28hgbxh&s=7
steps to reproduce:
-load gpx
-get data from osm-server
-changed 2 attributes
-switch to another virtual screen
-switch back to josm
follow-up: 6 comment:5 by , 15 years ago
do the windows look the same, as they were before? (Window decoration,...)
what do you mean by "not active" can you use them? can you close them?
Try to just open a file, does it show the progress window after switching?
Also try non modal windows (e.g. Relation dialog)
If you are developer you can play with FullscreenToggleAction.java and debug the properties of the windows in line 82. (The windows still exist, this is normal. But isVisible() should be false.)
comment:6 by , 15 years ago
Replying to bastiK:
do the windows look the same, as they were before? (Window decoration,...)
yes, everything looks the same, except that every message box that was opened before the screen-switch is being displayed again.
what do you mean by "not active" can you use them? can you close them?
not active means that the buttons on the message boxes do not respond to clicks. However, i can move the boxes out of the middle of the screen. i can not close them. The main window is still responsive...
Try to just open a file, does it show the progress window after switching?
i opened just a gpx file and switched the screen: everything normal; the progress dialog was not displayed.
Also try non modal windows (e.g. Relation dialog)
same as with gpx file: everything normal; the progress dialog was not displayed.
If you are developer you can play with FullscreenToggleAction.java and debug the properties of the windows in line 82. (The windows still exist, this is normal. But isVisible() should be false.)
hmm, eventually i will use my mouldy java skills to look into it.
comment:7 by , 15 years ago
from what you say i understand that some windows come back as zombies and others remain invisible? Then it should be straightforward to debug as you "just" have to find out what's the difference.
Please understand that we have limited development resources, so a patch would be appreciated.
comment:9 by , 15 years ago
i noticed something really strange during testing:
if i build current svn and i toggle fullscreen via f11 the zombie message boxes disappear.
I then tried the same with version 3514 but the message boxes do not dissapear...
maybe this is helpful.
comment:12 by , 15 years ago
Google "awesome window manager java" and try out what people are suggesting.
follow-up: 15 comment:13 by , 15 years ago
@bastiK : I already have a hack to make java work (otherwise you get a grey window and no functionnality at all). I use :
export _JAVA_AWT_WM_NONREPARENTING=1
wmname LG3D
Are you suggesting that a different "hack" would solve this bug ?
comment:14 by , 15 years ago
i tried all of the steps from https://awesome.naquadah.org/wiki/Problems_with_Java and i am experiencing the same problems.
comment:15 by , 15 years ago
Replying to arthur.lutz@…:
@bastiK : I already have a hack to make java work (otherwise you get a grey window and no functionnality at all). I use :
export _JAVA_AWT_WM_NONREPARENTING=1
wmname LG3D
Are you suggesting that a different "hack" would solve this bug ?
No, I just thought there should be a solution out there, as JOSM isn't the only Java application. As far as I know, we aren't doing anything special regarding dialog windows.
comment:16 by , 15 years ago
I tried with awesome v3.3.4 and JOSM r4081, but can not reproduce the effects described by notizblock. I opened and closed several different windows and switching virtual screens does not bring them back.



probably a java bug. You can look for workarounds or not switch the screen...