Bug 430499 - Cannot set default to be on 2 activities
Summary: Cannot set default to be on 2 activities
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: rules (other bugs)
Version First Reported In: git master
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 428719 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-12-17 10:35 UTC by David Edmundson
Modified: 2021-04-20 01:52 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 David Edmundson 2020-12-17 10:35:54 UTC
A client can be on N activites, not just one or all.

I have 3 activities.

I want to apply a rule such that my client ends up on two of them on startup.
In the current behaviour I can force it to one, but not multiple.
Comment 1 Ismael Asensio 2020-12-17 13:00:57 UTC
This has two steps:
- Modify the config parameter to store multiple activities
- Adapting the UI

I have some WIP on the previous. Ideally with no regressions from current configs.
Comment 2 Ismael Asensio 2020-12-26 18:28:24 UTC

*** This bug has been marked as a duplicate of bug 428719 ***
Comment 3 Ismael Asensio 2021-01-04 00:31:40 UTC
Git commit 66ee898556768696796991e8063865b8d9e94d52 by Ismael Asensio.
Committed on 03/01/2021 at 23:34.
Pushed by iasensio into branch 'master'.

kcm/kwinrules: Allow to select multiple activities

This commit addresses the UI part

M  +0    -9    kcmkwin/kwinrules/optionsmodel.cpp
M  +1    -1    kcmkwin/kwinrules/optionsmodel.h
M  +9    -4    kcmkwin/kwinrules/package/contents/ui/OptionsComboBox.qml
M  +29   -0    kcmkwin/kwinrules/package/contents/ui/ValueEditor.qml
M  +5    -3    kcmkwin/kwinrules/ruleitem.cpp
M  +2    -1    kcmkwin/kwinrules/ruleitem.h
M  +2    -2    kcmkwin/kwinrules/rulesmodel.cpp

https://invent.kde.org/plasma/kwin/commit/66ee898556768696796991e8063865b8d9e94d52
Comment 4 Ismael Asensio 2021-04-20 01:52:07 UTC
*** Bug 428719 has been marked as a duplicate of this bug. ***