Summary: | Uninstalled Plasma widget is not immediately removed from system tray settings | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Patrick Silva <bugseforuns> |
Component: | System Tray | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | materka, nate |
Priority: | NOR | ||
Version: | master | ||
Target Milestone: | 1.0 | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Patrick Silva
2020-10-18 23:09:16 UTC
Hi Patrick, uninstall from Widget Explorer is always postponed for 1 minute (IIRC), so that user can cancel the delete action. If you uninstall it from the "Download new Plasma widgets" it will apply immediately. Can you check if that was your case? (In reply to Konrad Materka from comment #1) > Hi Patrick, > > uninstall from Widget Explorer is always postponed for 1 minute (IIRC), so > that user can cancel the delete action. If you uninstall it from the > "Download new Plasma widgets" it will apply immediately. > > Can you check if that was your case? Widget uninstalled via "Download new Plasma widgets" is immediately removed from system tray settings. Widget uninstalled via Widget Explorer remains in system tray settings even after 1 minute. I've run some tests and it is working fine for me - even with applet activated, it was correctly removed from the system tray. Maybe I understand Widget Explorer differently - how do you access it? By right-clicking on desktop, then choosing "Add widgets..."? (In reply to Konrad Materka from comment #3) >By right-clicking on desktop, then choosing "Add widgets..."? yes Then I have no idea what happened, it is working correctly for me (I just need to wait around 1 minute). Maybe there is something wrong with your cache? I remember I had to run kbuildsycoca5 at some point, but it might be unrelated. Can you run: dbus-monitor | grep "interface=org.kde.plasma.kpackage;" It should output something like this after install and uninstall: signal time=1603297655.524835 sender=:1.330 -> destination=(null destination) serial=494 path=/KPackage/Plasma/Applet; interface=org.kde.plasma.kpackage; member=packageUpdated signal time=1603297659.999057 sender=:1.330 -> destination=(null destination) serial=495 path=/KPackage/Plasma/Applet; interface=org.kde.plasma.kpackage; member=packageUninstalled If there is no uninstall signal, then there is a bug in Widget Explorer or KPackage, not in the System Tray (which depends on this signal). Patrick, did you had a chance to check that? When should I run your commnand? Before uninstalling the widget via widget explorer? If so, it gives me no output 1 minute after I uninstall the widget. Firstly run:
kbuildsycoca5
to rebuild cache.
Then:
> dbus-monitor | grep "interface=org.kde.plasma.kpackage;"
"Download new Plasma widgets"
Should output signals when widget is installed and uninstalled. Check "Download new Plasma widgets" first, to make sure you have those signals.
Then uninstall from widget explorer, wait around one minute. Widget should disappear from widget explorer at the same time as signal is emitted. Or maybe it never disappears (until Plasma is restarted)?
I ran kbuildsycoca5, re-installled fokus, Weather Widget and redshift control widgets but currently they not even are marked as installed in "Download new Plasma widgets" window, despite they appear in the Widget Explorer. And Plasma crashes often immediately after widget installation. And dbus-monitor | grep "interface=org.kde.plasma.kpackage;" shows no output 1 minute after I uninstall a widget via Widgets Explorer. (In reply to Patrick Silva from comment #10) > And > > dbus-monitor | grep "interface=org.kde.plasma.kpackage;" > > shows no output 1 minute after I uninstall a widget via Widgets Explorer. the uninstalled widget disappears from Widget Explorer as expected, but no output... Can you check of fresh user? I just tested and it is working correctly. Tested with a new user account and the situation remains the same on my system: Plasma widgets uninstalled via Widget Explorer disappear after 1 minute but they remain in system tray settings until plasmashell process is restarted. Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.20.80 KDE Frameworks Version: 5.76.0 Qt Version: 5.15.0 Sorry guys, but I don't have enough skills to fix this issue, so please assign it to someone else;) This issue also affects systray applets. For example, uninstall kdeconnect and print manager, both installed by default at least on neon unstable. Printers and KDE Connect applets remain in system tray settings, under "Hardware Control", until plasmashell process is restarted. Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.20.80 KDE Frameworks Version: 5.76.0 Qt Version: 5.15.1 I no longer can reproduce this bug after fix for bug 429442. Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.20.80 KDE Frameworks Version: 5.78.0 Qt Version: 5.15.2 Yaaaaaaaay! *** This bug has been marked as a duplicate of bug 429442 *** |