Modify

Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#711 closed defect (invalid)

Josm is an empty grey window in certain window managers

Reported by: anonymous Owned by: framm
Priority: major Milestone:
Component: Core Version: latest
Keywords: ratpoison wmii Cc: xyborx@…

Description

When starting josm in the window manager "ratpoison", all you get is a grey window with nothing in it. No buttons, no map, no toolbar, nothing.

I'm running ratpoison 1.4.3-1 in Debian testing. To make it less likely that this is a bug in ratpoison, I tried in wmii 3.6+debian-4 and got the same result.

The problem may be that ratpoison (and probably also wmii) to some degree forces windows to be a specific size, which josm may not like. Using ratpoison's "redisplay" command or resizing the window does not help.

My only known workaround is to launch e.g. evilwm by using ratpoison's tmpwm command, then launching josm, then optionally kill evilwm to get what I want.

Attachments (0)

Change History (4)

comment:1 by anonymous, 17 years ago

Cc: xyborx@… added

comment:2 by Gabriel Ebner <ge@…>, 17 years ago

This is a java problem. If you're running Sun's Java 1.5, you can try setting the environment variable AWT_TOOLKIT=MToolkit. (You can also try icedtea, which doesn't have this problem.)

comment:3 by anonymous, 17 years ago

Resolution: invalid
Status: newclosed

Indeed, that worked. Thanks :)

I used this (debian testing), and josm seems to work alright:
AWT_TOOLKIT=MToolkit /usr/lib/jvm/java-6-sun-1.6.0.00/bin/java -jar josm-latest.jar

comment:4 by luca.postregna@…, 16 years ago

I have the same problem in my gentoo-linux box with sun-jdk-1.6.0.12 and amd64 kernel.

Modify Ticket

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