SUMMARY NOTE: My summary of what happens here is partially speculation/my interpretation of what is happening, the only concrete information I have is what I did to fix this issue. Sometimes, modifying a panel will have its changes improperly saved to `~/.config/plasma-org.kde.plasma.desktop-appletsrc`, leaving behind a definition and configuration of an `Applet`, but without including it in the `AppletOrder` of its `Containment`. This results in its panel being unable to have its changes saved, as shown by the time that you've restarted or logged in and out you'll see that no changes have been made to the panel. Even trying to remove the applet from the panel editor on the desktop has no effect, but removing the definition of the `Applet` in the RC file that lacks an entry in the `AppletOrder` will fix the issue. SOFTWARE/OS VERSIONS Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.26.4 KDE Frameworks Version: 5.100.0 Qt Version: 5.15.7
Thanks for the detailed summary! May I also ask you an example of the broken config file?
Created attachment 154481 [details] Example of a broken appletrc
(In reply to Ethan from comment #2) > Created attachment 154481 [details] > Example of a broken appletrc I should've specified in the attachment that here the broken applet is a user switcher and its index is 120.
Ok, so: in theory, if an applet is missing from the AppletOrder, it will be added back upon restart at the last place in the panel. If that does not happen to you, might I ask to `plasmashell --replace &` from a konsole, try to add/remove panel widgets, and then send me the entire log? I'm just trying to understand what might be going wrong.
(In reply to veggero from comment #4) > Ok, so: in theory, if an applet is missing from the AppletOrder, it will be > added back upon restart at the last place in the panel. If that does not > happen to you, might I ask to `plasmashell --replace &` from a konsole, try > to add/remove panel widgets, and then send me the entire log? I'm just > trying to understand what might be going wrong. Sorry for the (very) late reply. I assume you wanted me to use the broken appletrc, but I've been using a fixed one for a while now. I tested `plasmashell --replace &` with the broken appletrc to 'emulate' logging out and in to restart the shell, but the broken behaviour didn't occur there. It only actually occurs when I use broken appletrc, edit widgets, and then logout. Is there anything else you'd like me to try?
The code for saving applets has changed a bit since then, may I ask you to check again if this happens on Plasma 6.3?
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone!
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.