SUMMARY I have a few sticky note widgets on my desktop. I have lost their contents after changing desktop from displaying files and folders to desktop only as the widget is apparently reloading itself and being assigned a new uuid. STEPS TO REPRODUCE 1. Add a sticky note widget in your desktop and write something on it. 2. Open desktop settings and switch from folder view to desktop only or viceversa. OBSERVED RESULT The sticky note widget will lose all of its content. EXPECTED RESULT Sticky notes should retain their content after changing desktop settings. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora 41 KDE Plasma Version: 6.2.4 KDE Frameworks Version: 6.8 Qt Version: 6.8.1 ADDITIONAL INFORMATION
So you're saying that after going from desktop back to folder, your Notes widget that you added to the Folder containment is still there, but it's lost all the text in it? That would be quite bad.
Created attachment 176562 [details] plasmashell crash when applying new containment type While trying to reproduce this, I managed to encounter something similarly bad. Changing from Desktop containment back to Folder containment using the "Apply" button in the placeholder message made Plasma crash (backtrace attached). Thereafter, the Notes widget I added to the desktop was just *gone*. Did you encounter any Plasma crashes in the process of repeatedly switching between Folder and Desktop? Did your Notes widget disappear entirely, or did it just lose its text?
Created attachment 176563 [details] desktop layout change from folder to desktop containment
Notes contents were gone immediately after pressing Apply to confirm the change from folder to desktop containment. The widgets apparently have been replaced by a new empty one with a different disposition in the desktop. plasmashell apparently did not crash as it is still running with the same pid. Luckily notes contents of the old sticky notes are recoverable from ~/.local/share/plasma_notes/ Now I am on another computer and was not able to reproduce this bug when changing desktop containment. I attach the journal log of what happened the moment the sticky notes where gone
I just had similar happen on plasma 6.2.4 Laptop screen, 2 external monitors Notes widget on 2nd (right most) external monitor, with contents 1. Moved note from 2nd external screen to first external screen (between laptop screen and rightmost monitor Text appeared in the note briefly after it moved, then disappeared Let me know if I should file this separately
As when this has happened before, I found the note with the previous text in ~/.local/share/plasma_notes A new note had been created, with no text, and that was what the desktop now showed As a workaround I copied and pasted the old note text into the new one. This is obviously not an actual solution.
does this still happens on current master? i suspect the mentioned backtrace and consequent loss of contents might be fixed by 239ffd7014b0ba93fe4be3079e1d6352dcea25a5 in plasma-desktop
Reopen if it still happens on a commit on plasma-desktop more recent than 239ffd7014b0ba93fe4be3079e1d6352dcea25a5