﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
22870	Mouse cursor doesn't show/change mode modifer after a data download	tmerc58	team	"==== What steps will reproduce the problem?
1. Open the download dialog.
2. Select the area to download.
3. Click the ""Download"" button. Make the click (up/down) as fast as possible, with no mouse movement.

==== What is the expected result?
After selected area features are added the mouse cursor should be displayed with the modal modifier, i.e. select, edit, extrude, etc. versions.

==== What happens instead?
The mouse cursor is a generic ""Normal"" arrow, with no modifier. It's appearance does not change when modes are changed.

Once another window gains/loses focus, the mouse cursor resumes it's proper appearance and behavior. That window can be another application, or a JOSM pop-up dialog.

==== Please provide any additional information below.
It seems the click speed is the critical determinate - if the click is slow (mouse moves between up/down?) the behavior is normal. If, after a fast-click, the mouse is moved during the actual download such that it passes over the progress dialog, behavior will be normal. Using the keyboard to initiate the download (Enter) results in normal behavior.

I have noted this behavior for several years.

This may be related to ticket #5381

{{{
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2023-03-01 15:17:42 +0100 (Wed, 01 Mar 2023)
Revision:18678
Build-Date:2023-03-02 02:30:57
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18678 en) Linux Mint 19.1 Tessa
Memory Usage: 734 MB / 3000 MB (127 MB allocated, but free)
Java version: 11.0.16+8-post-Ubuntu-0ubuntu118.04, Ubuntu, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1920×1200 (scaling 1.00×1.00) :0.1 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1200
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: en_US.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: X-Cinnamon
Java package: openjdk-11-jre:amd64-11.0.16+8-0ubuntu1~18.04
fonts-noto: fonts-noto:all-20171026-2
Dataset consistency test: No problems found

Plugins:
+ apache-commons (36034)
+ buildings_tools (36011)
+ centernode (v1.0.4)
+ ejml (35924)
+ geotools (36028)
+ jackson (36034)
+ jaxb (35952)
+ jts (36004)
+ measurement (35978)
+ opendata (36025)
+ utilsplugin2 (36011)

Tagging presets:
+ ${HOME}/dev/map/josm/Custom/MyPresets.xml

Map paint styles:
+ ${HOME}/dev/map/josm/Custom/hicontrast.mapcss

Last errors/warnings:
- 258257.210 W: java.net.SocketTimeoutException: Read <user.name>ed out. Cause: java.net.SocketTimeoutException: Read <user.name>ed out
- 258267.259 W: java.net.SocketTimeoutException: Read <user.name>ed out. Cause: java.net.SocketTimeoutException: Read <user.name>ed out
- 258274.716 W: java.net.SocketTimeoutException: Read <user.name>ed out. Cause: java.net.SocketTimeoutException: Read <user.name>ed out
- 258299.005 W: java.net.SocketTimeoutException: Read <user.name>ed out. Cause: java.net.SocketTimeoutException: Read <user.name>ed out
- 258528.532 W: java.net.SocketTimeoutException: Read <user.name>ed out. Cause: java.net.SocketTimeoutException: Read <user.name>ed out
- 258535.319 W: java.net.SocketTimeoutException: Read <user.name>ed out. Cause: java.net.SocketTimeoutException: Read <user.name>ed out
- 260291.911 W: java.net.SocketTimeoutException: Read <user.name>ed out. Cause: java.net.SocketTimeoutException: Read <user.name>ed out
- 260291.912 W: java.net.SocketTimeoutException: Read <user.name>ed out. Cause: java.net.SocketTimeoutException: Read <user.name>ed out
- 260302.130 W: java.net.SocketTimeoutException: Read <user.name>ed out. Cause: java.net.SocketTimeoutException: Read <user.name>ed out
- 260310.333 W: java.net.SocketTimeoutException: Read <user.name>ed out. Cause: java.net.SocketTimeoutException: Read <user.name>ed out
}}}
"	defect	new	normal		Core			mouse cursor download	
