https://bugs.kde.org/show_bug.cgi?id=404641

            Bug ID: 404641
           Summary: Lots of crud left in
                    plasma.org.kde.plasma.desktopappletsrc left over from
                    no-longer used desktop applets.
           Product: plasmashell
           Version: master
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Desktop Containment
          Assignee: se...@kde.org
          Reporter: rodney.ba...@iinet.net.au
                CC: plasma-b...@kde.org
  Target Milestone: 1.0

Created attachment 118249
  --> https://bugs.kde.org/attachment.cgi?id=118249&action=edit
plasma-org.kde.plasma.desktop-appletsrc showing the accumulated crud.

SUMMARY

When applets have been added and then removed (or failed to run) and re-added
later, their configuration remains in
~/.config/plasma-org.kde.plasma.desktop-appletsrc. This file on my system is
now >75k in length and contains entries from multiple desktop "containments"
and long-gone instances of plasma applets. 

There appears to be no way to identify the currently running versions of
applets and remove the old redundant configurations, apart from deleting and
recreating the config from scratch (and thus losing all desktop customisations
in the process). 

I don't know if it is directly related but the desktop currently takes around
30 seconds to appear after the splash screen goes away, leaving a black screen
with only a mouse cursor present. I can start apps with Alt-F2 and they start
correctly with all correct window decorations, but the desktop wallpaper,
panels /menus and other applets take 30-45 seconds to appear.

STEPS TO REPRODUCE
1. Add desktop applets
2. Have those applets crash/fail to run after a version update or delete them
from the desktop
3. Add new copies of the same applets.

OBSERVED RESULT
The old configuration entries remain in plasma-org.kde.plasma.desktop-appletsrc
alongside the new entries.

EXPECTED RESULT

Old entries should be removed when the corresponding applets are removed. A
tool to remove stale entries from the file should be provided. Only those
entries related to currently loaded/running desktop containments and applets
should remain.

SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma: openSUSE Tumbleweed
(available in About System)
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.53.0
Qt Version: 5.12.0

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to