Modify

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?

  1. open a new file
  2. select a .gpx file and click "Open"
  3. open the "Layers" field
  4. manually resize the bar on the right until its slim
  5. rigth click the .gpx file (in "Layers" field)
    • the newly opend window should partially overlap the legend ()
  6. 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)

how_the_legend_should_look.png (8.7 KB ) - added by anonymous 3 months ago.
legend_error.png (8.0 KB ) - added by anonymous 3 months ago.
window_that overlaps_the_legend.png (29.7 KB ) - added by anonymous 3 months ago.
window_that_overlaps_the_legend.png (29.7 KB ) - added by anonymous 3 months ago.

Download all attachments as: .zip

Change History (10)

by anonymous, 3 months ago

by anonymous, 3 months ago

Attachment: legend_error.png added

by anonymous, 3 months ago

by anonymous, 3 months ago

comment:1 by taylor.smock, 3 months ago

Keywords: linux added

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.

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.

comment:2 by taylor.smock, 3 months ago

Owner: changed from team to Pauline
Status: newneedinfo

comment:3 by anonymous, 3 months ago

Owner: changed from Pauline to team
Status: needinfonew

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.

in reply to:  3 comment:4 by taylor.smock, 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 Pauline, 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 skyper, 3 months ago

Cc: stoecker 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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to Pauline.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.