Bug 449459

Summary: "Show On-Screen Display When Switching" option results in the on-screen display presenting on different monitors in a multi-monitor setup.
Product: [Plasma] kwin Reporter: Mitchell Jackson <mitchell_jackson>
Component: multi-screenAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: kde, nate, plasma-bugs-null
Priority: NOR Keywords: multiscreen
Version First Reported In: 5.18.7   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: DialogueBox

Description Mitchell Jackson 2022-02-01 15:02:40 UTC
Created attachment 146127 [details]
DialogueBox

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

"Show On-Screen Display When Switching" option results in the on-screen display presenting on different monitors in a multi-monitor setup.

STEPS TO REPRODUCE
1. Set "Show on-screen display when switching:" to true, default duration
2. Create 3 Virtual Desktops in 3 Rows
3. Switch between them using keyboard shortcut

OBSERVED RESULT
The on-screen display appears on a different monitor depending on direction of travel, start and end point

EXPECTED RESULT
The on-screen display should appear only on the Primary Monitor

SOFTWARE/OS VERSIONS
Windows: n/a
macOS: n/a
Linux/KDE Plasma: Kubuntu 20.04.3 LTS
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION
Comment 1 Vlad Zahorodnii 2022-02-02 14:12:26 UTC
That osd is placed on the active output. In 5.18, the active output is the output that has an active window, but in later plasma versions, the active output is an output that has pointer.
Comment 2 Aleix Pol 2022-03-02 15:08:08 UTC
It could make sense to show it in the primary output now that we have it, this way it will always show in the same output.