Bug 461144

Summary: Deleted widget after reboot always come back
Product: [Plasma] plasmashell Reporter: Karol <roiezmaskuter>
Component: ContainmentAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kde, nate, notmart, plasma-bugs-null
Priority: NOR Keywords: usability
Version First Reported In: 5.26.3   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Returning
OS information
Widget
Before delete
After and restart
After and restart | Widget is stacking
Fresh appletsrc

Description Karol 2022-10-29 05:11:47 UTC
Created attachment 153287 [details]
Returning

I do not know what is going on, but I'm getting the same plasma widget after reboot my plasma/linux. 
Annoying so much! 

   How I can fix that? I tried everything to fix that, but unsuccessfully. 
What information type I should give?
Comment 1 Karol 2022-10-29 05:12:45 UTC
Created attachment 153288 [details]
OS information
Comment 2 Karol 2022-11-11 10:13:31 UTC
I found the issue. A file which have content about plasma widget does not takes any change. 

Config file "~/.config/plasma-org.kde.plasma.desktop-appletsrc"
Comment 3 David Edmundson 2022-11-11 16:36:38 UTC
> after reboot my plasma/linux. 

Can you confirm that you are shutting down properly and just typing "sudo reboot"
Comment 4 Karol 2022-11-11 16:54:10 UTC
(In reply to David Edmundson from comment #3)
> > after reboot my plasma/linux. 
> 
> Can you confirm that you are shutting down properly and just typing "sudo
> reboot"

"Doas reboot" makes that same result like shutting down in menu. Widget still exists /;
Comment 5 Karol 2022-11-20 09:01:19 UTC
###UPDATE

That also happens on Wayland session. Widget after deleting is changing the width and height.
Comment 6 Karol 2022-11-20 09:01:36 UTC
Created attachment 153897 [details]
Widget
Comment 7 Karol 2022-11-20 10:41:51 UTC
### UPDATE 
Deleting  ~/.config/plasma-org.kde.plasma.desktop-appletsrc do not fix the problem. 

### RESULT:
File plasma-org.kde.plasma.desktop-appletsrc do not take full change after delete widget form desktop level.

### STEP TO REPRODUCE:
Change protocol of deleting information from plasma-org.kde.plasma.desktop-appletsrc

###WHAT I TRIED TO FIX?
Changing chmod to file
Sign user to sddm group 
Deleting widget from text, and restart sddm (works well, but annoying)
Comment 8 Karol 2022-11-20 10:43:23 UTC
Created attachment 153900 [details]
Before delete
Comment 9 Karol 2022-11-20 10:43:58 UTC
Created attachment 153901 [details]
After and restart
Comment 10 Karol 2022-11-20 10:45:19 UTC
Created attachment 153902 [details]
After and restart | Widget is stacking
Comment 11 Karol 2022-11-20 10:46:02 UTC
Created attachment 153903 [details]
Fresh appletsrc
Comment 12 Nate Graham 2023-04-09 23:59:59 UTC
If you delete ~/.config/plasma-org.kde.plasma.desktop-appletsrc, I assume it's regenerated, right?

Or are you saying that the problem happens when this file does not exist?

Finally, can you upgrade to Plasma 5.27.4 and try again?
Comment 13 Bug Janitor Service 2023-04-24 03:46:01 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!