Modify

Opened 18 months ago

Closed 14 months ago

Last modified 14 months ago

#20101 closed enhancement (fixed)

Rotate & scale tool: show angle or scale factor in status bar

Reported by: Squizie3 Owned by: simon04
Priority: normal Milestone: 21.03
Component: Core Version: latest
Keywords: template_report status_bar measurement rotate scale tool Cc: GerdP

Description

I split off this ticket of the #19906 ticket since it turns out to be a different issue. This ticket involves a possible enhancement to show the angle or scale factor in the status bar when using the rotate or scale tools.

What steps will reproduce the problem?

Rotation tool:

  1. Activate the selection tool in the sidebar
  2. Use the keyboard shortcut combination to activate the rotation tool (usually Ctrl+Shift)
  3. Start rotating a random object
  4. You cannot see any angle measurement in the status bar

Scale tool:

  1. Activate the selection tool in the sidebar
  2. Use the keyboard shortcut combination to activate the scale tool (usually Ctrl+Alt)
  3. Start scaling a random object
  4. You cannot see any scale factor measurement in the status bar

What is the expected result?

Rotation tool:
Show values in degrees in one of the bottom status bar's boxes

Scale tool:
Show values of what factor you are scaling at (e.g. 0.87) in one of the bottom status bar's boxes

What happens instead?

The angle or scale factors aren't visible

Please provide any additional information below. Attach a screenshot if possible.

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-10-03 13:42:38 +0200 (Sat, 03 Oct 2020)
Build-Date:2020-10-04 01:30:47
Revision:17084
Relative:URL: ^/trunk

Identification: JOSM/1.5 (17084 nl) Windows 10 64-Bit
OS Build number: Windows 10 Home 2004 (19041)
Memory Usage: 831 MB / 1820 MB (596 MB allocated, but free)
Java version: 1.8.0_261-b12, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1280x768 (scaling 1.0x1.0)
Maximum Screen Size: 1280x768
Best cursor sizes: 16x16 -> 32x32, 32x32 -> 32x32
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:<java.home>\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=%UserProfile%\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\56\1ee8cfb8-7bd2a134, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.heapsize=NULL,2048m, -Djnlpx.splashport=7488, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp, -Djnlpx.jvm=<java.home>\bin\javaw.exe]
Dataset consistency test: No problems found

Plugins:
+ FastDraw (35499)
+ PicLayer (35405)
+ buildings_tools (35563)
+ log4j (35092)
+ measurement (35405)
+ pbf (35446)
+ public_transport (35405)
+ reverter (35556)
+ routing (35405)
+ splinex (35454)
+ turnrestrictions (35515)
+ utilsplugin2 (35487)

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransportV2&zip=1

Attachments (0)

Change History (6)

comment:1 Changed 18 months ago by GerdP

Milestone: 20.11

comment:2 Changed 14 months ago by simon04

Milestone: 21.03
Owner: changed from team to simon04
Status: newassigned

comment:3 Changed 14 months ago by simon04

Resolution: fixed
Status: assignedclosed

In 17632/josm:

fix #20101 - Rotate & scale tool: show angle or scale factor in status bar

comment:4 Changed 14 months ago by GerdP

We have some plugins that use setAngle(-1). I found buildings_tools, commandline,RelationAction. If I got that right they need a change now?

comment:5 Changed 14 months ago by simon04

Err, thanks, I forgot to check the plugin usage of this method...

comment:6 Changed 14 months ago by simon04

In 17666/josm:

see #20101 - Separate MapStatus.setAngle/setAngleNaN for plugin compatibility

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain simon04.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.