| Summary: | Incorrect 'Widgets Unlocked' notification appears after undoing removal of 'Folder View' desktop widget | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Alexander Mentyu <notuxius> |
| Component: | general | Assignee: | David Edmundson <kde> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bugseforuns, kde, plasma-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | 5.11.4 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/plasma-desktop/7e2801974ab58e1a3a72c3ebd7e2d98b0c97b5eb | Version Fixed/Implemented In: | 5.11.5 |
| Sentry Crash Report: | |||
|
Description
Alexander Mentyu
2017-12-04 14:42:15 UTC
FTR: When a widget is removed, it becomes "system immutable" so it cannot be removed by someone else before it's purged by the timeout. When this is undone, the widget gets its old immutability back and triggers the notification. Patch: https://phabricator.kde.org/D9222 (simpler approach than the one described) Git commit 7e2801974ab58e1a3a72c3ebd7e2d98b0c97b5eb by Kai Uwe Broulik. Committed on 07/12/2017 at 12:48. Pushed by broulik into branch 'Plasma/5.11'. [Folder View] Show "Widgets unlocked" help only for containment When removing a widget it turns system-immutable, when undoing it regains its old immutability triggering the notification. Rather than tracking whether immutability changed from system- or user-immutability, just don't spawn the notification if not a containment, which makes sense anyway. FIXED-IN: 5.11.5 Differential Revision: https://phabricator.kde.org/D9222 M +1 -1 containments/desktop/package/contents/ui/main.qml https://commits.kde.org/plasma-desktop/7e2801974ab58e1a3a72c3ebd7e2d98b0c97b5eb |