Modify

Opened 4 years ago

Last modified 4 years ago

#19777 new defect

Trying to switch to angle mode for draw tool fails

Reported by: skquinn Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Type "A" for draw mode
  2. Draw a line
  3. Type "A" again to try to select angle mode

What is the expected result?

Angle mode should be selected.

What happens instead?

JOSM toggles into select mode.

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

This may or may not be related to FlatLaf dark mode.

I know the API shows OpenGeoFiction, but I have had this happen editing real world OSM data as well.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-09-06 16:54:59 +0200 (Sun, 06 Sep 2020)
Revision:17013
Build-Date:2020-09-07 01:30:48
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (17013 en) Linux Ubuntu 18.04.5 LTS
Memory Usage: 370 MB / 3959 MB (157 MB allocated, but free)
Java version: 11.0.8+10-post-Ubuntu-0ubuntu118.04.1, Ubuntu, OpenJDK 64-Bit Server VM
Look and Feel: com.formdev.flatlaf.FlatDarkLaf
Screen: :0.0 1360x768 (scaling 1.0x1.0)
Maximum Screen Size: 1360x768
Best cursor sizes: 16x16 -> 16x16, 32x32 -> 32x32
Desktop environment: GNOME-Classic:GNOME
Java package: openjdk-11-jre:amd64-11.0.8+10-0ubuntu1~18.04.1
Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-20ubuntu0.1
libcommons-compress-java: libcommons-compress-java:all-1.18-1~18.04
libcommons-logging-java: libcommons-logging-java:all-1.2-2
fonts-noto: fonts-noto:-
VM arguments: [-Djosm.restart=true, -Djava.net.useSystemProxies=true, -Djosm.home=<josm.pref>]
Dataset consistency test: No problems found

Plugins:
+ AddrInterpolation (35405)
+ CommandLine (35531)
+ Create_grid_of_ways (35405)
+ FastDraw (35499)
+ HouseNumberTaggingTool (35508)
+ ImproveWay (29)
+ OpeningHoursEditor (35414)
+ SeaMapEditor (35480)
+ ShapeTools (1240)
+ TombPlugin (58)
+ alignways (35474)
+ apache-commons (35524)
+ apache-http (35092)
+ auto_tools (73)
+ buildings_tools (35500)
+ continuosDownload (91)
+ contourmerge (v0.1.6)
+ flatlaf (35541)
+ graphview (35405)
+ gridify (1588746833)
+ indoor_sweepline (35248)
+ jna (35092)
+ junctionchecking (35248)
+ log4j (35092)
+ measurement (35405)
+ merge-overlap (35248)
+ michigan_left (35248)
+ pbf (35446)
+ poly (35248)
+ reltoolbox (35529)
+ reverter (35499)
+ rex (53)
+ routing (35405)
+ splinex (35454)
+ tageditor (35258)
+ tagging-preset-tester (35267)
+ terracer (35499)
+ turnlanes-tagging (283)
+ turnrestrictions (35515)
+ undelete (35521)
+ utilsplugin2 (35487)
+ waydownloader (35405)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/OneClick&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Towers&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Disc_Golf_Course&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Golf_Course&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Bus_lanes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/ParkingLanes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Animal_facilities&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/AdvertisingPreset&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Community_Centre&zip=1
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/US.zip
+ https://josm.openstreetmap.de/josmfile?page=Presets/LaneAttributes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Playground_Equipment&zip=1

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Enhanced_Lane_and_Road_Attributes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/DestinationSignRelation&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/ParkingLanes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/NoFeature&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Surface&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/LayerChecker&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Modified&zip=1
- https://raw.githubusercontent.com/species/josm-preset-traffic_sign_direction/master/direction.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/Noname&zip=1
- https://raw.githubusercontent.com/OpenSeaMap/josm/master/BNIWR_MapCSS.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/Power&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/AdvertisingStyle&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Bench&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Historic_Stones&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Postcode&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Fixme&zip=1
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_style_JOSM/master/Styles_Traffic_signs_AME.zip

Validator rules:
- <josm.pref>/validator/indoorhelper.validator.mapcss
+ https://raw.githubusercontent.com/OpenNauticalChart/josm/master/Seamark.validator.mapcss
+ https://josm.openstreetmap.de/josmfile?page=Rules/MissingWeekdays&zip=1

Last errors/warnings:
- 00048.679 W: javax.imageio.IIOException: Caught exception during read:. Cause: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
- 00048.686 E: Failed to locate image 'traffic_signs_presets/tunnel.png'
- 00048.695 W:  Tunnel: Could not get presets icon traffic_signs_presets/tunnel.png

OSM API: https://api.opengeofiction.net/api

Attachments (0)

Change History (2)

comment:1 by skyper, 4 years ago

Could you try without all other plugins and with all plugins but the flatlaf, please?

Had and have no problems with dark mode (FlatDarculaLaf) and angle snapping.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-09-08 17:35:35 +0200 (Tue, 08 Sep 2020)
Revision:17015
Build-Date:2020-09-09 01:30:50
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (17015 en) Linux Debian GNU/Linux 10 (buster)
Java version: 11.0.8+10-post-Debian-1deb10u1, Debian, OpenJDK 64-Bit Server VM
Look and Feel: com.formdev.flatlaf.FlatDarculaLaf
Desktop environment: GNOME
Java package: openjdk-11-jre:amd64-11.0.8+10-1~deb10u1

Plugins:
+ apache-commons (35524)
+ flatlaf (35541)
Last edited 4 years ago by skyper (previous) (diff)

comment:2 by skquinn, 4 years ago

I was unable to reproduce the issue with flatlaf unloaded. I was also unable to reproduce the issue with only flatlaf loaded and all other plugins unloaded. In between I switched back to flatlaf with the other plugins loaded and the issue did recur a little while into a short editing session.

What else should I try?

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to skquinn.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.