Bug 455396 - Some notifications have different appearance animations
Summary: Some notifications have different appearance animations
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (other bugs)
Version First Reported In: 5.24.5
Platform: Debian testing Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-16 11:28 UTC by Alex
Modified: 2022-06-21 16:39 UTC (History)
4 users (show)

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


Attachments
A notification of the program, which has has the wrong animation, looking like other plasma notifications on my system. (8.21 KB, image/png)
2022-06-17 17:37 UTC, Alex
Details
An example notification from notify-send (6.64 KB, image/png)
2022-06-17 17:37 UTC, Alex
Details
Sliding notifications (72.07 KB, video/webm)
2022-06-17 17:59 UTC, Alex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2022-06-16 11:28:56 UTC
SUMMARY
The notifications of some programs, like electron apps, seem to have an animation to slide down from the top (when using a vertical panel with the notification area at the bottom) in recent plasma versions. I would like to disable it.

For some reason I cannot reproduce the animation with notify-send. Sending a test notification just shows it, like I would like other notifications to be shown without much animation as well.
This should not disable all other animations like effects when windows are minimized.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.2
Graphics Platform: X11
Comment 1 Patrick Silva 2022-06-16 14:16:05 UTC
bug 454562 is related
Comment 2 Alex 2022-06-16 14:18:40 UTC
Looks related, but I don't have the fade animation like in the video.
But it may be that I turned off animations somewhere what disabled the fade animation, but the slide animation needs to be disabled at another place.
Comment 3 Nate Graham 2022-06-16 19:59:41 UTC
You're talking about notifications sent by the app that bypass Plasma's notification system. We don't have any control over those, unfortunately. You'll need to report this to the developers of those apps.
Comment 4 Alex 2022-06-16 20:30:23 UTC
> You're talking about notifications sent by the app that bypass Plasma's notification system. 

I don't think so. I see plasma notifications and they show up in the Plamoid's notification history, so I think they are sent using the usual APIs.

I guess there are several ways that electron apps can use notifications, but I am 99% sure that the notifications I am talking about are displayed by plasma. And the behavior changed after some Plasma/KF upgrades while the electron apps were not updated at the same time.
Comment 5 Nate Graham 2022-06-17 17:25:04 UTC
Can you attach a screenshot that shows one of the notifications you're talking about?
Comment 6 Alex 2022-06-17 17:37:38 UTC
Created attachment 149864 [details]
A notification of the program, which has has the wrong animation, looking like other plasma notifications on my system.
Comment 7 Alex 2022-06-17 17:37:59 UTC
Created attachment 149865 [details]
An example notification from notify-send
Comment 8 Alex 2022-06-17 17:39:58 UTC
Sorry, I had to mask out some of the data in the notification, but I think it should be visible that they are both have the same style.

Unfortunately, I did NOT see the wrong animation when sending the test notification. I tried to send one right afterward if this triggers it, but it didn't either. I will watch out for what may reproduce it.
Comment 9 Nate Graham 2022-06-17 17:45:18 UTC
So those are Plasma notifications. They should appear by the Notifications tray applet.

I'm asking for a screenshot that shows these notifications:

> The notifications of some programs, like electron apps, seem to have an animation to slide down from the top

Because Plasma notifications don't do that.
Comment 10 Alex 2022-06-17 17:52:07 UTC
I can reproduce now with notify-send. There it happens when I have multiple notifications and they disappear after each other. I am not sure why it seems to happen with single ones in my case, but maybe depending on the timing of multiple notifications? I'll make a video.
Comment 11 Alex 2022-06-17 17:59:31 UTC
Created attachment 149866 [details]
Sliding notifications
Comment 12 Alex 2022-06-17 18:01:22 UTC
I now wonder, if the sliding of a single notifiction is somehow a bug of there being multiple with almost the same timestamp or something like that.
Comment 13 Nate Graham 2022-06-17 18:02:02 UTC
Those are Plasma notifications. However they're clearly sent by `notify-send`, not an Electron app. Do the Electron-app-sent notifications have the same visual styling as those?
Comment 14 Alex 2022-06-17 18:08:25 UTC
> Those are Plasma notifications. However they're clearly sent by `notify-send`, not an Electron app. Do the Electron-app-sent notifications have the same visual styling as those?

See the first attachment.
Comment 15 Nate Graham 2022-06-21 15:59:15 UTC
Thanks.

If you globally disable animations in System Settings, do the objectionable animations go away?
Comment 16 Alex 2022-06-21 16:04:39 UTC
With animation speed = instant (I think that's what you're meaning with disabling animations?) the notifications just disappear without an effect and the ones above the removed notification are moved down without any animation.
Comment 17 Nate Graham 2022-06-21 16:39:35 UTC
Right, that's what happens when you disable all animations.

That's basically the UI knob we want to offer; disabling individual animations is considered over-configuration, sorry.