Modify

Opened 3 years ago

Closed 23 months ago

#22264 closed defect (irreproducible)

Multiple modes active

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

Description (last modified by taylor.smock)

What steps will reproduce the problem?

  1. I don't know to reproduce, happens randomly while mapping. For example I draw a line and JOSM shows me context menus whereever I move the cursor or rectangles are drawn as with the buildings_tool plugin.

I also cannot say for sure what stops this.

What is the expected result?

no context menus or rectangles when I just draw a line

What happens instead?

see above

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

I think this only started in the last days, but can't put my finger on it. The svn log shows a change in the buildings_tools plugin which might be responsible: r35997/osm.
I'll try to find more when it happens again.

Revision:18513
Build-Date:2022-07-08 01:44:25

Identification: JOSM/1.5 (18513 en_GB) Windows 10 64-Bit
OS Build number: Windows 10 Home 2009 (19044)
Memory Usage: 1732 MB / 1972 MB (426 MB allocated, but free)
Java version: 17.0.3+7-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1252
System property sun.jnu.encoding: Cp1252
Locale info: en_GB
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.18513, --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.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=%UserProfile%\AppData\Local\JOSM\HWConsole.exe]
Dataset consistency test: No problems found

Plugins:
+ OpeningHoursEditor (35924)
+ apache-commons (35924)
+ buildings_tools (35997)
+ contourmerge (v0.1.9)
+ ejml (35924)
+ geotools (35959)
+ imagery-xml-bounds (35976)
+ jackson (35958)
+ jaxb (35952)
+ jts (35976)
+ o5m (35893)
+ opendata (35984)
+ pbf (35978)
+ poly (35976)
+ reltoolbox (35976)
+ reverter (35999)
+ undelete (35893)
+ utilsplugin2 (36001)

Validator rules:
+ c:\josm\core\resources\data\validator\combinations.mapcss
+ c:\josm\core\resources\data\validator\geometry.mapcss
+ c:\josm\core\resources\data\validator\unnecessary.mapcss
+ d:\java_tools\JOSM\mygeometry.mapcss
+ https://josm.openstreetmap.de/josmfile?page=Rules/GermanySpecific&zip=1

Last errors/warnings:
- 00000.717 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF'
- 00000.721 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF'
- 00002.194 E: java.security.KeyStoreException: Windows-ROOT not found. Cause: java.security.NoSuchAlgorithmException: Windows-ROOT KeyStore not available
- 00118.320 W: Found several potential CRS: [PROJCS["ETRS89 / UTM zone 32N (zE-N)",

Attachments (0)

Change History (11)

comment:1 by taylor.smock, 3 years ago

Description: modified (diff)

I doubt it is r35997/osm. But since it is found when using buildings_tools, I should probably keep an open mind. :(

I'll see if I can reproduce.

comment:2 by GerdP, 3 years ago

It might also be an error in my mouse device if nobody else reports this. I see it maybe ten times in an hour. I think it might be related to holding the left mouse button pressed for a long time. I've also seen it when I didn't map a building for quite a while.

comment:3 by taylor.smock, 3 years ago

How old is your mouse? 5+ years, and I'm much more likely to blame the mouse. Otherwise, absent a low-quality mouse, I'd look more into the changed code.

comment:4 by GerdP, 3 years ago

Nearly 5 years, Oct. 2017

comment:5 by taylor.smock, 3 years ago

I don't know then. I'm really tempted to blame the mouse (and you probably don't have a spare to swap out to check).
Are you encountering odd behavior in other applications?

I do know that some cheap mice last 2-3 years (if you are lucky) and other mice last 10+ years. I've got a Logitech G502 (I think) at home, and I've had that for 6 or 7 years, and it is still working fairly well.

comment:6 by GerdP, 3 years ago

Resolution: invalid
Status: newclosed

I see more and more strange effects. Will buy a new device.

comment:7 by GerdP, 3 years ago

Resolution: invalid
Status: closedreopened

I can reproduce one of the issues with a new device:

  1. Select building
  2. Mouve cursor away
  3. Press Q (Rectify)
  4. Move cursor again to building and select it (keep mouse pressed)
  5. Drag building and watch how a white rectangle is drawn

This might be intended, but I see no good reason for the white rectangle.

comment:8 by taylor.smock, 3 years ago

I'm not seeing the white rectangle. You are on Windows right? I'm going to hope that it isn't platform specific, and I misunderstood your steps to reproduce.

comment:9 by GerdP, 3 years ago

Don't waste time on it. It doesn't hurt, it's just confusing and I cannot reproduce right now. Maybe something else has to happen first.

in reply to:  9 comment:10 by taylor.smock, 3 years ago

Replying to GerdP:

I cannot reproduce right now. Maybe something else has to happen first.

That is the worst type of bug. :(

comment:11 by taylor.smock, 23 months ago

Resolution: irreproducible
Status: reopenedclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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