Summary: | Task switcher style is not reset after clicking on "Defaults" button | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Patrick Silva <bugseforuns> |
Component: | kcm_kwintabbox | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | isma.af, nate, nicolas.fella, plasma-bugs |
Priority: | NOR | Keywords: | qt6 |
Version First Reported In: | 5.27.80 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Patrick Silva
2023-11-13 19:00:36 UTC
Can reproduce. Other settings do get reset, though. The problem is that the default value we get when consulting KWin::TabBox is "org.kde.breeze.desktop", while the plugin name is "thumbnail_grid", so the value in the combo doesn't match. It doesn't happen though for the Alternative tabbox (both share the UI and the settings code in the KCM). This makes me thing that is the LookAndFeel package which modifies this default value via cascading options. When pressing the "Defaults" button: KWinTabBoxConfigForm::updateUiFromConfig() "org.kde.breeze.desktop" // Main KWinTabBoxConfigForm::updateUiFromConfig() "thumbnail_grid" // Alternative Will need some more debug to pinpoint where to fix it (it is a bit of a rabbit hole). Or maybe we just manually add an exception for this specific string here, but I would prefer something less fragile. I can confirm that the issue is un-cleaned configuration entries still present in `~/.config/kdedefaults/kwinrc` and removing it fixes this issue. There's a whole group [TabBox] that it's not necessary anymore there: [TabBox] DesktopLayout=org.kde.breeze.desktop // Not used anymore DesktopListLayout=org.kde.breeze.desktop // Not used anymore LayoutName=org.kde.breeze.desktop // Cause of this bug. Not used by breeze themes but might be by others. Since https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2910 we no longer include the tabbox config default in the breeze look-and-feel themes (but directly in kwin), so luckily new users of Plasma 6 will not reproduce the bug. However, we should remove the obsolete config entries for users updating from Plasma 5. We can make a kconfupdate script just for this. Something like https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3345 looks like the definitive and more general solution. Indeed, I agree. *** This bug has been marked as a duplicate of bug 474957 *** |