Bug 458156 - Notification icon can get stuck in tilted state when it rotates and something interrupts the completion of the animation
Summary: Notification icon can get stuck in tilted state when it rotates and something...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (other bugs)
Version First Reported In: 5.25.4
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 459486 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-08-22 02:49 UTC by Jin Liu
Modified: 2026-07-07 10:00 UTC (History)
5 users (show)

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


Attachments
Tilted notification icon (129.75 KB, image/jpeg)
2022-08-22 02:49 UTC, Jin Liu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jin Liu 2022-08-22 02:49:46 UTC
Created attachment 151492 [details]
Tilted notification icon

SUMMARY
Sometimes, the notification icon is tilted (see attachment). Looks like it's stuck in some frame in the animation.
Don't know how to reproduce, yet.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97
Qt Version: 5.15.5
Comment 1 Lemuel Simon 2022-08-22 17:17:21 UTC
Hi!
Did this happen in a X11 session or a Wayland one? There are bugs specific to each session, so this info helps us narrow it down.
Comment 2 Jin Liu 2022-08-23 00:58:05 UTC
(In reply to Lemuel Simon from comment #1)
> Hi!
> Did this happen in a X11 session or a Wayland one? There are bugs specific
> to each session, so this info helps us narrow it down.

X11 session, with PLASMA_USE_QT_SCALING=1
Comment 3 Nate Graham 2022-09-23 00:17:40 UTC
*** Bug 459486 has been marked as a duplicate of this bug. ***
Comment 4 Ralf Jung 2022-11-18 15:03:18 UTC
I've also seen this occasionally for at least a year now, both on Wayland and X11 sessions.

Operating System: Debian GNU/Linux
KDE Plasma Version: 5.26.0
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Kernel Version: 6.0.0-3-amd64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Xeon® CPU E3-1505M v5 @ 2.80GHz
Memory: 31,2 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics P530
Manufacturer: LENOVO
Product Name: 20ENCTO1WW
System Version: ThinkPad P50
Comment 5 Nate Graham 2024-08-23 02:45:27 UTC
This seems fixed in Plasma 6. Can you confirm, Jin? Have you seen it at all in any versions of Plasma 6?
Comment 6 Jin Liu 2024-08-23 02:52:11 UTC
(In reply to Nate Graham from comment #5)
> This seems fixed in Plasma 6. Can you confirm, Jin? Have you seen it at all
> in any versions of Plasma 6?

It happens much less often, but I have seen it at least once in 6.1. Unfortunately I'm still unable to reproduce it consistently.

It seems to happen when the system is under heavy load (e.g. when building KDE). So I guess it's a timing issue that might trigger when plasmashell is very slowed down.
Comment 7 Nate Graham 2024-08-23 03:47:06 UTC
Darn. Thanks anyway for the update.
Comment 8 Jin Liu 2025-02-17 07:09:57 UTC
I've never seen this again in Plasma 6.2 and 6.3. So perhaps it has fixed itself, and I'm closing this now.
Comment 9 Nate Graham 2026-06-11 14:41:35 UTC
Just saw this happen on current git master; re-opening.

Kai found an easy way to reproduce:
1. System Settings > Notifications > Application Notifications > Other Applications > Show in history
2. `notify-send foo bar`
3. while the notification icon is visible, middle-click it to enter DND mode
4. middle-click it again to edit DND mode

Now the icon is stuck in its rotated state.
Comment 10 Nate Graham 2026-06-11 14:44:12 UTC
Simplified steps:

1. `notify-send foo bar -h string:desktop-entry:firefox`
2. while the notification icon is visible, middle-click it to enter DND mode
3. middle-click it again to edit DND mode
Comment 11 Nate Graham 2026-06-11 14:57:02 UTC
In progress with https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/6734.
Comment 12 Kai Uwe Broulik 2026-06-11 19:21:26 UTC
Git commit 75820930abf03353031f583b127c9db44a3399ff by Kai Uwe Broulik.
Committed on 11/06/2026 at 18:41.
Pushed by broulik into branch 'master'.

applets/notifications: Explicitly set rotation in the unread state

Otherwise the property isn't part of the State mechanism.
If the transition animation gets interrupted (e.g. by switching
to do not disturb while it's running) it won't return to its
original value it seems (alwaysRunToEnd et al didn't make difference).

M  +3    -0    applets/notifications/CompactRepresentation.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/75820930abf03353031f583b127c9db44a3399ff
Comment 13 Kai Uwe Broulik 2026-06-11 19:52:37 UTC
Git commit 347516f19a461855c97f035db21a0164ae2ed745 by Kai Uwe Broulik.
Committed on 11/06/2026 at 19:22.
Pushed by broulik into branch 'Plasma/6.7'.

applets/notifications: Explicitly set rotation in the unread state

Otherwise the property isn't part of the State mechanism.
If the transition animation gets interrupted (e.g. by switching
to do not disturb while it's running) it won't return to its
original value it seems (alwaysRunToEnd et al didn't make difference).


(cherry picked from commit 75820930abf03353031f583b127c9db44a3399ff)

Co-authored-by: Kai Uwe Broulik <kde@privat.broulik.de>

M  +3    -0    applets/notifications/CompactRepresentation.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/347516f19a461855c97f035db21a0164ae2ed745
Comment 14 Kai Uwe Broulik 2026-07-07 10:00:47 UTC
Git commit b1d401f6a6be32f5f805eff441ee285f1ff65171 by Kai Uwe Broulik.
Committed on 07/07/2026 at 10:00.
Pushed by broulik into branch 'Plasma/6.6'.

applets/notifications: Explicitly set rotation in the unread state

Otherwise the property isn't part of the State mechanism.
If the transition animation gets interrupted (e.g. by switching
to do not disturb while it's running) it won't return to its
original value it seems (alwaysRunToEnd et al didn't make difference).


(cherry picked from commit 75820930abf03353031f583b127c9db44a3399ff)

Co-authored-by: Kai Uwe Broulik <kde@privat.broulik.de>

M  +3    -0    applets/notifications/CompactRepresentation.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/b1d401f6a6be32f5f805eff441ee285f1ff65171