Summary: | Plasmashell does not remember desktop icon size or programs in the panel | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Jaroslav Krpálek <krpisjar> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | asturm, ejyager00, idgr, kde, nate, rdbladefan91, sam, songhda |
Priority: | NOR | Keywords: | qt6 |
Version: | 6.0.0 | ||
Target Milestone: | 1.0 | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/libplasma/-/commit/f7b3e98bd5c777a8c7510ec0edaaba6412cac474 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | plasmashell.log |
Description
Jaroslav Krpálek
2024-03-05 13:43:19 UTC
(In reply to Jaroslav Krpálek from comment #0) > plasma-desktop (containing plasmashell) use flags: > USE="screencast semantic-desktop -X -debug -handbook -ibus -kaccounts -scim > -sdl -test" > > plasma-workspace use flags: > USE="calendar fontconfig policykit screencast semantic-desktop systemd > wallpaper-metadata -appstream -debug -geolocation -gps -handbook -telemetry > -test" > > kwin use flags: > USE="lock multimedia screencast shortcuts -accessibility -caps -debug > -gles2-only -handbook -test" What does this mean? Are you forcing everything to run in a sandbox or something? It very much sounds like the config file where these changes get saved isn't being written to as expected. (In reply to Nate Graham from comment #1) > (In reply to Jaroslav Krpálek from comment #0) > > plasma-desktop (containing plasmashell) use flags: > > USE="screencast semantic-desktop -X -debug -handbook -ibus -kaccounts -scim > > -sdl -test" > > > > plasma-workspace use flags: > > USE="calendar fontconfig policykit screencast semantic-desktop systemd > > wallpaper-metadata -appstream -debug -geolocation -gps -handbook -telemetry > > -test" > > > > kwin use flags: > > USE="lock multimedia screencast shortcuts -accessibility -caps -debug > > -gles2-only -handbook -test" > > What does this mean? Are you forcing everything to run in a sandbox or > something? It very much sounds like the config file where these changes get > saved isn't being written to as expected. These, in Gentoo, are used to configure the compiler flags for the specific application. They are called use flags. If they aren't prefixed with "-", then it's options that it's compiled with. "-" implies that it's been disabled at compile time. So, for example, if i set "-lock" on KWin, it compiles with -DKWIN_BUILD_SCREENLOCKER=no. As for sandboxing, the only thing sandboxed is the compilation process. This prevents malicious code from executing (such as downloading things from the internet). After compilation, it gets thrown in the standard path, and it runs unsandboxed. (In reply to Nate Graham from comment #1) > (In reply to Jaroslav Krpálek from comment #0) > > plasma-desktop (containing plasmashell) use flags: > > USE="screencast semantic-desktop -X -debug -handbook -ibus -kaccounts -scim > > -sdl -test" > > > > plasma-workspace use flags: > > USE="calendar fontconfig policykit screencast semantic-desktop systemd > > wallpaper-metadata -appstream -debug -geolocation -gps -handbook -telemetry > > -test" > > > > kwin use flags: > > USE="lock multimedia screencast shortcuts -accessibility -caps -debug > > -gles2-only -handbook -test" > > It very much sounds like the config file where these changes get > saved isn't being written to as expected. Also, the strangest thing is that the panel size IS remembered, even the configuration of the widgets, just not the desktop icon size and the shortcuts in the Task Manager. Thanks. Not being familiar with Gentoo, let me invite someone who is! How can I help? First thing I'd recommend is upgrade to Plasma 6.0.1 and check your permissions on ~/.config, ~/.local and ~/.cache (In reply to Andreas Sturmlechner from comment #5) > How can I help? > > First thing I'd recommend is upgrade to Plasma 6.0.1 and check your > permissions on ~/.config, ~/.local and ~/.cache Updated, checked the permissions despite knowing they were fine anyway, since Plasma 5 worked fine, ran chown -R carbon:carbon on .config and .local just to be sure. Rebooted, still happens. (In reply to Jaroslav Krpálek from comment #6) > (In reply to Andreas Sturmlechner from comment #5) > > How can I help? > > > > First thing I'd recommend is upgrade to Plasma 6.0.1 and check your > > permissions on ~/.config, ~/.local and ~/.cache > > Updated, checked the permissions despite knowing they were fine anyway, > since Plasma 5 worked fine, ran chown -R carbon:carbon on .config and .local > just to be sure. Rebooted, still happens. It seems like the settings are lost at system reboot. When I forcibly kill plasmashell and start it again manually, the settings persist. After rebooting, the settings stay, but if I change them again without killing plasmashell, they don't persist after reboot. You're not using qt5ct or qt6ct, do you? (we block it in kde-plasma/plasma-meta). (In reply to Andreas Sturmlechner from comment #8) > You're not using qt5ct or qt6ct, do you? (we block it in > kde-plasma/plasma-meta). No, these packages are absent from my system. I can reproduce this on my Kaby Lake laptop as well, and that runs basically the default flags. Just tried it now. Folks able to reproduce this issue, are you by any chance *not* using the systemd boot feature? Nate, from this USE flag configuration we can infer this is with systemd. (In reply to Jaroslav Krpálek from comment #0) > plasma-workspace use flags: > USE="calendar fontconfig policykit screencast semantic-desktop systemd Can we let Jaroslav run a command that confirms systemd "boot feature" is being used? (In reply to Andreas Sturmlechner from comment #12) > Nate, from this USE flag configuration we can infer this is with systemd. > > (In reply to Jaroslav Krpálek from comment #0) > > plasma-workspace use flags: > > USE="calendar fontconfig policykit screencast semantic-desktop systemd > > Can we let Jaroslav run a command that confirms systemd "boot feature" is > being used? Yes we can :-) Which command do you need me to run, if I'm not being dense? I am having this issue on two systems, one updated from Plasma 5.27 and another a fresh install. Both are running Artix Linux with OpenRC, so no systemd. (In reply to Randall Winkhart from comment #14) > I am having this issue on two systems, one updated from Plasma 5.27 and > another a fresh install. Both are running Artix Linux with OpenRC, so no > systemd. I am having the same problem with a fresh install of Artix with runit. Let's keep discussions in one bug (the other one was filed earlier). *** This bug has been marked as a duplicate of bug 481113 *** Created attachment 167127 [details]
plasmashell.log
Here's my log from starting plasma wayland session from tty.
I had the same problem in regards to plasmashell not remembering programs in the panel after a reset. A workaround for me was to switch to a Plasma 6 X11 Session and then pin the applications to the taskbar and then switch back to the wayland session. (In reply to rdbladefan91 from comment #18) > I had the same problem in regards to plasmashell not remembering programs > in the panel after a reset. A workaround for me was to switch to a Plasma 6 > X11 Session and then pin the applications to the taskbar and then switch > back to the wayland session. Setting up my task manager icons in X11 then switching back to Wayland worked for me, as well. Git commit c37a224bc7a33c6bd5ba7c546fec74880ad463b4 by David Edmundson. Committed on 17/04/2024 at 11:31. Pushed by davidedmundson into branch 'master'. Sync config to disk when values change When client code calls Plasmoid.confiuration.a = b the value in the KConfigPropertyMap changes, but the underlying KConfigSkeleton does not have any signals emitted until that value is flushed. We need to connect it to the existing mechanism to sync changes after a timeout. Related: bug 481085, bug 482090, bug 481113, bug 482773, bug 483083 M +1 -0 src/plasma/applet.cpp https://invent.kde.org/plasma/libplasma/-/commit/c37a224bc7a33c6bd5ba7c546fec74880ad463b4 Git commit f7b3e98bd5c777a8c7510ec0edaaba6412cac474 by David Edmundson. Committed on 17/04/2024 at 11:33. Pushed by davidedmundson into branch 'Plasma/6.0'. Sync config to disk when values change When client code calls Plasmoid.confiuration.a = b the value in the KConfigPropertyMap changes, but the underlying KConfigSkeleton does not have any signals emitted until that value is flushed. We need to connect it to the existing mechanism to sync changes after a timeout. Related: bug 481085, bug 482090, bug 481113, bug 482773, bug 483083 (cherry picked from commit c37a224bc7a33c6bd5ba7c546fec74880ad463b4) M +1 -0 src/plasma/applet.cpp https://invent.kde.org/plasma/libplasma/-/commit/f7b3e98bd5c777a8c7510ec0edaaba6412cac474 |