Bug 449085 - When a pinned apples loses focus, notifications move downwards, covering the applet
Summary: When a pinned apples loses focus, notifications move downwards, covering the ...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (other bugs)
Version First Reported In: master
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-24 17:22 UTC by jasperbakker2
Modified: 2023-01-01 00:37 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 5.27
Sentry Crash Report:


Attachments
A video showing the issue (942.71 KB, video/x-matroska)
2022-01-24 17:22 UTC, jasperbakker2
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jasperbakker2 2022-01-24 17:22:18 UTC
Created attachment 145867 [details]
A video showing the issue

STEPS TO REPRODUCE
1. Recieve a notification (for example, a file transfer)
2. Pin an applet (the notification will slide to a position above the applet
3. Focus on another window

OBSERVED RESULT
The notification moves downwards to its previous position and thus covering the applet below it

EXPECTED RESULT
The notification should stay above the applet so it's still visible

Operating System: Arch Linux
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.16.2-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i5-10300H CPU @ 2.50GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics

ADDITIONAL INFORMATION
This problem persists when using latte dock and when using the default panel.

(Sorry for the flickering in my recording, I don't know why this happens)
Comment 1 Nate Graham 2022-01-24 22:06:41 UTC
Can reproduce.
Comment 2 Bug Janitor Service 2022-12-08 12:58:22 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2426
Comment 3 Nate Graham 2023-01-01 00:37:07 UTC
Git commit 64492d5812c89a4f502b8cdae6aa5a4960c8b56a by Nate Graham, on behalf of Bharadwaj Raju.
Committed on 01/01/2023 at 00:36.
Pushed by ngraham into branch 'master'.

applets/notifications: Fix notifications jumping around when dialogs close or lose focus

Keep around the last non-notification focused Plasma dialog, so we can maintain
stable notification positioning even if we have a Plasma dialog which loses focus
but stays visible (think pinned System Tray applets).

This also fixes notifications jumping down on close, since now the dialog used to
calculate the notification popups's offset is never itself a NotificationPopup.
Related: bug 461492, bug 426187
FIXED-IN: 5.27

M  +15   -7    applets/notifications/package/contents/ui/global/Globals.qml

https://invent.kde.org/plasma/plasma-workspace/commit/64492d5812c89a4f502b8cdae6aa5a4960c8b56a