Bug 345874 - Notifications seem frozen in a hidden state, so new notifications appear far above the panel
Summary: Notifications seem frozen in a hidden state, so new notifications appear far ...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (other bugs)
Version First Reported In: master
Platform: Kubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: Martin Klapetek
URL: http://i.imgur.com/wS8llQP.png
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-04 20:26 UTC by Tore Havn
Modified: 2025-02-17 21:53 UTC (History)
4 users (show)

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


Attachments
A video showing the issue many times (1.47 MB, video/x-matroska)
2025-01-09 18:40 UTC, JT Hundley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tore Havn 2015-04-04 20:26:22 UTC
I believe notifications can crash/hang/freeze right after they are hidden, but just before they are removed. This causes any subsequent notifications to appear far above the panel.

I've included a screenshot showing a notification, and there appears to be space for two more notifications - and the space between them -  under this notification and the bottom of the screen. I believe the notifications have "lost contact" with the panel, and are now aligning themselves directly from the bottom of the screen, but with two notifications unable to be removed.

From what I can gather from IRC, other people seem to experience similar problems. I.e.:

[02:51:47] <frecel> does anyone else have a problem with notifications not disappearing from the screen?
[02:51:53] <frecel> it happens to me once in a while
[02:53:02] <d_ed> it's not a bug I've heard of
[02:54:49] <frecel> d_ed: it happens once in a while, same with notifications appearing high above the panel instead right on top of it

Reproducible: Sometimes

Steps to Reproduce:
I haven't yet been able to identify a complete way to reproduce, but it seems that the problem might be triggered by several processes trying to call notifications at the same time.

Possible way to reproduce:
1. Mount a USB-stick and open a file from it. E.g. open a text file located on the USB stick with Kate.
2. Unmount the USB-stick from the notifications panel.
3. A notification will normally jump up informing that it is safe to remove the USB device.
4. However, at the same time, a notification will now jump up informing that the device could not be unmounted, because a file is in use.

Actual Results:  
New notifications behave normally, except they seem to be floating too far from the panel.

Expected Results:  
Notifications should appear close to the panel, and then disappear after a few seconds.
Comment 1 Kai Uwe Broulik 2015-04-04 20:27:21 UTC
I think this has been fixed by http://quickgit.kde.org/?p=plasma-workspace.git&a=commit&h=ef14c3847c774dd1ad4efe2f726caed7792fe76b
Comment 2 Marco Martin 2015-04-07 11:13:04 UTC
marking as fixed, reopen if still happens after that commit
Comment 3 JT Hundley 2025-01-06 21:55:31 UTC
Sorry to comment on such an ancient bug, but this has either come back or was never fixed. Here's my new report:
SUMMARY
Notifications sometimes disappear, causing future notifications to be shown above the previous one.

STEPS TO REPRODUCE
1. Run: notify-send --urgency=critical Test '<a href="http://kde.org">Click Me!</a>'
2. Click the URL in the notification. 
3. If clicking caused your current activity to change, the notification will disappear. If not, click the URL a 2nd time to make it disappear.
4. Repeat this process and you will see that notifications spawn higher and higher in the screen.

OBSERVED RESULT
Notifications are shown higher on the screen rather than right above the taskbar when nothing else is taking up space.

EXPECTED RESULT
Notifications should be shown at the lowest point possible when there is no notification taking up the space.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.12.8-zen1-1-zen (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Restarting plasmashell resets the issue, causing notifications to spawn at the bottom again.
Comment 4 Marco Martin 2025-01-09 14:34:46 UTC
I can't get the notification to close (or move) by clicking on the link

even if clicking it causes an activity switch
Comment 5 JT Hundley 2025-01-09 18:40:08 UTC
Created attachment 177236 [details]
A video showing the issue many times

Here's a video showing the issue.
Comment 6 JT Hundley 2025-02-17 21:53:38 UTC
I think this issue is fixed in:
Operating System: EndeavourOS 
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2

Now when I click on a link in the notification, the notification does not disappear and future notifications do not appear above the last one.