Opened 4 years ago
Closed 4 years ago
#21052 closed defect (othersoftware)
Mouse becomes unusable
Reported by: | eginhard | Owned by: | eginhard |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- The issue appears randomly after JOSM has been open for a while (hours/days), I don't know of any specific steps to reproduce it.
What is the expected result?
I can continue to use the mouse normally.
What happens instead?
Many mouse clicks are not registered, making it impossible to use JOSM. Sometimes it also appears as if clicks are registered in a wrong location or as if the mouse button is kept pressed when it isn't. See this screencast: https://youtu.be/a2C_lXTIsQI (This is with version 17919, but this issue was already occurring before that).
Please provide any additional information below. Attach a screenshot if possible.
The issue is solved by a restart of my computer, but not by a restart of JOSM. I don't have any unusual mouse behaviour in any other application.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2021-06-02 22:03:39 +0200 (Wed, 02 Jun 2021) Revision:17919 Build-Date:2021-06-02 20:11:30 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (17919 en_GB) Linux Ubuntu 20.10 Memory Usage: 377 MB / 3932 MB (165 MB allocated, but free) Java version: 11.0.11+9-Ubuntu-0ubuntu2.20.10, Ubuntu, OpenJDK 64-Bit Server VM Look and Feel: com.formdev.flatlaf.FlatDarculaLaf Screen: :0.0 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_GB.UTF-8 System property file.encoding: UTF-8 System property sun.jnu.encoding: UTF-8 Locale info: en_GB Numbers with default locale: 1234567890 -> 1234567890 Desktop environment: ubuntu:GNOME Java package: openjdk-11-jre:amd64-11.0.11+9-0ubuntu2~20.10 Java ATK Wrapper package: libatk-wrapper-java:all-0.38.0-1 libcommons-logging-java: libcommons-logging-java:all-1.2-2 fonts-noto: fonts-noto:all-20200323-1build1 VM arguments: [--add-modules=java.scripting,java.sql, -Djosm.restart=true, -Djava.net.useSystemProxies=true] Dataset consistency test: No problems found Plugins: + ColorPlugin (1537115529) + EasyPresets (1616852928) + ImproveOsm (211) + MakeParallel (v1.1.0) + OpeningHoursEditor (35640) + SimplifyArea (35640) + apache-commons (35524) + auto_tools (79) + buildings_tools (35756) + changeset-viewer (25) + flatlaf (35734) + imagery_offset_db (35640) + openqa (0.2.2) + photo_geotagging (35738) + photoadjust (35770) + reltoolbox (35640) + reverter (35732) + tageditor (35640) + todo (30306) + turnlanes-tagging (288) + utilsplugin2 (35691) Tagging presets: + https://josm.openstreetmap.de/josmfile?page=Presets/public_bookcase&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/SkiingTrail&zip=1 + https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/CH.zip + https://josm.openstreetmap.de/josmfile?page=Presets/Trees&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/PublicTransportGtfs&zip=1 Map paint styles: + https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/iD&zip=1 + https://josm.openstreetmap.de/josmfile?page=Styles/FixmeAndNote&zip=1 + https://josm.openstreetmap.de/josmfile?page=Styles/Incline&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Modified&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/ParkingLanes&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/sac_scale&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/SidewalksAndFootways&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/SimpleBuildingTags&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/SimpleRoofTags&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Noname&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1 Validator rules: + https://github.com/Jungle-Bus/transport_mapcss/raw/gh-pages/transport.validator.zip + https://josm.openstreetmap.de/josmfile?page=Rules/KeepRight&zip=1 + https://josm.openstreetmap.de/josmfile?page=Rules/OSMLint&zip=1 + https://josm.openstreetmap.de/josmfile?page=Rules/PublicTransportGtfs&zip=1 + https://josm.openstreetmap.de/josmfile?page=Rules/QAToolInspiredValidations&zip=1 Last errors/warnings: - 00012.484 W: javax.imageio.IIOException: Caught exception during read:. Cause: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 - 00012.486 E: Failed to locate image 'traffic_signs_presets/tunnel.png' - 00012.486 W: Tunnel: Could not get presets icon traffic_signs_presets/tunnel.png
Attachments (0)
Change History (12)
comment:1 by , 4 years ago
follow-up: 3 comment:2 by , 4 years ago
Plain X. sudo swapoff -a; sudo swapon -a
did not help. It is possible that I ran out of memory at some point before the issue started.
comment:3 by , 4 years ago
Replying to eginhard:
sudo swapoff -a; sudo swapon -a
did not help. It is possible that I ran out of memory at some point before the issue started.
If JOSM needs more memory than assigned you should get a warning dialog. Turning swap off, and on again, should do the trick if you had run out of physical memory, before.
What graphic device do you have, especially, does it have own memory or is it sharing main memory?
You could try to delete layers, like imagery or validator, and remove loaded geoimages or the complete layer. Deactivating mappaint styles might help, too.
Please, also try if it occurs without any additional stuff like plugins, external presets/styles/validator rules. See Help/CommandLineOptions for an option to set new and empty preferences.
In the end it might be a hardware problem or some underlying software.
follow-up: 5 comment:4 by , 4 years ago
Ok, no, I didn't get any memory warnings.
I have a XPS 13 9370 laptop with an integrated Intel UHD 620 GPU.
I started JOSM with josm --reset-preferences
to get the default settings and still have the same behaviour, even when no data, imagery or anything is loaded.
Additionally, an exception occurred when going to the plugins tab in the preferences. This might just be from my mouse doing something unexpected, I can't reproduce it now, but attaching the report here anyway in case there is something useful:
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2021-06-02 22:03:39 +0200 (Wed, 02 Jun 2021) Revision:17919 Build-Date:2021-06-02 20:11:30 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (17919 en_GB) Linux Ubuntu 20.10 Memory Usage: 240 MB / 3932 MB (94 MB allocated, but free) Java version: 14.0.2+12-Ubuntu-1, Private Build, OpenJDK 64-Bit Server VM Look and Feel: com.formdev.flatlaf.FlatDarculaLaf Screen: :0.0 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_GB.UTF-8 System property file.encoding: UTF-8 System property sun.jnu.encoding: UTF-8 Locale info: en_GB Numbers with default locale: 1234567890 -> 1234567890 Desktop environment: ubuntu:GNOME Java ATK Wrapper package: libatk-wrapper-java:all-0.38.0-1 libcommons-logging-java: libcommons-logging-java:all-1.2-2 fonts-noto: fonts-noto:all-20200323-1build1 VM arguments: [--add-modules=java.scripting,java.sql, -Djosm.restart=true, -Djava.net.useSystemProxies=true] Plugins: + ColorPlugin (1537115529) + EasyPresets (1616852928) + ImproveOsm (211) + MakeParallel (v1.1.0) + OpeningHoursEditor (35640) + SimplifyArea (35640) + apache-commons (35524) + auto_tools (79) + buildings_tools (35756) + changeset-viewer (25) + flatlaf (35734) + imagery_offset_db (35640) + openqa (0.2.2) + photo_geotagging (35738) + photoadjust (35770) + reltoolbox (35640) + reverter (35732) + tageditor (35640) + todo (30306) + turnlanes-tagging (288) + utilsplugin2 (35691) Tagging presets: + https://josm.openstreetmap.de/josmfile?page=Presets/public_bookcase&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/SkiingTrail&zip=1 + https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/CH.zip + https://josm.openstreetmap.de/josmfile?page=Presets/Trees&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/PublicTransportGtfs&zip=1 Map paint styles: + https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/iD&zip=1 + https://josm.openstreetmap.de/josmfile?page=Styles/FixmeAndNote&zip=1 + https://josm.openstreetmap.de/josmfile?page=Styles/Incline&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Modified&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/ParkingLanes&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/sac_scale&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/SidewalksAndFootways&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/SimpleBuildingTags&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/SimpleRoofTags&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Noname&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1 Validator rules: + https://github.com/Jungle-Bus/transport_mapcss/raw/gh-pages/transport.validator.zip + https://josm.openstreetmap.de/josmfile?page=Rules/KeepRight&zip=1 + https://josm.openstreetmap.de/josmfile?page=Rules/OSMLint&zip=1 + https://josm.openstreetmap.de/josmfile?page=Rules/PublicTransportGtfs&zip=1 + https://josm.openstreetmap.de/josmfile?page=Rules/QAToolInspiredValidations&zip=1 Last errors/warnings: - 00066.994 E: Failed to locate image '[[Image(pond.png)]]' - 00066.998 E: Failed to locate image '[[Image(oil-palm.png)]]' - 00076.881 E: Handled by bug report queue: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location - 00076.884 E: Handled by bug report queue: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-0 (21) of main java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location at java.desktop/java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:2102) at java.desktop/java.awt.Component.getLocationOnScreen(Component.java:2076) at java.desktop/javax.swing.plaf.basic.BasicToolBarUI$Handler.mouseDragged(BasicToolBarUI.java:1358) at java.desktop/java.awt.Component.processMouseMotionEvent(Component.java:6684) at java.desktop/javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3360) at java.desktop/java.awt.Component.processEvent(Component.java:6405) at java.desktop/java.awt.Container.processEvent(Container.java:2263) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5012) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4844) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4919) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4565) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4489) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307) at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2764) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4844) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) at java.base/java.security.AccessController.doPrivileged(AccessController.java:391) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743) at java.base/java.security.AccessController.doPrivileged(AccessController.java:391) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:117) at java.desktop/java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190) at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235) at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233) at java.base/java.security.AccessController.doPrivileged(AccessController.java:312) at java.desktop/java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233) at java.desktop/java.awt.Dialog.show(Dialog.java:1070) at java.desktop/java.awt.Component.show(Component.java:1717) at java.desktop/java.awt.Component.setVisible(Component.java:1664) at java.desktop/java.awt.Window.setVisible(Window.java:1023) at java.desktop/java.awt.Dialog.setVisible(Dialog.java:1005) at org.openstreetmap.josm.gui.preferences.PreferenceDialog.setVisible(PreferenceDialog.java:145) at org.openstreetmap.josm.actions.PreferencesAction.run(PreferencesAction.java:119) at org.openstreetmap.josm.actions.PreferencesAction.actionPerformed(PreferencesAction.java:104) at java.desktop/javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1810) at java.desktop/javax.swing.JComponent.processKeyBinding(JComponent.java:2900) at java.desktop/javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:311) at java.desktop/javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:253) at java.desktop/javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2993) at java.desktop/javax.swing.JComponent.processKeyBindings(JComponent.java:2985) at java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2862) at java.desktop/java.awt.Component.processEvent(Component.java:6413) at java.desktop/java.awt.Container.processEvent(Container.java:2263) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5012) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4844) at java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950) at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:870) at java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1139) at java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1009) at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:835) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4893) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2764) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4844) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) at java.base/java.security.AccessController.doPrivileged(AccessController.java:391) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743) at java.base/java.security.AccessController.doPrivileged(AccessController.java:391) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
comment:5 by , 4 years ago
Replying to eginhard:
Plugins: + ColorPlugin (1537115529) + EasyPresets (1616852928) + ImproveOsm (211) + MakeParallel (v1.1.0) + OpeningHoursEditor (35640) + SimplifyArea (35640) + apache-commons (35524) + auto_tools (79) + buildings_tools (35756) + changeset-viewer (25) + flatlaf (35734) + imagery_offset_db (35640) + openqa (0.2.2) + photo_geotagging (35738) + photoadjust (35770) + reltoolbox (35640) + reverter (35732) + tageditor (35640) + todo (30306) + turnlanes-tagging (288) + utilsplugin2 (35691) Tagging presets: + https://josm.openstreetmap.de/josmfile?page=Presets/public_bookcase&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/SkiingTrail&zip=1 + https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/CH.zip + https://josm.openstreetmap.de/josmfile?page=Presets/Trees&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/PublicTransportGtfs&zip=1 Map paint styles: + https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/iD&zip=1 + https://josm.openstreetmap.de/josmfile?page=Styles/FixmeAndNote&zip=1 + https://josm.openstreetmap.de/josmfile?page=Styles/Incline&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Modified&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/ParkingLanes&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/sac_scale&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/SidewalksAndFootways&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/SimpleBuildingTags&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/SimpleRoofTags&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Noname&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1 Validator rules: + https://github.com/Jungle-Bus/transport_mapcss/raw/gh-pages/transport.validator.zip + https://josm.openstreetmap.de/josmfile?page=Rules/KeepRight&zip=1 + https://josm.openstreetmap.de/josmfile?page=Rules/OSMLint&zip=1 + https://josm.openstreetmap.de/josmfile?page=Rules/PublicTransportGtfs&zip=1 + https://josm.openstreetmap.de/josmfile?page=Rules/QAToolInspiredValidations&zip=1
Still a lot of additional stuff. Please try -Djosm.home=$HOME/.josm_debug
or similar.
comment:6 by , 4 years ago
Yes, that error occurred before clearing the preferences, sorry I didn't clarify that. But the mouse issues are the same without any custom parts:
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2021-06-02 22:03:39 +0200 (Wed, 02 Jun 2021) Revision:17919 Build-Date:2021-06-02 20:11:30 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (17919 en_GB) Linux Ubuntu 20.10 Memory Usage: 200 MB / 3932 MB (38 MB allocated, but free) Java version: 14.0.2+12-Ubuntu-1, Private Build, OpenJDK 64-Bit Server VM Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel Screen: :0.0 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_GB.UTF-8 System property file.encoding: UTF-8 System property sun.jnu.encoding: UTF-8 Locale info: en_GB Numbers with default locale: 1234567890 -> 1234567890 Desktop environment: ubuntu:GNOME Java ATK Wrapper package: libatk-wrapper-java:all-0.38.0-1 libcommons-logging-java: libcommons-logging-java:all-1.2-2 fonts-noto: fonts-noto:all-20200323-1build1 VM arguments: [--add-modules=java.scripting,java.sql, -Djosm.restart=true, -Djava.net.useSystemProxies=true] Last errors/warnings: - 00016.159 E: Failed to locate image '[[Image(pond.png)]]' - 00016.164 E: Failed to locate image '[[Image(oil-palm.png)]]' cache.capabilities1637351842=1625063743 cache.motd.html=1625067630 cache.motd.html.java=14.0.2 cache.motd.html.lang=En_GB: cache.motd.html.version=17919 changesetdialog.lastHeight=0 commandstack.lastHeight=0 conflict.lastHeight=0 filter.lastHeight=0 gui.geometry=x=303,y=176,width=1000,height=740 gui.maximized=true imagery.entries=[{max-zoom=22, min-zoom=1, noTileHeaders={"X-VE-Tile-Info":["no-tile"]}, noTileChecksums={"MD5":["c13269481c73de6e18589f9fbc3bdf7e"]}, metadataHeaders={"X-VE-TILEMETA-CaptureDatesRange":"Capture Date"}, transparent=true, minimumTileExpire=3600, name=Bing aerial imagery, id=Bing, type=bing, url=https://www.bing.com/maps/, permission-reference-url=https://wiki.openstreetmap.org/wiki/Bing_Maps, cookies=, icon=data:image/png;base64,iVBORw0..., customHttpHeaders={}, category=photo}, {max-zoom=22, noTileHeaders={"Etag":["\"10i954m13i2\""]}, noTileChecksums={"MD5":["f27d9de7f80c13501f470595e327aa6d"]}, transparent=true, minimumTileExpire=3600, name=Esri World Imagery, id=EsriWorldImagery, type=tms, url=https://{switch:services,server}.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/{zoom}/{y}/{x}, attribution-text=Terms & Feedback, attribution-url=https://wiki.openstreetmap.org/wiki/Esri, cookies=, icon=data:image/png;base64,iVBORw0..., customHttpHeaders={}, category=photo}, {max-zoom=22, transparent=true, minimumTileExpire=3600, name=Esri World Imagery (Clarity) Beta, id=EsriWorldImageryClarity, type=tms, url=https://clarity.maptiles.arcgis.com/arcgis/rest/services/World_Imagery/MapServer/tile/{zoom}/{y}/{x}, attribution-text=Terms & Feedback, attribution-url=https://wiki.openstreetmap.org/wiki/Esri, permission-reference-url=https://github.com/osmlab/editor-layer-index/pull/358#issuecomment-361416110, cookies=, icon=data:image/png;base64,iVBORw0..., description=Esri archive imagery that may be clearer and more accurate than the default layer., customHttpHeaders={}, category=photo}, {max-zoom=22, noTileHeaders={"ETag":["\"336b022ed883bc72347a637634e490d4\"|\"067736a547cafe90014b4e59b6510abe\"|\"ee1f6802b0234046b553cbbc672ac7d9\"|\"9f5a2f1d7cc131e58befc2052c71c827\""]}, noTileChecksums={"MD5":["58e78313d04adf0ea64b8de8590c3d46"]}, transparent=true, minimumTileExpire=3600, name=Mapbox Satellite, id=Mapbox, type=tms, url=https://{switch:a,b,c,d}.tiles.mapbox.com/v4/mapbox.satellite/{zoom}/{x}/{y}.jpg?access_token=pk.eyJ1Ijoib3BlbnN0cmVldG1hcCIsImEiOiJja2w5YWt5bnYwNjZmMnFwZjhtbHk1MnA1In0.eq2aumBK6JuRoIuBMm6Gew, attribution-text=Terms & Feedback, attribution-url=https://www.mapbox.com/about/maps/, permission-reference-url=https://wiki.openstreetmap.org/wiki/Vertical_Aerial_Photographs#DigitalGlobe_.2F_MapBox, cookies=, icon=data:image/png;base64,iVBORw0..., customHttpHeaders={}, category=photo}, {max-zoom=22, noTileChecksums={"MD5":["08d6916814b216570e5241732c41d5e5"]}, valid-georeference=true, transparent=true, minimumTileExpire=3600, name=Maxar Premium Imagery (Beta), id=Maxar-Premium, type=tms, url=https://services.digitalglobe.com/earthservice/tmsaccess/tms/1.0.0/DigitalGlobe:ImageryTileService@EPSG:3857@jpg/{zoom}/{x}/{-y}.jpg?connectId=_apiKey_&foo=premium, attribution-text=Terms & Feedback, attribution-url=https://wiki.openstreetmap.org/wiki/DigitalGlobe, cookies=, icon=data:image/png;base64,iVBORw0..., description=Maxar Premium is a mosaic composed of Maxar basemap with select regions filled with +Vivid or custom area of interest imagery, 50cm resolution or better, and refreshed more frequently with ongoing updates., customHttpHeaders={}, category=photo}, {max-zoom=22, noTileChecksums={"MD5":["08d6916814b216570e5241732c41d5e5"]}, transparent=true, minimumTileExpire=3600, name=Maxar Standard Imagery (Beta), id=Maxar-Standard, type=tms, url=https://services.digitalglobe.com/earthservice/tmsaccess/tms/1.0.0/DigitalGlobe:ImageryTileService@EPSG:3857@jpg/{zoom}/{x}/{-y}.jpg?connectId=_apiKey_&foo=standard, attribution-text=Terms & Feedback, attribution-url=https://wiki.openstreetmap.org/wiki/DigitalGlobe, cookies=, icon=data:image/png;base64,iVBORw0..., description=Maxar Standard is a curated set of imagery covering 86% of the earth’s landmass, with 30-60cm resolution where available, backfilled by Landsat. Average age is 2.31 years, with some areas updated 2x per year., customHttpHeaders={}, category=photo}, {max-zoom=18, valid-georeference=true, modTileFeatures=true, transparent=true, minimumTileExpire=3600, name=OpenStreetMap (Standard Black & White), id=osm-mapnik-black_and_white, type=tms, url=https://tiles.wmflabs.org/bw-mapnik/{zoom}/{x}/{y}.png, attribution-text=© OpenStreetMap contributors, CC-BY-SA, attribution-url=https://www.openstreetmap.org/, cookies=, icon=data:image/png;base64,iVBORw0..., customHttpHeaders={}, category=osmbasedmap}, {max-zoom=19, valid-georeference=true, modTileFeatures=true, transparent=true, minimumTileExpire=3600, name=OpenStreetMap Carto (Standard), id=standard, type=tms, url=https://{switch:a,b,c}.tile.openstreetmap.org/{zoom}/{x}/{y}.png, attribution-text=© OpenStreetMap contributors, attribution-url=https://www.openstreetmap.org/, permission-reference-url=https://wiki.osmfoundation.org/wiki/Terms_of_Use, cookies=, icon=data:image/png;base64,iVBORw0..., customHttpHeaders={}, category=osmbasedmap} ] imagery.layers.default=[Bing, EsriWorldImagery, EsriWorldImageryClarity, Mapbox, Maxar-Premium, Maxar-Standard, osm-mapnik-black_and_white, standard] josm.version=17919 layerlist.lastHeight=192 mappaint.renderer-class-name=org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer mappaint.style.known-defaults=[resource://styles/standard/elemstyles.mapcss, resource://styles/standard/potlatch2.mapcss] mapstyle.lastHeight=0 minimap.lastHeight=0 mirror.https://josm.openstreetmap.de/maps=[1625063747861, <josm.cache>/mirror_https___josm.openstreetmap.de_maps] mirror.https://josm.openstreetmap.de/presets=[1625063833969, <josm.cache>/mirror_https___josm.openstreetmap.de_presets] mirror.https://josm.openstreetmap.de/remote/geofabrik-index-v1-nogeom.json=[1625063743374, <josm.cache>/mirror_https___josm.openstreetmap.de_remote_geofabrik-index-v1-nogeom.json] mirror.https://josm.openstreetmap.de/styles=[1625063818205, <josm.cache>/mirror_https___josm.openstreetmap.de_styles] notes/note_open.lastHeight=0 org.openstreetmap.josm.gui.download.DownloadDialog.geometry=x=460,y=253,width=1000,height=600 org.openstreetmap.josm.gui.preferences.PreferenceDialog.geometry=x=610,y=153,width=800,height=800 osm-download.bounds=51.5155798;15.4055786;51.5292514;15.4193115 preferences.reset.draw.rawgps.lines=true progressdialog.size=600 propertiesdialog.lastHeight=242 relationlist.lastHeight=241 selectionlist.lastHeight=242 toggleDialogs.width=318 userlist.lastHeight=0 validator.lastHeight=0
follow-up: 8 comment:7 by , 4 years ago
Sorry, I start running out of suggestions. Did you try it with an external or different mouse?
Seems you have several java version installed and 14 is outdated as 16 was released.
Java version: 11.0.11+9-Ubuntu-0ubuntu2.20.10, Ubuntu, OpenJDK 64-Bit Server VM
Java version: 14.0.2+12-Ubuntu-1, Private Build, OpenJDK 64-Bit Server VM
This is still strange:
Last errors/warnings: - 00016.159 E: Failed to locate image '[[Image(pond.png)]]' - 00016.164 E: Failed to locate image '[[Image(oil-palm.png)]]'
comment:8 by , 4 years ago
Replying to skyper:
Sorry, I start running out of suggestions. Did you try it with an external or different mouse?
Thanks a lot for your help anyway! I normally use an external mouse, but it's the same with the trackpad.
Seems you have several java version installed and 14 is outdated as 16 was released.
Java version: 11.0.11+9-Ubuntu-0ubuntu2.20.10, Ubuntu, OpenJDK 64-Bit Server VMJava version: 14.0.2+12-Ubuntu-1, Private Build, OpenJDK 64-Bit Server VM
The tool I used to visualise the mouse clicks in the screencast told me to install Java 14, that's why the version in the first status report was different. I upgraded to 16 now, still no change.
This is still strange:
Last errors/warnings: - 00016.159 E: Failed to locate image '[[Image(pond.png)]]' - 00016.164 E: Failed to locate image '[[Image(oil-palm.png)]]'
These disappeared after the Java update...
comment:9 by , 4 years ago
Lets face it. We need to find the differences between your setup and the "common" system setup.
- Try purging all java versions and only reinstall one version, afterwards. Best would be an official Ubuntu package like version 11, 16 or 17 and not a local build.
- Uninstalling
libatk-wrapper-java
package is another option as it is not needed forjosm.jar
and we had problems with this package before. - Can you try another advanced software using java runtime.
Still, the problem could be within the mouse driver (kernel module) and your xserver configuration which is out of the scope of JOSM.
comment:10 by , 4 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
follow-up: 12 comment:11 by , 4 years ago
The issue disappeared the next day after waking up from suspend, so I couldn't test further, but has now appeared again. But I have the same behaviour in Android Studio, so it looks like the problem is with my system not JOSM and you can close this issue.
This question seems to describe the same, but unfortunately doesn't have any solutions: https://askubuntu.com/questions/1059071/mouse-button-gets-locked-in-java-applications.
comment:12 by , 4 years ago
Resolution: | → othersoftware |
---|---|
Status: | needinfo → closed |
Replying to eginhard:
The issue disappeared the next day after waking up from suspend, so I couldn't test further, but has now appeared again.
Interesting workaround: Always suspend after reboot and login.
But I have the same behaviour in Android Studio, so it looks like the problem is with my system not JOSM and you can close this issue.
Sounds more like a driver issue with kernel modules or Xserver.
This question seems to describe the same, but unfortunately doesn't have any solutions: https://askubuntu.com/questions/1059071/mouse-button-gets-locked-in-java-applications.
Well, you could try if changing to the console Ctrl+Alt+F3
and back to X (Ctrl+Alt+F2
I hope or Ctrl+Alt+F7
) helps. Unloading and reloading kernel driver modules could work and give you more information.
Did you try it with a different user account and/or different display manager or different desktop environment?
Good luck.
Do you run out of memory, e.g. is JOSM using virtual memory (swap)? Does
sudo swapoff -a; sudo swapon -a
help instead of restart?Are you using XWayland or just plain X as xserver?