Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#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)

josm-bug.jpg (384.2 KB ) - added by notizblock 15 years ago.
screenshot

Download all attachments as: .zip

Change History (18)

comment:1 by bastiK, 15 years ago

Resolution: othersoftware
Status: newclosed

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

comment:2 by notizblock, 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:3 by bastiK, 15 years ago

Can you provide a screenshot?

in reply to:  3 comment:4 by notizblock, 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

by notizblock, 15 years ago

Attachment: josm-bug.jpg added

screenshot

comment:5 by bastiK, 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.)

in reply to:  5 comment:6 by notizblock, 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 bastiK, 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:8 by anonymous, 15 years ago

ok, thx for your help. i hope i can come up with a patch…

comment:9 by notizblock, 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:10 by bastiK, 15 years ago

Not that strange since fullscreen has be reworked in between.

comment:11 by arthur.lutz@…, 15 years ago

I'm affected by this bug too. Can do testing if needed.

comment:12 by bastiK, 15 years ago

Google "awesome window manager java" and try out what people are suggesting.

comment:13 by arthur.lutz@…, 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 anonymous, 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.

in reply to:  13 comment:15 by bastiK, 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 bastiK, 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.

comment:17 by bastiK, 15 years ago

Also check if you are using Sun/Oracle Java or OpenJDK.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.