Bug 482090 - Taskbar pins not saved on new Plasma 6
Summary: Taskbar pins not saved on new Plasma 6
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-02-29 20:51 UTC by zpnewman10
Modified: 2024-04-17 11:36 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zpnewman10 2024-02-29 20:51:01 UTC
SUMMARY

I upgraded to Plasma 6 on my laptop yesterday (KDE Neon), and encountered a lot of the issues others seem to be reporting: black screen with no desktop, KRunner errors, no logout from GUI, etc. I managed to get the computer to a mostly usable state after running:

sudo apt autoremove
sudo pkcon install libdecor-0-0
sudo pkcon install libsdl2-2.0-0
sudo pkcon install plasma-desktop
sudo pkcon install plasma-desktop-data

As suggested here: https://discuss.kde.org/t/plasma-6-update-desktop-wont-load/10942/16

Anyways, once I actually had a taskbar again, I went about pinning all my usual applications to it & rearranging them how I like. Next time I booted the machine, all my pins were gone and the taskbar applications had been reset to default. I've turned the computer off and on now a number of times, and it keeps resetting each time.

Note that the whole taskbar didn't reset. It's still at the size I want it & in the position I want it, but I'd have to re-pin the applications.

STEPS TO REPRODUCE
1. Pin applications to taskbar & rearrange per preference
2. Turn off computer (`poweroff` command since GUI broken, see: https://bugs.kde.org/show_bug.cgi?id=481938)
3. Turn computer on

OBSERVED RESULT

Observe that taskbar pins and order have been reset

EXPECTED RESULT

Taskbar stays as it was set.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE Neon 6.0 (6.5.0-21-generic (64-bit))
(available in About System)
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2024-03-01 20:39:47 UTC
> `poweroff` command since GUI broken

This will end up being the cause. Changes are saved when Plasma shuts down cleanly, and when you shut down the computer like this, it force-quits everything and Plasma doesn't get a chance to save the changes.

We can improve this; see Bug 481113.

*** This bug has been marked as a duplicate of bug 481113 ***
Comment 2 gigastarcraft2 2024-03-07 20:52:07 UTC
I have the same issue and I have no problem shutting down a PC normally. The this is though sometimes I manage to add a shorcut and it stays. Most of the time it just does not add any new apps.
Comment 3 David Edmundson 2024-04-17 11:32:57 UTC
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 482469, bug 481113, bug 482773, bug 483083

M  +1    -0    src/plasma/applet.cpp

https://invent.kde.org/plasma/libplasma/-/commit/c37a224bc7a33c6bd5ba7c546fec74880ad463b4
Comment 4 David Edmundson 2024-04-17 11:36:23 UTC
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 482469, 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