Bug 451090 - When each screen has a Notifications widget, notifications appear on non-primary monitor on Wayland
Summary: When each screen has a Notifications widget, notifications appear on non-prim...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (other bugs)
Version First Reported In: 5.24.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: multiscreen, wayland-only
Depends on:
Blocks:
 
Reported: 2022-03-03 15:35 UTC by boatward_sondeli
Modified: 2025-04-08 15:49 UTC (History)
6 users (show)

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


Attachments
Video of the bug (3.43 MB, video/webm)
2024-12-11 13:48 UTC, Álvaro M.
Details
Video of a workaround (2.29 MB, video/mp4)
2025-02-23 18:22 UTC, Álvaro M.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description boatward_sondeli 2022-03-03 15:35:53 UTC
Notifications not showing on primary monitor on wayland.
***
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
***


STEPS TO REPRODUCE
1. Set primary screen on wayland
2. Add two system trays
3. Receive a notification

OBSERVED RESULT
The notification should show on the primary screen. This it how it works on X11.

EXPECTED RESULT
The notification appears on the secondary screen.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.24.2
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Álvaro M. 2024-12-11 13:48:17 UTC
Created attachment 176524 [details]
Video of the bug

This is a video showing how the notifications still appear on the wrong display.
Comment 2 Álvaro M. 2025-02-23 18:12:41 UTC
Update: This happens only when both displays have a [default] panel. The notification goes to the display with the last created panel, no matter if the notification was configured to go to the primary display or not.

In other words, a workaround is to remove the panel from the primary display, save, and then create a new one in that same primary display. This way, KDE displays the notifications in the last created panel: the primary one.
Comment 3 Álvaro M. 2025-02-23 18:22:20 UTC
Created attachment 178779 [details]
Video of a workaround
Comment 4 Julien Delquié 2025-02-23 20:54:58 UTC
Big thanks for this workaround!
Comment 5 Riccardo Robecchi 2025-03-10 17:46:09 UTC
The same happens on X11 as well on Plasma 6.