Bug 481966 - open at mouse position issues on multimonitor setup when using wayland
Summary: open at mouse position issues on multimonitor setup when using wayland
Status: REPORTED
Alias: None
Product: yakuake
Classification: Applications
Component: general (show other bugs)
Version: 24.02.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Eike Hein
URL:
Keywords: qt6, wayland
Depends on:
Blocks:
 
Reported: 2024-02-28 21:34 UTC by Florian Schulte
Modified: 2024-10-13 14:36 UTC (History)
1 user (show)

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


Attachments
Shows the second issue mentioned in the bug report (761.30 KB, image/png)
2024-02-28 21:38 UTC, Florian Schulte
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Schulte 2024-02-28 21:34:50 UTC
SUMMARY
I use a multi monitor setup (explained below) with the new plasma 6 on wayland.
When I am on desktop and I move the mouse to different monitor, yakuake is not opened at that screen when I press the hotkey. It keeps opening on the old monitor. But when I trigger a mouse click once on the new screen, it opens correctly on that screen and keeps opening on that screen until I click on a different monitor. So it seems that I need to "activate" a monitor to make yakuake recognize the changed mouse position.

Interestingly sometimes this behaviour changes (in the same kde session): Then it works as explained before, but only for the first open-close-cycle on the screen where I clicked. Afterwards it opened on the previous monitor again.


Second problem is, that on the bigger screen, from time to time, only a part of the window is visible. It seem that it has the size of the window when it was opened on the smaller monitors. But on the right side there is not a border and you can type into the invisible area. However this fixes itself when I close and reopen the window again.


My yakuake settings:
Window:
 - Size / Animation:
  - Width: 100%
  - Height: 77%
  - Duration: 10ms (changing it did not have any effect)
 - Position:
  - centered,
  - Show on screen: Mouse position
  - Show on all workspaces
Behaviour (enabled options only):
 - Generic:
  - Keep window open when focus is lost
  - Keep window above othe windows
 - Dialogs:
  - Confirm exit



STEPS TO REPRODUCE
1. Move mouse to display
2. Open Yakuake using hotkey

OBSERVED RESULT
Opens on mouse screen only if it was "activated" before by clicking at least once. Sometimes also "forgets" that a monitor was activated after opening the window once. 

EXPECTED RESULT
Open the window on the monitor where the mouse is, no matter if clicked before or not.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
I use a multi monitor setup with a 1080p / 27inch on the left, a 1080p / 27inch on the right and a 1440p / 32 inch monitor in the middle. They are vertically centered, so that the middle screen sticks out a bit at the bottom and the top ((1440-1080)/2 = 180 pixels). I am using a nvidia graphics card with the "nvidia" drivers on wayland.
Comment 1 Florian Schulte 2024-02-28 21:38:46 UTC
Created attachment 166174 [details]
Shows the second issue mentioned in the bug report
Comment 2 Florian Schulte 2024-04-02 07:28:36 UTC
The main problem (window on wrong screen) has been resolved. Thank you.

However, the problem with the incomplete windows is still occurring at the moment.