Bug 351579

Summary: Removing applet through context menu does not trigger remove animation
Product: [Plasma] plasmashell Reporter: Kai Uwe Broulik <kde>
Component: ContainmentAssignee: Sebastian Kügler <sebas>
Status: CONFIRMED ---    
Severity: minor CC: bugseforuns, kde, nate, noahadvs, notuxius
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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