Modify

Opened 15 years ago

Closed 15 years ago

Last modified 13 months ago

#2483 closed defect (fixed)

[patch] rotate does not work under Mac OS X

Reported by: dressman Owned by: team
Priority: minor Milestone:
Component: Core Version: tested
Keywords: Cc:

Description

The rotate command (crtl-shift + mouse movement) does not work; the mouse pointer changes, but the rotation does not take place. JOSM 1555 and 1529, Mac OS X 10.5.6/PPC, Java 1.5.0_16-133

Attachments (1)

rotate.patch (3.2 KB ) - added by dmuecke 15 years ago.
rotate patch + platform hook

Download all attachments as: .zip

Change History (8)

comment:1 by dmuecke, 15 years ago

Owner: changed from team to dmuecke
Status: newassigned

comment:2 by anonymous, 15 years ago

Summary: rotate does not work under Mac OS X[patch] rotate does not work under Mac OS X

comment:3 by anonymous, 15 years ago

Owner: changed from dmuecke to team
Status: assignednew

We have OS specific classes to catch this stuff. Please use these instead of writing OS specific code directly into the target class.

comment:4 by dmuecke, 15 years ago

Thanks for the advice but I can't find a good example in class PlatformHook.
Can I use something like if exists Main.pref.get("activate-mousemove") then ... ?

comment:5 by stoecker, 15 years ago

Ok, I had a deeper look. Actually it seems only the check whether that code is executed or not must be moved to plattform hook. So add a function boolean useActiveMouseMove() to the plattform stuff and replace the OS-check with it.

by dmuecke, 15 years ago

Attachment: rotate.patch added

rotate patch + platform hook

comment:6 by stoecker, 15 years ago

Resolution: fixed
Status: newclosed

In r1634.

comment:7 by taylor.smock, 13 months ago

In 18767/josm:

Fix #23015, see #2483: Right click (map move) + scale/rotate modes should not interfere with each other

The workaround added for #2483 (r1634, Java 5) does not appear to be needed
anymore (tested with a Magic Mouse in one-button mode under Java 8). Removing
the workaround fixes the behavior whereby a right-click will cause the
scale/rotate mode to be enabled.

To fix extraneous commands being generated during a map pan when scale/rotate
mode is enabled, we check to see if the right mouse button is down in
updateCommandWhileDragging.

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.