Opened 3 months ago
Last modified 3 months ago
#23917 new defect
Gpx legend refresh not working
Reported by: | Pauline | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | template_report, linux | Cc: | stoecker |
Description
What steps will reproduce the problem?
- open a new file
- select a .gpx file and click "Open"
- open the "Layers" field
- manually resize the bar on the right until its slim
- rigth click the .gpx file (in "Layers" field)
- select something in the new fild or click somewhere else to close it
What is the expected result?
When the window (that overlaps the legend) is closed, the legend should be fully visible, like before ().
What happens instead?
When the window (that overlaps the legend) is closed, only the part of the legend that hasn´t been overlapped is visible. The part of the legend, that was overlapped by the other window is not visible anymore ().
Only after moving the map or changing the size of the right bar, the full legend is visible again.
Please provide any additional information below. Attach a screenshot if possible.
Sometimes the problem accures on my laptop, sometimes not. If the legend is fully visible for you even though you followed all the steps, try it one more time.
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 de) Linux openSUSE Tumbleweed Memory Usage: 410 MB / 3978 MB (151 MB allocated, but free) Java version: 21.0.4+7-suse-1.1-x8664, N/A, OpenJDK 64-Bit Server VM Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel Screen: :0.0 2048x1152x[Multi depth]@120Hz (scaling 1.00×1.00) :0.1 1920x1200x[Multi depth]@[Unknown refresh rate] (scaling 1.00×1.00) Maximum Screen Size: 2048×1200 Best cursor sizes: 16×16→16×16, 32×32→32×32 Environment variable LANG: de_DE.UTF-8 System property file.encoding: UTF-8 System property sun.jnu.encoding: UTF-8 Locale info: de_DE Numbers with default locale: 1234567890 -> 1234567890 Desktop environment: KDE Java package: java-21-openjdk:x86_64-21.0.4.0 apache-commons-logging: apache-commons-logging:noarch-1.2 Plugins: + livegps (36331) Last errors/warnings: - 00002.135 W: Erweiterungen aktualisieren - Sie haben JOSM aktualisiert. Zur Vermeidung von Problemen sollten die Erweiterungen ebenfalls aktualisiert werden. Erweiterungen jetzt aktualisieren? - 00022.915 W: Cannot lock cache directory. Will not use disk cache
Attachments (4)
Change History (10)
by , 3 months ago
Attachment: | how_the_legend_should_look.png added |
---|
by , 3 months ago
Attachment: | legend_error.png added |
---|
by , 3 months ago
Attachment: | window_that overlaps_the_legend.png added |
---|
by , 3 months ago
Attachment: | window_that_overlaps_the_legend.png added |
---|
comment:1 by , 3 months ago
Keywords: | linux added |
---|
comment:2 by , 3 months ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
follow-up: 4 comment:3 by , 3 months ago
Owner: | changed from | to
---|---|
Status: | needinfo → new |
I tested a bit and have following results:
- It happens with KDE running under X11 and Wayland
- It happens with a fresh setup (configs removed)
- It happens on another machine of a colleague running same OS
- It does not happen an a third machine of another colleague running same OS
- I switched to Java 22.0.2 and it happens as well.
I have not been able to find what's different between systems where the issue happens and the system where not.
comment:4 by , 3 months ago
Replying to anonymous:
- It happens with KDE running under X11 and Wayland
So this isn't display tech dependent. Which is good.
- It happens with a fresh setup (configs removed)
This means it should be more reproducible.
- It happens on another machine of a colleague running same OS
This means it should be more reproducible.
- It does not happen an a third machine of another colleague running same OS
This means that debugging this is going to be a PITA.
- I switched to Java 22.0.2 and it happens as well.
And it is not Java version dependent (at least between Java 21/22).
I have not been able to find what's different between systems where the issue happens and the system where not.
I just installed openSUSE tumbleweed in a VM, and was unable to reproduce. Can you try booting from a liveusb/livecd and see if it still happens? I'm kind of wondering if it is a configuration set somewhere on your systems.
I also don't know the age of the systems. It is possible that hardware issues may be starting. Or it might be a GPU driver issue.
comment:5 by , 3 months ago
I have an assumption what the problem could be. Maybe its a kernel driver issue.
Some colleagues tested if they have the problem as well.
On this tower there wasn't the problem with the overlapping legend:
07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] (rev c7) Subsystem: Sapphire Technology Limited Lexa PRO [Radeon RX 550] Kernel driver in use: amdgpu Kernel modules: amdgpu **Tower PC**
On these laptops the problem appears:
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-UP3 GT2 [Iris Xe Graphics] (rev 0c) Subsystem: Dell Device 0baa Kernel driver in use: i915 Kernel modules: i915, xe
00:02.0 VGA compatible controller: Intel Corporation CometLake-U GT2 [UHD Graphics] (rev 02) DeviceName: Onboard - Video Subsystem: Dell Device 09a0 Kernel driver in use: i915
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09) DeviceName: Onboard IGD Subsystem: Dell Device 066f Kernel driver in use: i915
0000:00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01) Subsystem: Dell Device 0a7b Kernel driver in use: i915 Kernel modules: i915, xe
comment:6 by , 3 months ago
Cc: | added |
---|
I cannot reproduce on my Debian system using Wayland and Gnome:
Linux hostname 6.1.0-25-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.106-3 (2024-08-26) x86_64 GNU/Linux
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller]) Subsystem: Hewlett-Packard Company 2nd Generation Core Processor Family Integrated Graphics Controller Kernel driver in use: i915 Kernel modules: i915
As I remember problems particularly with KDE it might be useful to test with a new user and a different Desktop environment like Gnome or Xfce.
Maybe, Dirk can help here as he is familiar with openSUSE.
I wasn't able to repro despite trying multiple times on macOS and Fedora (although the linux install was using the Flatpak). This might be an issue related to X/Wayland or something.
Can you try the flatpak and see if you can reproduce there? If so, it is probably something wrong with the Java package or dependencies in OpenSuse.