Bug 391903 - Ability to set [kwinrc][WindowSwitcher] AlternativeLayoutName
Summary: Ability to set [kwinrc][WindowSwitcher] AlternativeLayoutName
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Global Theme packages (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-15 23:36 UTC by Chris Holland
Modified: 2020-12-14 04:34 UTC (History)
2 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 Chris Holland 2018-03-15 23:36:09 UTC
We can current set the main task switcher theme with:

[kwinrc][WindowSwitcher]
LayoutName=thumbnail_grid

which changes ~/.config/kwinrc's

[TabBox]
LayoutName=thumbnail_grid

but we can also set the following in ~/.config/kwinrc:

[TabBoxAlternative]
LayoutName=present_windows

A quick glance at the lnf kcm code shows we cannot do this.

* https://github.com/KDE/plasma-desktop/blob/master/kcms/lookandfeel/kcm.cpp#L340
* https://github.com/KDE/plasma-desktop/blob/master/kcms/lookandfeel/kcm.cpp#L663

The kcm code seems simple enough to modify myself, so I can probably toss a copy/paste diff up on phab when I get the chance. Just want to confirm which "group" the "key" in the lnf's defaults file should use.

[kwinrc][WindowSwitcher]
LayoutName=thumbnail_grid
AlternativeLayoutName=present_windows

OR:

[kwinrc][WindowSwitcher]
LayoutName=thumbnail_grid

[kwinrc][WindowSwitcherAlternative]
LayoutName=present_windows
Comment 1 Nate Graham 2020-10-30 14:28:55 UTC
The KCM has changed a lot recently. Is this still a problem in Plasma 5.20?
Comment 2 Bug Janitor Service 2020-11-14 04:33:52 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Chris Holland 2020-11-14 04:40:12 UTC
The KCM moved to plasma-workspace. It doesn't look like we can set TabBoxAlternative though.

* https://github.com/KDE/plasma-workspace/blob/master/kcms/lookandfeel/kcm.cpp#L217
* https://github.com/KDE/plasma-workspace/blob/master/kcms/lookandfeel/kcm.cpp#L667
Comment 4 Bug Janitor Service 2020-11-29 04:33:40 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2020-12-14 04:34:01 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!