Opened 2 years ago
Last modified 12 months ago
#5833 new defect
linux: startup main window too big (lays under panel)
| Reported by: | skyper | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Component: | Core |
| Version: | Keywords: | startup main window | |
| Cc: |
Description (last modified by pert)
I had this problem with several WMs and I forgot about it for a long time, because I was starting josm from a script with --maximize.
Attachments (1)
Change History (23)
comment:1 follow-up: ↓ 2 Changed 2 years ago by bastiK
comment:2 in reply to: ↑ 1 Changed 2 years ago by skyper
- Description modified (diff)
Replying to bastiK:
What do you mean by this: "lays under panel"? Screenshot?
The window goes into restricted space.
Have a look:
All the window decoration and its buttons are hidden.
comment:3 Changed 2 years ago by skyper
Seems to be a problem with some window-manager.
With an old gnome with metacity it works, but with lxde and openbox both debian squeeze, it does not work.
comment:4 Changed 2 years ago by skyper
On a Ubuntu 10.10 with xfce and xfwm4 it does not work.
r4160, openjdk
comment:5 Changed 18 months ago by stoecker
Ticket #7066 has been marked as a duplicate of this ticket.
comment:6 Changed 18 months ago by skyper
A workaround is to use "Alt+Mouse" to move the window.
comment:7 Changed 18 months ago by pert
- Description modified (diff)
I did not comment on #7066 because I did not get an email alert when the ticket was modified.
But the situation is much worse than described above. The window starts out maximized, but it is possible to
user window manger short cut keys to move and resize.
But that is only the beginning of the problems :-) Attempting to (say) open a file, the new window appears
but any mouse (well touchpad) clicks hide the window under the main window. The next click raises it again,
but it is not actually possible to enter data. This continues indefinitely.
If only the keyboard is used, it is possible with ingenuity to enter a valid file. The file appears to load (gpx)
but the main window shows a blank area.
So josm latest is completely broken under xfce4 and current debian testing. I have just been testing with version 4643.
ATM I can't maintain my areas of OSM :-(
ael
comment:8 Changed 18 months ago by bastiK
@ael: unrelated problems. Please clear preferences, reinstall java and try both Oracle and OpenJDK. If this doesn't help, open another ticket.
comment:9 follow-up: ↓ 10 Changed 18 months ago by pert
I had already tried clearing preferences (including backups), but I am puzzled because I have just tried again
with version 4644 and the problem vanished! Debian testing has just had a number of updates, but nothing that
looks directly relevant to josm.
Anyway, excellent news, and apologies if I had somehow failed to clear preferences before properly.
It looks as if this ticket can now be closed?
comment:10 in reply to: ↑ 9 ; follow-up: ↓ 11 Changed 18 months ago by bastiK
Replying to pert:
It looks as if this ticket can now be closed?
No, this ticket is about XFCE and window manager problems.
comment:11 in reply to: ↑ 10 Changed 18 months ago by skyper
Replying to bastiK:
No, this ticket is about XFCE and window manager problems.
Not just XFCE and xfwm but also LXDE and open-box. Have to check some other wms.
comment:12 Changed 17 months ago by skyper
I noticed that the lxpanel is used as dock (default in preferences) but changing seems not to change anything.
Not only JOSM but other programs (epdfview for example) have the same problem.
Test with GNU debian 6.03 (squeeze - stable):
OpenJDK Runtime Environment (IcedTea6 1.8.10) (6b18-1.8.10-0+squeeze2) OpenJDK Client VM (build 14.0-b16, mixed mode, sharing) lxpanel 0.5.6 Openbox 3.4.11.1
comment:13 follow-up: ↓ 14 Changed 15 months ago by skyper
- Keywords startup main added; too big removed
- Summary changed from linux: startup main window too big (lays under panel) to Regression: linux: startup main window too big (lays under panel)
comment:14 in reply to: ↑ 13 ; follow-up: ↓ 15 Changed 15 months ago by stoecker
- Summary changed from Regression: linux: startup main window too big (lays under panel) to linux: startup main window too big (lays under panel)
Replying to skyper:
This was working with r2874 and does not anymore with r2877.
Which is simply due to the fact, that maximize did not work properly before 2876.
What is this ticket about? When JOSM is maximized and the windowmanager does not exclude important areas from the screen size, than there is nothing we can do against this. JOSM cannot be used in maximized mode on these systems.
comment:15 in reply to: ↑ 14 ; follow-up: ↓ 16 Changed 15 months ago by bastiK
Replying to stoecker:
Replying to skyper:
This was working with r2874 and does not anymore with r2877.
Which is simply due to the fact, that maximize did not work properly before 2876.
What is this ticket about? When JOSM is maximized and the windowmanager does not exclude important areas from the screen size, than there is nothing we can do against this. JOSM cannot be used in maximized mode on these systems.
I think maximized is ok.
But JOSM starts in normal window mode, with a window size that equals the screen size. Java reports the full screen size including wm panel, so parts of the JOSM window gets hidden. A fix would be to change the default window size to e.g. 2/3 of the screen or start maximized.
comment:16 in reply to: ↑ 15 Changed 15 months ago by skyper
Replying to bastiK:
Replying to stoecker:
Replying to skyper:
This was working with r2874 and does not anymore with r2877.
Which is simply due to the fact, that maximize did not work properly before 2876.
What is this ticket about? When JOSM is maximized and the windowmanager does not exclude important areas from the screen size, than there is nothing we can do against this. JOSM cannot be used in maximized mode on these systems.
It works alright after one restart if adjusted. We are talking about the initiual startup without preferences !
I think maximized is ok.
Yes, maximized has always worked as stated in the ticket description.
But JOSM starts in normal window mode, with a window size that equals the screen size. Java reports the full screen size including wm panel, so parts of the JOSM window gets hidden. A fix would be to change the default window size to e.g. 2/3 of the screen or start maximized.
+1
comment:17 follow-up: ↓ 19 Changed 14 months ago by stoecker
80% in width and height sounds like a good idea to me and should fix this issue. 2/3 is a bit small.
comment:18 Changed 12 months ago by skyper
- Owner changed from team to skyper
- Status changed from new to needinfo
comment:19 in reply to: ↑ 17 ; follow-up: ↓ 22 Changed 12 months ago by skyper
Replying to stoecker:
80% in width and height sounds like a good idea to me and should fix this issue. 2/3 is a bit small.
There was a little change, as the decoration is not totally hidden by the panel but it does not look like 80% but rather 95%.
comment:20 Changed 12 months ago by skyper
- Owner changed from skyper to team
- Status changed from needinfo to new
comment:21 Changed 12 months ago by stoecker
I did cleanup the window handling. JOSM should now start with proper setup with no preferences. Also handling of multiscreens and the like has been improved.
comment:22 in reply to: ↑ 19 Changed 12 months ago by skyper
Replying to stoecker:
Replying to skyper:
Replying to stoecker:
80% in width and height sounds like a good idea to me and should fix this issue. 2/3 is a bit small.
I did cleanup the window handling. JOSM should now start with proper setup with no preferences. Also handling of multiscreens and the like has been improved.
There was a little change, as the decoration is not totally hidden by the panel but it does not look like 80% but rather 95%.
I have tested with gnome3/metacity and it works but with lxde/openbox it does not. Both debian wheezy




What do you mean by this: "lays under panel"? Screenshot?