Modify

Opened 10 years ago

Closed 6 years ago

#9264 closed defect (irreproducible)

Dynamic side buttons seem broken on Mac OSX with Java 7

Reported by: dieterdreist Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: toolbar, java7, macosx Cc:

Description (last modified by Don-vip)

At least on MacOS the buttons (toolbar at the bottom of every docked window) don't work because they get hidden as soon as you move the mouse over.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2013-11-02 02:34:57
Last Changed Author: Don-vip
Revision: 6352
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2013-11-02 01:44:07 +0100 (Sat, 02 Nov 2013)
Last Changed Rev: 6352

Attachments (0)

Change History (18)

comment:1 by skyper, 10 years ago

Can not reproduce on linux:

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2013-11-02 02:34:57
Last Changed Author: Don-vip
Revision: 6352
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2013-11-02 01:44:07 +0100 (Sat, 02 Nov 2013)
Last Changed Rev: 6352

Identification: JOSM/1.5 (6352 en) Linux Debian GNU/Linux 7.2 (wheezy)
Memory Usage: 158 MB / 672 MB (88 MB allocated, but free)
Java version: 1.7.0_25, Oracle Corporation, OpenJDK 64-Bit Server VM
Java package: openjdk-7-jre:amd64-7u25-2.3.10-1~deb7u1
VM arguments: [-Djosm.home=/tmp/test]
Program arguments: [--language=en]
Dataset consistency test: No problems found

comment:2 by Don-vip, 10 years ago

Description: modified (diff)
Owner: changed from team to dieterdreist
Status: newneedinfo

Please supply more info, I don't even know what version of Java you're using, your OS version, if you're using Web Start, a jar, the Mac package for Java 6, the experimental package for Java 7 ?

As a general rule for all Mac-specific issues (I do not have any problem on Windows right now), you'll have to provide the maximum info you can if you want any chance to see your problem solved (no one of us uses a Mac, so these problems are very difficult to understand and solve).

comment:3 by Don-vip, 10 years ago

Description: modified (diff)

comment:4 by Don-vip, 10 years ago

Keywords: mac osx added

comment:5 by dieterdreist, 10 years ago

I'm on latest, Mac OS-X 10.8, Java 7:

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2013-11-02 02:34:57
Last Changed Author: Don-vip
Revision: 6352
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2013-11-02 01:44:07 +0100 (Sat, 02 Nov 2013)
Last Changed Rev: 6352

dentification: JOSM/1.5 (6352 en) Mac OS X 10.8.5
Memory Usage: 245 MB / 1820 MB (177 MB allocated, but free)
Java version: 1.7.0_40, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Xmx2048M, -Dsun.java2d.opengl=true]
Last edited 10 years ago by Don-vip (previous) (diff)

comment:6 by Don-vip, 10 years ago

Thanks.
Does it happen only since you switched to Java 7 or since you use a new version of JOSM ?
I assume you're using dynamic buttons; does it work if you switch them off (set property dialog.dynamic.buttons to false) ?
Also you may want to update to Java 7u45. Support of Java 7 on Mac by Oracle is still quite new and full of bugs.

comment:7 by dieterdreist, 10 years ago

OK, it works before I add data (e.g startup, ctrl+n for new layer, now these buttons remain visible when I am over with the mouse). Now I add some geometry and they behave strangely: they are visible when the window is activated and I'm with the mouse in the window, but as soon as I move over the toolbar/buttons, they disappear (and reappear when I move back into the window not toolbar).

It also works with the window detached (as there is no hiding at all).

And it also "works" with dialog.dynamic.buttons=false (after restart), as this makes them permanent (works).

Not sure about Java7/6 and won't switch back for testing (is too complicated).

It works mostly with my current Java and version 6238, so my guess is that something was broken in the meantime (maybe the condition for hiding is inverted? Looks like).

comment:8 by Don-vip, 10 years ago

Owner: changed from dieterdreist to team
Status: needinfonew

comment:9 by Don-vip, 10 years ago

Keywords: java7 added
Summary: windows on the right are brokenDynamic side buttons seem broken on Mac OSX with Java 7

Made further tests and there's no problem on Windows (tried both Java 6 and 7). Probably a Java bug, can you please try with 7u45 ? Thanks.

comment:10 by Don-vip, 10 years ago

Priority: majornormal

comment:11 by anonymous, 10 years ago

I confirm that with latest JOSM and 7u45 on Mac OS-X 10.9 it is still broken.

comment:12 by Don-vip, 10 years ago

In 6752/josm:

fix #7633, see #9264 - fix dynamic side buttons broken in r6727 + many small enhancements

comment:13 by Don-vip, 10 years ago

Can you check if it works better with JOSM r6752+ and Java 7u51 ?

comment:14 by dieterdreist, 10 years ago

Resolution: fixed
Status: newclosed

Yeah, seems fixed! Buttons behave like expected on Java7u45 and 6762!
Thank you very much, this was a huge annoyance.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2014-01-27 02:35:22
Last Changed Author: Don-vip
Revision: 6762
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2014-01-27 03:20:43 +0100 (Mon, 27 Jan 2014)
Last Changed Rev: 6762

Identification: JOSM/1.5 (6762 en) Mac OS X 10.9.1
Memory Usage: 316 MB / 1820 MB (203 MB allocated, but free)
Java version: 1.7.0_45, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Xmx2048M, -Dsun.java2d.opengl=true]
Dataset consistency test: No problems found
Last edited 10 years ago by Don-vip (previous) (diff)

comment:15 by dieterdreist, 10 years ago

Resolution: fixed
Status: closedreopened

sorry, this was too early, does still not work on 7u45, now I will update Java and tell you.

comment:16 by dieterdreist, 10 years ago

sorry, not working on 7u51 and latest.

comment:17 by Don-vip, 10 years ago

Keywords: macosx added; mac osx removed

comment:18 by Stereo, 6 years ago

Resolution: irreproducible
Status: reopenedclosed

Blast from the past? This works absolutely fine for me on build 13265, Java version 1.8.0_161-b12,

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.