﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
23139	Right click (map move) + drag outside of the mapview (top, left, bottom) causes popup menus to appear	b1tw153	team	"==== What steps will reproduce the problem?
1. Select a relatively long way with about 50 nodes and zoom in so that one node is on the screen at a time
2. Switch to the Improve Way Accuracy mode (w key shortcut)
3. Repeat the following process: left click to reposition the node or ctrl-click to place a new node, right click and drag to scroll to the next node or the next place to add a new node
4. Eventually the cursor will get stuck in the ""lock"" mode after scrolling

==== What is the expected result?

After scrolling with right click and drag, the cursor should be a plain crosshairs and the nearest node in the way should be highlighted.

==== What happens instead?

Sometimes, the cursor gets stuck in the ""lock"" mode after scrolling with a right click and JOSM will not highlight the nearest node in the way.

==== Please provide any additional information below. Attach a screenshot if possible.

Note that the cursor switches to ""lock"" mode when clicking with either the left or right mouse button. That's correct for the left mouse button, but probably not useful when clicking with the right mouse button because right mouse clicks aren't used for editing the way.

Maybe the Improve Way Accuracy mode sometimes misses the right mouse up event? That wouldn't be a problem if right clicks didn't change the cursor mode.

Screenshot attached, but sadly the screen capture doesn't include the cursor.

{{{
Revision:18789
Build-Date:2023-08-01 13:08:53

Identification: JOSM/1.5 (18789 en) Mac OS X 13.4.1
OS Build number: macOS 13.4.1 (22F770820d)
Memory Usage: 1707 MB / 2048 MB (334 MB allocated, but free)
Java version: 17.0.8+7-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.apple.laf.AquaLookAndFeel
Screen: Display 188823026 2048×1152 (scaling 1.00×1.00)
Maximum Screen Size: 2048×1152
Best cursor sizes: 16×16→16×16, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=18789, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.apple.eawt=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=/Applications/JOSM.app/Contents/MacOS/JOSM]
Dataset consistency test: No problems found

Plugins:
+ MapRoulette (21)
+ MicrosoftStreetside (36097)
+ apache-commons (36034)
+ apache-http (35924)
+ ejml (35924)
+ geotools (36068)
+ graphview (36079)
+ jackson (36034)
+ javafx (36086)
+ jaxb (35952)
+ jna (36005)
+ jts (36004)
+ log4j (36045)
+ mapwithai-dev (1.9.16-1-g89c7d89)
+ opendata (36097)
+ reverter (36066)
+ routing (36097)
+ turnlanes (36079)
+ utilsplugin2 (36097)
+ wikipedia (605)

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1
+ ${HOME}/Documents/JOSM/TIGER Cleanup.mapcss
+ ${HOME}/Documents/JOSM/Track Completeness.mapcss

Validator rules:
+ ${HOME}/Desktop/GNIS Fixup Validator.mapcss

Last errors/warnings:
- 04891.450 W: Failed to load Mappaint styles from '${HOME}/Desktop/TIGER Highway Cleanup.mapcss'. Exception was: java.nio.file.NoSuchFileException: ${HOME}/Desktop/TIGER Highway Cleanup.mapcss
- 04891.452 E: java.nio.file.NoSuchFileException: ${HOME}/Desktop/TIGER Highway Cleanup.mapcss
- 04899.044 W: Failed to load Mappaint styles from '${HOME}/Desktop/Track Completeness.mapcss'. Exception was: java.nio.file.NoSuchFileException: ${HOME}/Desktop/Track Completeness.mapcss
- 04899.044 E: java.nio.file.NoSuchFileException: ${HOME}/Desktop/Track Completeness.mapcss
- 04917.948 E: java.nio.file.NoSuchFileException: /Volumes/Personal/Documents/Jeeps/Maps and Routes/San Bernardino/BLM_CA_San_Bernardino_GTLF_Working.osm
- 04918.016 E: Error - <html>Could not read file 'BLM_CA_San_Bernardino_GTLF_Working.osm'.<br>Error is:<br>/Volumes/Personal/Documents/Jeeps/Maps and Routes/San Bernardino/BLM_CA_San_Bernardino_GTLF_Working.osm</html>
- 06279.690 W: Simplify ways? - The selection contains 13 ways. Are you sure you want to simplify them all?
- 08072.055 W: Simplify ways? - The selection contains 25 ways. Are you sure you want to simplify them all?
- 18004.245 W: java.net.SocketTimeoutException: Read timed out. Cause: java.net.SocketTimeoutException: Read timed out
- 24082.215 W: Deleted or moved objects - <html>There is 1 object in your local dataset which might be deleted on the server.<br>If you later try to delete or update this the server is likely to report a conflict.<br>Click <strong>Check on the server</strong> to check the state of this object on the server.<br>Click <strong>Ignore</strong> to ignore.</html>
}}}
"	defect	closed	normal		Core		othersoftware	template_report, macos, javabug	
