Bug 476384 - Task Switcher visualization stuck on "Breeze"
Summary: Task Switcher visualization stuck on "Breeze"
Status: RESOLVED NOT A BUG
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kwintabbox (other bugs)
Version First Reported In: 5.27.8
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-31 19:53 UTC by Tom Chiverton
Modified: 2023-11-09 21:43 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Chiverton 2023-10-31 19:53:58 UTC
SUMMARY
No matter what I pick from the unlabeled list containing 'Beeeze' as the selected switcher, it resets


STEPS TO REPRODUCE
1. open task switcher pane of system settings
2. change 'Breeze' to 'Text only'
3. press apply
4. press alt-tab - no effect
5. go to a different settings page and back again - value has reset to Breeze

OBSERVED RESULT
unable to change task switcher style

EXPECTED RESULT
can change switcher style

SOFTWARE/OS VERSIONS
$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=23.10
DISTRIB_CODENAME=mantic
DISTRIB_DESCRIPTION="Ubuntu 23.10"

KDE Plasma Version: plasma-desktop 4:5.27.8-0ubuntu1  
KDE Frameworks Version:  plasma-framework 5.110.0-0ubuntu1          

Qt Version:  libqt5gui5  5.15.10+dfsg-3
Comment 1 Nate Graham 2023-11-01 20:06:57 UTC
Cannot reproduce in either Plasma 6 or Plasma 5.

Can you run `grep LayoutName ~/.config/kwinrc` in a terminal window before making the change, and then again immediately after clicking the "Apply" button? What does it say in each case?
Comment 2 Tom Chiverton 2023-11-02 18:50:04 UTC
Err, 

$ grep LayoutName ~/.config/kwinrc
grep: /home/falken/.config/kwinrc: Is a directory

~/.config/kwinrc/qmlcache (the only file in it) doesn't contain LayoutName before changing the dropdown, or after pressing apply.
Comment 3 Nate Graham 2023-11-02 20:37:26 UTC
~/.config/kwinrc is a *directory*? That's unexpected. Where is your kwinrc file stored? How did you install your system?
Comment 4 Tom Chiverton 2023-11-03 19:01:35 UTC
(In reply to Nate Graham from comment #3)
> ~/.config/kwinrc is a *directory*? That's unexpected. Where is your kwinrc
> file stored? How did you install your system?

It looks like I have a kwinrc *file* in some other folder, contents are paths are below.

This was a fresh install last week of Kubuntu 22.04 LTS. Then added the Kubuntu backports to move to Plasma 27, which in the end was pointless because a few days later I had to ppa-purge it in order to upgrade through to Kubuntu 23.10 (which has Plasma 27) which is where I'm sat now.

If I've managed to bodge something up, I'm not sure how. I'd have managed that, even with all the upgrades.

Should I just delete (move) the rogue ~/.config/kwinrc folder ?

```
falken@frame:~$ find . -name kwinrc | xargs ls -laht ;
-rw------- 1 falken falken 211 Oct 27 11:16  ./.config/kdedefaults/kwinrc

./.config/kwinrc:
total 52K
drwxr-xr-x 1 falken falken 4.1K Nov  3 18:56 ..
drwxrwxr-x 1 falken falken   16 Oct 27 11:44 .
-rw------- 1 falken falken  52K Oct 27 11:27 qmlcache
falken@frame:~$ cat ./.config/kdedefaults/kwinrc
[TabBox]
DesktopLayout=org.kde.breeze.desktop
DesktopListLayout=org.kde.breeze.desktop
LayoutName=org.kde.breeze.desktop

[Windows]
Placement=Centered

[org.kde.kdecoration2]
library=org.kde.breeze
theme=Breeze
falken@frame:~$ 
```
Comment 5 Nate Graham 2023-11-03 20:24:00 UTC
It sounds like things got confused during the process of those back-and-forth package management activities. Try deleting the kwinrc folder and rebooting. I bet KWin will create a file in its place and then things will start working better. :)
Comment 6 Tom Chiverton 2023-11-04 09:04:42 UTC
Deleting the incorrectly created folder and rebooting fixes this.
Comment 7 Nate Graham 2023-11-09 21:43:19 UTC
Excellent news!