Bug 455213 - Dropdown Menus render at incorrect positions on Multimonitor with Fractional Scaling
Summary: Dropdown Menus render at incorrect positions on Multimonitor with Fractional ...
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.24.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-13 13:42 UTC by Maruthi
Modified: 2022-07-13 04:37 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maruthi 2022-06-13 13:42:26 UTC
SUMMARY
Dropdown Menus and Boxes are drawn at incorrect positions when there is Fractional Scaling and Multiple monitors and different levels of scaling.
On a triple monitor system moving between monitors 1->3 going left to right:-
It renders fine on the first monitor. 
Now moving the Window to the second monitor, the moment the window is full inside the second screen all the dropdown boxes are rendered in the skewed point. It renders fine as long as a part of the window exists on the first monitor.
The Matter becomes worse when moving the window to the third monitor cause now the skewed point is further to the right and the dropdown box cannot be seen.


STEPS TO REPRODUCE
1. Set Kwin to use Wayland
2. Setup Dual/Triple Monitors
3. Set the Scaling factor to a value sub 100 preferably not divisible.
4. Open an application with a dropdown box.
5. Click on Dropdown box while the Window is place on each monitor

OBSERVED RESULT
The Dropdown Box renders in different positions not directly under the expected dropdown point
Moving further and further away everytime you move the window right

EXPECTED RESULT
The Dropdown Box should open directly below the Dropdown  button.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.24.5
(available in About System)
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4

ADDITIONAL INFORMATION
Comment 1 David Edmundson 2022-06-13 13:47:03 UTC
We have known issues if the top left monitor is not at 0,0. Can you confirm that's the same problem.
Comment 2 Maruthi 2022-06-13 13:50:26 UTC
(In reply to David Edmundson from comment #1)
> We have known issues if the top left monitor is not at 0,0. Can you confirm
> that's the same problem.

Oh, That's right the left monitor is not at (0,0).
Comment 3 Bug Janitor Service 2022-06-28 04:36:40 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2022-07-13 04:37:06 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!