Modify

Opened 14 years ago

Last modified 12 months ago

#5381 reopened defect

mouse cursor not always what it should be

Reported by: dieterdreist Owned by: dieterdreist
Priority: normal Milestone:
Component: Core Version: latest
Keywords: mouse pointer Cc: tmerc58

Description (last modified by skyper)

Since some versions the mousecursor (e.g. add node) is not always indicating the mode. Sometimes (also after a while) it gets a normal arrow-pointer.

Attachments (0)

Change History (14)

comment:1 by stoecker, 14 years ago

Owner: changed from team to dieterdreist
Status: newneedinfo

Please try to make it reproducable. What needs to be done to get it wrong. Whenever it gets wrong try to reproduce your previous steps as exactly as possible and when you get it reproducable post necessary steps here.

in reply to:  1 comment:2 by dieterdreist, 14 years ago

Replying to stoecker:

Please try to make it reproducable. What needs to be done to get it wrong. Whenever it gets wrong try to reproduce your previous steps as exactly as possible and when you get it reproducable post necessary steps here.

I'm not completely sure (happens after quite a lot of editing) what leads to this, but happened several times recently (past few days but never before in the past). It might be associated with the select-mode-"plus(+)"-feature. E.g. the add-node-cursor is replaced by the normal arrow after a while.

comment:3 by stoecker, 13 years ago

Resolution: irreproducible
Status: needinfoclosed

Reopen when reproducible.

comment:4 by rickmastfan67, 13 years ago

Resolution: irreproducible
Status: closedreopened

I think I can reproduce something similar to this that might help.

I was just playing around and somehow did it. Then I try the same thing again and was able to reproduce it 9 times out of every 10.

Here's how to do it.

  1. Download a small area into JOSM.
  2. Hit the "s" button to be able to select nodes.
  3. Right click on the screen (doesn't matter where) and almost simultaneously click the left click button once the pan cursor shows up.

Results:
The panning image for the right click of the select mode (s) gets locked and will not go back to the normal select mode mouse cursor unless you select another mode.

It might take a couple of tries to get this to happen, but it does happen. And it was just luck that I discovered this and also noticing this ticket get closed today.

comment:5 by stoecker, 13 years ago

Resolution: fixed
Status: reopenedclosed

In [3919/josm]:

unify cursor handling, hopefully fix #5381

comment:6 by skyper, 11 years ago

Description: modified (diff)
Resolution: fixed
Status: closedreopened

I noticed this bug again lately. Sorry can not reproduce right now but I did indeed download several small areas. The cursor locks as arrow pointing NW without rectangle. Switching modes usually unlocks it again.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2012-11-20 02:31:11
Last Changed Author: simon04
Revision: 5593
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2012-11-19 11:36:21 +0100 (Mon, 19 Nov 2012)
Last Changed Rev: 5593

Identification: JOSM/1.5 (5593 en)
Memory Usage: 433 MB / 643 MB (228 MB allocated, but free)
Java version: 1.6.0_24, Sun Microsystems Inc., OpenJDK 64-Bit Server VM
Operating system: Linux
Dataset consistency test: No problems found
Last edited 11 years ago by skyper (previous) (diff)

comment:7 by skyper, 11 years ago

Just happened again. Different machine same system. This time with some plugins installed and an detached image view. I have four layers (one geotagged images, one gpx single track, one data and one imagery layer). Did not download this time and changing modes did not help but changing windows with WM.

gnome3, nvidia-dkms

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2012-12-28 02:31:39
Last Changed Author: framm
Revision: 5639
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2012-12-28 02:16:10 +0100 (Fri, 28 Dec 2012)
Last Changed Rev: 5639

Identification: JOSM/1.5 (5639 en)
Memory Usage: 341 MB / 1820 MB (205 MB allocated, but free)
Java version: 1.6.0_24, Sun Microsystems Inc., OpenJDK 64-Bit Server VM
Operating system: Linux
Dataset consistency test: No problems found

Plugin: ColumbusCSV (28043)
Plugin: PicLayer (28807)
Plugin: log4j (28968)
Plugin: mirrored_download (28939)
Plugin: routing (unknown)
Plugin: terracer (29047)
Plugin: utilsplugin2 (29124)
Last edited 11 years ago by skyper (previous) (diff)

comment:8 by skyper, 11 years ago

Just happened again right after download. Did not delete preferences yesterday. If there is any more infomation needed, please tell me what you need.

comment:9 by michael2402, 9 years ago

Still in the current version. Happens after switching a lot between Add and Select (and having some selection active): Sometimes the cursor info just gets lost and is the default mouse pointer.

comment:10 by Don-vip, 3 years ago

Resolution: irreproducible
Status: reopenedclosed

Can't reproduce.

comment:11 by skyper, 3 years ago

I still have this problem. It happens regularly but I do not have a step by step description. It only happens after some time of working and the result is that only the default select cursor icon is displayed regardless the editing mode or modifier keys. One way to get the proper cursor displayed again is using windows key twice, e.g. show all open applications windows.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-08-26 16:42:55 +0200 (Thu, 26 Aug 2021)
Revision:18182
Build-Date:2021-08-27 01:31:01
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18182 en) Linux Debian GNU/Linux 11 (bullseye)
Java version: 17-ea+19-Debian-1, Debian, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Desktop environment: GNOME
libcommons-compress-java: libcommons-compress-java:all-1.20-1
libcommons-logging-java: libcommons-logging-java:all-1.2-2
fonts-noto: fonts-noto:all-20201225-1
VM arguments: [--module-path=/usr/share/openjfx/lib, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, -Djosm.restart=true, -Djosm.dir.name=JOSM-latest, -Djava.net.useSystemProxies=true]
Program arguments: [--status-report]

Plugins:
+ ImproveWay
+ apache-commons
+ conflation
+ editgpx
+ ejml
+ flatlaf
+ geotools
+ imagery_offset_db
+ jaxb
+ jts
+ opendata
+ photoadjust
+ pt_assistant
+ reverter
+ terracer
+ undelete
+ utilsplugin2
Last edited 3 years ago by skyper (previous) (diff)

comment:12 by skyper, 3 years ago

Resolution: irreproducible
Status: closedreopened

What can I do to gather more information the next time I'll face the problem?

comment:13 by skyper, 3 years ago

I just happened again. I will continue editing and it will probably happen again within this session.

comment:14 by skyper, 12 months ago

Cc: tmerc58 added

Finally, I managed to reproduce it. I think it is related to blocking dialogs like download dialog or search and the position of the mouse pointer:

  1. create a new layer
  2. switch to "Draw" mode and draw a way
  3. open search dialog (Ctrl+F) with empty string
  4. move the cursor outside the search dialog
  5. Press Enter or Return

The cursor remains an arrow instead of the cross. Clicking into map view adds a new node and the cursor changes to the cross.

#22870 is probably a duplicate.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2023-04-11 19:04:13 +0200 (Tue, 11 Apr 2023)
Revision:18702
Build-Date:2023-04-12 01:30:58
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18702 en) Linux Debian GNU/Linux 11 (bullseye)
Memory Usage: 157 MB / 256 MB (36 MB allocated, but free)
Java version: 17.0.6+10-Debian-1deb11u1, Debian, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1366×768 (scaling 1.00×1.00) :0.1 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: en_US.utf8
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: GNOME
Java package: openjdk-17-jre:amd64-17.0.6+10-1~deb11u1
libcommons-compress-java: libcommons-compress-java:all-1.20-1
libcommons-logging-java: libcommons-logging-java:all-1.2-2
fonts-noto: fonts-noto:all-20201225-1
VM arguments: [-Djosm.home=<josm.pref>]
Dataset consistency test: No problems found
Last edited 12 months ago by skyper (previous) (diff)

Modify Ticket

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

Add Comment


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