Bug 359919 - plasma-org.kde.plasma.desktop-appletsrc not updated when removing activities
Summary: plasma-org.kde.plasma.desktop-appletsrc not updated when removing activities
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.20.1
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-29 08:54 UTC by Fabio Coatti
Modified: 2021-09-30 04:35 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Coatti 2016-02-29 08:54:22 UTC
plasma-org.kde.plasma.desktop-appletsrc file keeps configurations for removed/deleted activities. I noticed that because I was looking into rc file to solve other issues. I had previously used several activities, but then I removed them. Looking at rc file, I spotted several places where the configuration items (namely, wallpapers) were referring to gone activities.
I don't know if this can cause problems to plasmashell operations, however it seems not a quite right behaviour.



Reproducible: Always

Steps to Reproduce:
1. Create new activity
2. change its wallpaper
3. remove the activity
4. Check plasma-org.kde.plasma.desktop-appletsrc file
Comment 1 Thiago Sueto 2020-10-27 02:29:01 UTC
I cannot reproduce this on current master, adding an unused wallpaper such as Cluster to an Activity makes it show up in plasma-org.kde.plasma.desktop-appletsrc and removing an Activity removes any reference to Cluster.
Is this still reproducible for you, Fabio?
Comment 2 Fabio Coatti 2020-10-27 07:51:55 UTC
Will try in a short time and report back.

Thanks
Comment 3 Fabio Coatti 2020-10-27 09:30:30 UTC
Yes, i just tried. I followed the steps and indeed in plasma-org.kde.plasma-appletsrc the wallpaper is still referenced, with the ID of the activity that I just deleted:


[Containments][73]
activityId=35610be5-8a7c-42f0-8904-08ff97b6e786
formfactor=0
immutability=1
lastScreen=0
location=0
plugin=org.kde.plasma.folder
wallpaperplugin=org.kde.image

[Containments][73][ConfigDialog]
DialogHeight=540
DialogWidth=720

[Containments][73][Wallpaper][org.kde.image][General]
Image=file:///usr/share/wallpapers/OneStandsOut/contents/images/1920x1200.jpg
SlidePaths=/usr/share/wallpapers

[Containments][74]
activityId=35610be5-8a7c-42f0-8904-08ff97b6e786
formfactor=0
immutability=1
lastScreen=1
location=0
plugin=org.kde.plasma.folder
wallpaperplugin=org.kde.image
Comment 4 Thiago Sueto 2020-10-27 13:05:09 UTC
Could you please mention what system you're currently using?
Comment 5 Fabio Coatti 2020-10-27 13:12:53 UTC
(In reply to Thiago Sueto from comment #4)
> Could you please mention what system you're currently using?

here you go:

Operating System: Gentoo Linux
KDE Plasma Version: 5.20.1
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Kernel Version: 5.9.1-cova
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-6820HQ CPU @ 2.70GHz
Memory: 62.6 GiB of RAM
Graphics Processor: Quadro M1000M/PCIe/SSE2
Comment 6 Nate Graham 2021-08-31 18:52:55 UTC
Also cannot reproduce. Deleting an activity in the KCM causes plasma-org.kde.plasma.desktop-appletsrc to be immediately updated and the data for that activity are removed. Do you have anything special that is manually modifying or backing up your plasma-org.kde.plasma.desktop-appletsrc file, perhaps?
Comment 7 Bug Janitor Service 2021-09-15 04:36:09 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2021-09-30 04:35:50 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!