Bug 481464 - Context menu for last/lower entries is misplaced on Wayland
Summary: Context menu for last/lower entries is misplaced on Wayland
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR minor
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-02-17 13:01 UTC by Jure Repinc
Modified: 2024-02-18 04:56 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Display configuration (60.42 KB, image/png)
2024-02-17 13:01 UTC, Jure Repinc
Details
Screenshot of context menu displacement (200.93 KB, image/png)
2024-02-17 13:10 UTC, Jure Repinc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jure Repinc 2024-02-17 13:01:40 UTC
Created attachment 165898 [details]
Display configuration

SUMMARY
Using Dolphin 24.04.70 on openSUSE Tumbleweed with packages built daily from KDE git. Some more system info:
Operating System: openSUSE Tumbleweed 20240214
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.4-1-default (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600 6-Core Processor
Memory: 31.1 GiB of RAM
Graphics Processor: AMD Radeon RX 480 Graphics

I have two monitors, setup with different resolutions/sizes and different scaling settings. See attached screenshots.

STEPS TO REPRODUCE
1. Right click on any of the last entries in sidepanel (e.g. one under Devices subsection) or in the files list right after you open Dolphin. The lower you click the more context menu is displaced,

OBSERVED RESULT
Context menu opens but is misplaced, does not appear at the point where you clicked with mouse. You have to switch to another window and then back to get the context menu placed properly.

EXPECTED RESULT
Place the context menu at the point where you rightclick with mouse right away.
Comment 1 Jure Repinc 2024-02-17 13:10:15 UTC
Created attachment 165902 [details]
Screenshot of context menu displacement

I clicked on the last entry in the file list and the context menu is displaced quite a bit towards the top
Comment 2 fanzhuyifan 2024-02-18 04:56:11 UTC
Can't reproduce on master build, wayland, arch linux, with one 1920x1080 screen at 100%, and one 2560x1600 screen at 135%