Modify

Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#22117 closed defect (othersoftware)

Unable to use Spacebar to insert nodes with the FastDraw plugin

Reported by: anonymous Owned by: anonymous
Priority: normal Milestone:
Component: Plugin FastDraw Version:
Keywords: Cc:

Description

Hello, for some time now, I am unable to use Spacebar to insert nodes with the FastDraw plugin. I'm on linux, on wayland.

Attachments (0)

Change History (12)

comment:1 by skyper, 4 years ago

Component: CorePlugin FastDraw
Owner: changed from team to akks

comment:2 by skyper, 4 years ago

Owner: changed from akks to anonymous
Status: newneedinfo

Thanks for your report, however your ticket is incomplete and therefore not helpful in its current form.

Please add all needed information according to this list:

  • The required parts of the Status Report from your JOSM.
  • Describe what behaviour you expected.
  • Describe what did happen instead.
  • Describe if and how the issue is reproducible.
  • Add any relevant information like error messages or screenshots.

To ensure that all technical relevant information is contained, create new tickets by clicking in JOSMs Main Menu on Helpsource:trunk/resources/images/bug.svg Report Bug.

Remember: This is a generic notice so we don't need to write the same stuff again and again. It may only apply in parts to the specific case!


comment:3 by daxro, 4 years ago

Sorry about that. I shouldn't have posted as anonymous. Here's some info:

What steps will reproduce the problem?

  1. Press Shift+F to use the FastDraw plugin
  2. Try using Spacebar to insert a node

What is the expected result?

A node should be added.

What happens instead?

No node added.

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

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2022-05-29 21:53:52 +0200 (Sun, 29 May 2022)
Revision:18463
Build-Date:2022-05-30 01:30:57
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18463 en) Linux Void Linux
Memory Usage: 202 MB / 1452 MB (104 MB allocated, but free)
Java version: 11.0.14.1+1-b2043.17, JetBrains s.r.o., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.gtk.GTKLookAndFeel
Screen: :0.0 1360×768 (scaling 1.00×1.00)
Maximum Screen Size: 1360×768
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: en_ZA.UTF-8
Environment variable LC_ALL: en_ZA.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_ZA
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: Unity
VM arguments: [-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel, -Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel, -Dawt.useSystemAAFontSettings=on, -Dswing.aatext=true]

Plugins:
+ FastDraw (35893)
+ buildings_tools (35951)
+ measurement (35893)
+ touchscreenhelper (35893)
+ utilsplugin2 (35970)
+ wikipedia (605)

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/iD&zip=1

comment:4 by skyper, 4 years ago

Mmh, does the plugin "touchscreenhelper" intervene here?
Is the shortcut proper registered under Preferences > Keyboard Shortcuts?

comment:5 by daxro, 4 years ago

I disabled touchscreenhelper and it still occurs. And I do see under Shorcuts: Mode: Fast drawing mode with the shortcut Shift+F

comment:6 by skyper, 4 years ago

It works for me with plain X. Might be able to switch to XWayland later on.
I noticed that space is not mentioned as shortcut for FastDraw in preferences, though.

@daxro:
Can you please try with plain X and/or empty preferences.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2022-05-29 21:53:52 +0200 (Sun, 29 May 2022)
Revision:18463
Build-Date:2022-05-30 01:30:57
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18463 en) Linux Debian GNU/Linux 11 (bullseye)
Memory Usage: 256 MB / 2970 MB (50 MB allocated, but free)
Java version: 17.0.3+7-Debian-1deb11u1, Debian, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1920×1080 (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.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: GNOME
fonts-noto: fonts-noto:all-20201225-1
VM arguments: [-Djosm.restart=true, -Djava.net.useSystemProxies=true]
Dataset consistency test: No problems found

Plugins:
+ FastDraw (35893)

in reply to:  6 comment:7 by skyper, 4 years ago

Replying to skyper:

It works for me with plain X. Might be able to switch to XWayland later on.

No problem with XWayland either.

comment:8 by daxro, 4 years ago

No problem with XWayland either.

Really? I deleted all related files from ~/.config ~/.cache ~/.local/share; then I installed just the FastDraw plugin and I still can't add a node with space. I wonder what's different. I'm currently on swaywm, I'm going to install gnome later today and see if it works

Update:

It seems to work with gnome, but the placement of the node and the mouse cursor aren't aligned.

Last edited 4 years ago by daxro (previous) (diff)

in reply to:  8 comment:9 by skyper, 4 years ago

Replying to daxro:

No problem with XWayland either.

Really? I deleted all related files from ~/.config ~/.cache ~/.local/share; then I installed just the FastDraw plugin and I still can't add a node with space. I wonder what's different. I'm currently on swaywm, I'm going to install gnome later today and see if it works

Update:

It seems to work with gnome, but the placement of the node and the mouse cursor aren't aligned.

So the WM comes into play. I remember, we had malfunctions with KDE some time ago which was a bug in KDE. Please fill a bug against swaywm.
Regarding your offsets, do you face them with plain Xorg and XWayland? And only in FastDraw mode or in general, e.g. Draw mode?

comment:10 by daxro, 4 years ago

Regarding your offsets, do you face them with plain Xorg and XWayland? And only in FastDraw mode or in general, e.g. Draw mode?

It's the first time I saw it behave like that; and only with FastDraw, so I'd hazard to say only on XWayland. When I was on awesomewm (Xorg), I didn't face such an issue.

If the problem is with swaywm, then I'm afraid it won't be fixed

comment:11 by skyper, 4 years ago

Resolution: othersoftware
Status: needinfoclosed

Sorry, nothing we can solve.

comment:12 by daxro, 3 years ago

Just wanted to update, I switched to Ubuntu and Gnome and the problem no longer occurs, so the issue was with swaywm. Thanks

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain anonymous.
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.