Modify

Opened 15 years ago

Closed 11 years ago

#5833 closed defect (fixed)

linux: startup main window too big (lays under panel)

Reported by: skyper Owned by: skyper
Priority: normal Milestone:
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.

r3782

Attachments (1)

2011-01-11_1024x768.png (94.1 KB ) - added by skyper 15 years ago.
screenshot

Download all attachments as: .zip

Change History (26)

comment:1 by bastiK, 15 years ago

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

in reply to:  1 comment:2 by skyper, 15 years ago

Description: modified (diff)

Replying to bastiK:

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

The window goes into restricted space.

Version 0, edited 15 years ago by skyper (next)

by skyper, 15 years ago

Attachment: 2011-01-11_1024x768.png added

screenshot

comment:3 by skyper, 14 years ago

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 by skyper, 14 years ago

On a Ubuntu 10.10 with xfce and xfwm4 it does not work.

r4160, openjdk

comment:5 by stoecker, 14 years ago

Ticket #7066 has been marked as a duplicate of this ticket.

comment:6 by skyper, 14 years ago

A workaround is to use "Alt+Mouse" to move the window.

comment:7 by pert, 14 years ago

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 by bastiK, 14 years ago

@ael: unrelated problems. Please clear preferences, reinstall java and try both Oracle and OpenJDK. If this doesn't help, open another ticket.

comment:9 by pert, 14 years ago

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?

in reply to:  9 ; comment:10 by bastiK, 14 years ago

Replying to pert:

It looks as if this ticket can now be closed?

No, this ticket is about XFCE and window manager problems.

in reply to:  10 comment:11 by skyper, 14 years ago

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 by skyper, 14 years ago

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 by skyper, 13 years ago

Keywords: startup main added; too big removed
Summary: linux: startup main window too big (lays under panel)Regression: linux: startup main window too big (lays under panel)

This was working with r2874 and does not anymore with r2877.

in reply to:  13 ; comment:14 by stoecker, 13 years ago

Summary: Regression: linux: startup main window too big (lays under panel)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.

in reply to:  14 ; comment:15 by bastiK, 13 years ago

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.

in reply to:  15 comment:16 by skyper, 13 years ago

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

Last edited 13 years ago by skyper (previous) (diff)

comment:17 by stoecker, 13 years ago

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 by skyper, 13 years ago

Owner: changed from team to skyper
Status: newneedinfo

in reply to:  17 ; comment:19 by skyper, 13 years ago

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%.

r5229

Last edited 13 years ago by skyper (previous) (diff)

comment:20 by skyper, 13 years ago

Owner: changed from skyper to team
Status: needinfonew

comment:21 by stoecker, 13 years ago

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.

in reply to:  19 ; comment:22 by skyper, 13 years ago

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

in reply to:  22 ; comment:23 by Don-vip, 11 years ago

Replying to skyper:

I have tested with gnome3/metacity and it works but with lxde/openbox it does not. Both debian wheezy

Can you please try again with latest and LXDE ?

in reply to:  23 ; comment:24 by skyper, 11 years ago

Owner: changed from team to skyper
Status: newneedinfo

Replying to Don-vip:

Replying to skyper:

I have tested with gnome3/metacity and it works but with lxde/openbox it does not. Both debian wheezy

Can you please try again with latest and LXDE ?

Have to setup one first. Might need some time.

in reply to:  24 comment:25 by skyper, 11 years ago

Resolution: fixed
Status: needinfoclosed

Replying to skyper:

Replying to Don-vip:

Replying to skyper:

I have tested with gnome3/metacity and it works but with lxde/openbox it does not. Both debian wheezy

Can you please try again with latest and LXDE ?

Have to setup one first. Might need some time.

Well, the window is really small (not 80% but rather 40%). No problem for me.

Tested with Debian 7.6 (wheezy)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain skyper.
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.