Modify

Opened 9 months ago

Closed 9 months ago

Last modified 9 months ago

#23961 closed defect (othersoftware)

Weird behaviour on menu tabs

Reported by: Rafal Owned by: Rafal
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report, linux, kde Cc:

Description

What steps will reproduce the problem?

  1. Everytime when trying to use menu
  2. Menu flickering and activating tabs not under cursor

What is the expected result?

Activate tab under cursor

What happens instead?

Menu flickering

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

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2024-08-28 22:00:04 +0200 (Wed, 28 Aug 2024)
Revision:19207
Build-Date:2024-08-29 01:30:31
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (19207 pl) Linux openSUSE Tumbleweed
Memory Usage: 504 MB / 4096 MB (265 MB allocated, but free)
Java version: 17.0.12+7-suse-1.2-x8664, N/A, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1920x1080x[Multi depth]@144Hz (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: pl_PL.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: pl_PL
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: KDE
Java package: java-17-openjdk:x86_64-17.0.12.0
apache-commons-logging: apache-commons-logging:noarch-1.3.3
VM arguments: [--add-modules=java.scripting,java.sql, --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]

Plugins:
+ ShapeTools (1250)
+ apache-commons (36282)
+ ejml (36176)
+ geotools (36273)
+ jackson (36273)
+ jaxb (36118)
+ jogl (1.2.3)
+ jts (36004)
+ kendzi3d-resources (0.0.2)
+ log4j (36273)
+ lwjgl (36176)
+ lwjgl-unixoid (36176)
+ measurement (36344)
+ opendata (36343)
+ routing (36304)
+ tageditor (36344)
+ terracer (36344)
+ todo (139)
+ turnlanes-tagging (1727811971)
+ utilsplugin2 (36344)

Tagging presets:
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/PL.zip
+ https://github.com/kendzi/Simple3dBuildingsPreset/releases/download/0.9_2018-05-08/s3db-preset.zip

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

Attachments (1)

josm.gif (3.5 MB ) - added by Rafal <kozlowski.rafal@…> 9 months ago.

Change History (9)

by Rafal <kozlowski.rafal@…>, 9 months ago

Attachment: josm.gif added

comment:1 by taylor.smock, 9 months ago

Owner: changed from team to Rafal
Status: newneedinfo

This doesn't look like a graphics issue. If anything, it looks like a cursor offset issue.
Can you try the following:

  1. Restart JOSM
  2. Update your computer software
  3. Restart your computer
  4. Try a different desktop environment (like GNOME)

We (JOSM) don't do anything with parsing mouse input for the menu items, so the issue is likely in one of the following locations:

  • Java itself
  • The OS (possible but unlikely)
  • The hardware (unlikely)

Identification: JOSM/1.5 (19207 pl) Linux openSUSE Tumbleweed

Also, your version of JOSM is out of date. The current release is r19230.

comment:2 by Rafal <kozlowski.rafal@…>, 9 months ago

Another person confirmed that he also has this error with different DE, so i assumed it is related with soft itself, since it is only program with such visual problems.

comment:3 by anonymous, 9 months ago

When the window is maximized or its size is changed at all, I can't use the menu (File, Edit, etc.). If I hold the left mouse button down, I can see the items in that menu, but releasing the mouse button makes the drop-down menu go away. Clicking on the menu just makes the drop-down quickly appear and disappear. When the window is left at its default size when JOSM launches, the issue does not occur. Never seen this happen with any other application, very odd. I'm also on KDE Plasma, with JOSM installed via Flatpak.

comment:4 by taylor.smock, 9 months ago

My home machine is Fedora Silverblue (GNOME), and the JOSM flatpak doesn't exhibit that behavior on my machine.

I was able to reproduce in a VM with KDE Plasma (X11 and Wayland). I was unable to reproduce in the same VM using GNOME.

This is most likely a bug in KDE Plasma or Java since (AFAIK) we don't do anything specific to a WM.

Realistically, I'd want go through KDE releases to see which KDE version caused the issue (I suspect KDE over Java).

comment:5 by stoecker, 9 months ago

@Rafal:

As you're using Tumbleweed, my first suggestion would be to upgrade to Java 21, 22 or even 23.

@Taylor:

KDE is really more unstable ATM than normally. I'd also suspect it :-)

comment:6 by anonymous, 9 months ago

Another KDE user here, I have updated to 6.2 and the bug still exists.

comment:7 by taylor.smock, 9 months ago

Keywords: linux kde added
Resolution: othersoftware
Status: needinfoclosed

As I noted in comment:4, I don't know when the problem was introduced in KDE. I don't use KDE personally.

The KDE developers probably don't know there is a problem, to be honest. I'd open a ticket with them, but I don't know which release actually broke things. I'd guess 6.1 if 6.2 just came out. But I don't know.

Anyway, I tried with a different Java application (IntelliJ PyCharm), and it exhibited the same behavior.

It looks like KDE uses bugs.kde.org for their bugtracker.

EDIT: Or if the problem just started occurring, it might be KDE Plasma 6.2 instead of 6.1. It depends upon when the problem was first noticed.

Last edited 9 months ago by taylor.smock (previous) (diff)

comment:8 by chriswhy, 9 months ago

I was having issues on Plasma but some recent updates seem to have fixed it! It's not happening anymore.

Modify Ticket

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