Bug 351579 - Removing applet through context menu does not trigger remove animation
Summary: Removing applet through context menu does not trigger remove animation
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Containment (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Sebastian Kügler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-21 17:25 UTC by Kai Uwe Broulik
Modified: 2023-08-02 18:47 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Uwe Broulik 2015-08-21 17:25:14 UTC
When removing an applet through its context menu, it disappears immediately whereas using the X on the applet handle, we get a nice animation first.

The problem is that the "remove" action deletes the applet right away, whereas the X first runs the animation and then calls said "remove" action.

Reproducible: Always
Comment 1 Alexander Mentyu 2017-12-07 16:21:26 UTC
Both right click close and handle close seems not using animations or they are hardcoded and to fast - can't tell for sure - i set animations in 'Compositor' to 'Very slow' for investigating
Comment 2 David Edmundson 2017-12-07 17:55:55 UTC
Compositor settings don't alter Plasma
Comment 3 Noah Davis 2023-08-02 03:24:58 UTC
In case it helps anyone in the future, the issue is that the animation is defined in plasma-desktop/containments/desktop/package/contents/ui/ConfigOverlay.qml, so the QAction used by the menu can't use the same animation.
Comment 4 Noah Davis 2023-08-02 03:26:15 UTC
The relevant C++ code is currently in plasma-framework/src/plasma/applet.cpp and plasma-framework/src/plasma/private/applet_p.cpp