Opened 2 years ago

Last modified 2 years ago

#23215 closed defect

UI glitch in debug mode — at Version 5

Reported by: gaben Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report debug UI wayland linux vm virtual acceleration Cc:

Description (last modified by gaben)

What steps will reproduce the problem?

  1. Prepare JOSM in IntelliJ
  2. Debug the JAR file

What is the expected result?

JOSM UI works as usual.

What happens instead?

Weird UI glitches everywhere. See the similar repetitive icons and mixed translations.





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

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2023-08-29 13:38:40 +0200 (Tue, 29 Aug 2023)
Revision:18822
Build-Date:2023-08-30 01:30:57
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18822 hu) Linux Ubuntu 22.04.3 LTS
Memory Usage: 848 MB / 2476 MB (425 MB allocated, but free)
Java version: 17.0.8.1+1-Ubuntu-0ubuntu122.04, Private Build, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1912×1016 (scaling 1.00×1.00)
Maximum Screen Size: 1912×1016
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: hu_HU.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: hu_HU
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: ubuntu:GNOME
Java package: openjdk-17-jre:amd64-17.0.8.1+1~us1-0ubuntu1~22.04
Java ATK Wrapper package: libatk-wrapper-java:all-0.38.0-5build1
fonts-noto: fonts-noto:-
VM arguments: [-Djosm.cache=<josm.cache>, -Djosm.pref=<josm.pref>, -Djosm.userdata=<josm.userdata>, -agentlib:jdwp=transport=dt_socket,server=n,suspend=y,address=127.0.0.1:37241, -Dfile.encoding=UTF-8, -Duser.country=HU, -Duser.language=hu, -Duser.variant]
Program arguments: [--debug, --load-preferences=file:<josm.pref>erences-init.xml]
Dataset consistency test: No problems found

Plugins:
+ libphonenumber (8.13.22)
+ phonenumber (1.0.4)

Change History (9)

by gaben, 2 years ago

Attachment: UI_1.png added

by gaben, 2 years ago

Attachment: UI_2.png added

by gaben, 2 years ago

Attachment: UI_3.png added

comment:1 by gaben, 2 years ago

Description: modified (diff)

comment:2 by taylor.smock, 2 years ago

Java version: 17.0.8.1+1-Ubuntu-0ubuntu122.04, Private Build, OpenJDK 64-Bit Server VM
VM arguments: [-Djosm.cache=<josm.cache>, -Djosm.pref=<josm.pref>, -Djosm.userdata=<josm.userdata>, -agentlib:jdwp=transport=dt_socket,server=n,suspend=y,address=127.0.0.1:37241, -Dfile.encoding=UTF-8, -Duser.country=HU, -Duser.language=hu, -Duser.variant]

You have some missing VM arguments. I don't think they should affect anything, but it is a possibility.

It is working for me when I start JOSM from the command line with java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=\*:5005 -jar dist/josm-custom.jar. Note that I'm on macos, not Ubuntu though.

comment:3 by gaben, 2 years ago

Thanks, I'll check it. I'm using VMware Workstation if it's making a difference, probably shouldn't.

comment:4 by taylor.smock, 2 years ago

I have no clue. I would assume it is better than Virtualbox, but IDK.

I have seen graphical issues in Virtualbox before, so that might be the problem. But I don't know why it would make a difference. It seems like it is reading the same image file for all three buttons, and I don't know how or why that would happen.

by gaben, 2 years ago

Attachment: UI_4.png added

comment:5 by gaben, 2 years ago

Description: modified (diff)

Not just the icons, but the slippy map is affected as well. Maybe it's some caching issue?

Note: See TracTickets for help on using tickets.