Bug 452460 - Context menus and Popup menus in QT apps appear in the wrong position when the resolutions are different on multi screen setup - Wayland
Summary: Context menus and Popup menus in QT apps appear in the wrong position when th...
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 5.24.3
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-10 10:52 UTC by Rurigk
Modified: 2022-05-03 10:38 UTC (History)
3 users (show)

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


Attachments
Screen configuration (71.64 KB, image/png)
2022-04-10 10:52 UTC, Rurigk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rurigk 2022-04-10 10:52:06 UTC
Created attachment 148084 [details]
Screen configuration

Context menus and Popup menus in QT apps appear in the wrong position when the resolutions are different on multi screen setup


STEPS TO REPRODUCE
1. Use multi screen setup with different screens resolutions (ie 1920x1080, 3840x2160)
2. Put both screens at 100% scale
3. Put the smaller screen at the bottom left side of the bigger screen (see attachment)
4. Open any Qt app or some wxwidgets (Filezilla) and open a menu

OBSERVED RESULT
The menu appears the wrong position

EXPECTED RESULT
The menu appears at the mouse position (Context menus) or below the app menu

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Manjaro

KDE Plasma Version: 5.24.3
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.3
Wayland

ADDITIONAL INFORMATION
Both screens are connected via HDMI

The wrong behaviour is not present when the smaller screen is at the top left, top right of bottom right of the bigger screen

The wrong behaviour is not present when the bigger screen (3840x2160) scale is set to 200% because that matches the smaller screen (1920x1080)

The wrong behaviour is not present if only one screen is connected

The bug affects some apps that are not using QT like Filezilla but don't affect GTK apps like Firefox

This is my first bug report, if the product is wrong, please move to the right product (i found similar bugs in this product)
I opened this bug report since the other ones are marked as RESOLVED and the issue still persist
Comment 1 David Edmundson 2022-05-03 10:38:52 UTC
Nate, please do not move bugs that obviously not kwin's fault to kwin! We're not a dumping ground for anything wayland.

As for the bug report. See the See Also links in the header