Bug 454334

Summary: Notification popup can appear partially off-screen
Product: [Plasma] plasmashell Reporter: Konstantinas <konstantinas.kausas>
Component: NotificationsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: alekohalkias, ian, kde, kdelibs-bugs-null, nate, sdaniluk
Priority: NOR    
Version First Reported In: 6.1.0   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In: 6.3.0
Sentry Crash Report:
Attachments: Full screen screenshot, where it is clearly visible that notification popup is not fully on screen.
If user tries to unhide panel while notification present, notification will overlap panel
Screenshot of panel settings
photo of notification going off the screen

Description Konstantinas 2022-05-24 13:42:35 UTC
Created attachment 149166 [details]
Full screen screenshot, where it is clearly visible that notification popup is not fully on screen.

SUMMARY
Half of notification popup can appear outside of screen (viewing zone), sometimes not allowing to to dismiss them.
Also if panel set to auto-hide and user tries to un-hide it while notification is present, notification overlap panel.
Problem persist only when notifications should appear near notification icon, if i choose custom position problem disappears.
Attaching picture for better explanation.

STEPS TO REPRODUCE
1. Set Notifications popup location -> "Show near notification icon"
2. Create panel, add System Tray and few more widgets ( I add Digital Clock and Compact Shutdown )
3. Enter "System Tray Setting" -> "Entries" -> Set Notifications Visiblity to "Always hidden"
4. Enter panel edit mode
4.1. Set Visibility - Auto Hide
4.2. Set Aligment - Right
4.3. Drag panel to bottom edge, and adjust its length to first widgets ( will add picture for clearance ), so no extra space is left
5. Create notification ( i was using notify-send )

OBSERVED RESULT
Notification popup appears outside screen, cutting half or more notification popup.

EXPECTED RESULT
Notification popup fully appears on screen, having empty gap between each screen corner.

SOFTWARE/OS VERSIONS
Kernel: 5.17.9-arch1-1 (64-bit)
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4
Graphics Platform: X11

ADDITIONAL INFORMATION
Will try to add as attachment picture, to make it more clear.
Comment 1 Konstantinas 2022-05-24 13:43:54 UTC
Created attachment 149167 [details]
If user tries to unhide panel while notification present, notification will overlap panel
Comment 2 Konstantinas 2022-05-24 13:45:56 UTC
Created attachment 149168 [details]
Screenshot of panel settings
Comment 3 Aleko 2022-11-14 17:55:18 UTC
I have the same issue as well now. I was using latte dock for my panels and switched back to regular plasma panels and now notifications are partially off screen as well and lower than they should be. Did you happen to use latte dock as well and switch back to plasma panels when the issue occurred?

Operating System: Arch Linux
KDE Plasma Version: 5.26.3
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.7
Kernel Version: 6.0.8-arch1-1 (64-bit)
Graphics Platform: X11
Comment 4 Aleko 2022-11-14 17:57:01 UTC
Created attachment 153742 [details]
photo of notification going off the screen
Comment 5 Konstantinas 2022-11-15 07:07:38 UTC
(In reply to Aleko from comment #3)
> I have the same issue as well now. I was using latte dock for my panels and
> switched back to regular plasma panels and now notifications are partially
> off screen as well and lower than they should be. Did you happen to use
> latte dock as well and switch back to plasma panels when the issue occurred?
> 
> Operating System: Arch Linux
> KDE Plasma Version: 5.26.3
> KDE Frameworks Version: 5.99.0
> Qt Version: 5.15.7
> Kernel Version: 6.0.8-arch1-1 (64-bit)
> Graphics Platform: X11

Hi, yeah, indeed I later switched to plasma panel when issue occurred, although I think I find workaround.
If you resize panel with system tray making it a bit wider ( a bit longer than your notification pop-up width ), bug seems to go away.
Bit busy at moment, but if you can't replicate bug & workaround, i could upload screenshots later on how i fixed it.
Comment 6 sdaniluk 2024-06-24 04:11:28 UTC
I noticed that the problem started after changing my panels.  I have a panel that auto hides in the bottom right that only contains the system tray.  I have another panel that is visible on the left side of my screen that contains application launcher and icons only task manager, this panel is always visible
Comment 7 ian 2025-01-10 20:39:38 UTC
Still present. I have a similar setup to OP; notifications top right near the icons but pops down partly outside the bounds of the the screen

Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.12.8-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Comment 8 Nate Graham 2025-01-13 17:01:19 UTC
This is fixed in the upcoming Plasma 6.3