Skip to content

Commit 7fbad3e

Browse files
committed
📚 Improved: new trouble shooting about blank window blacklist
1 parent 3dddfe6 commit 7fbad3e

File tree

2 files changed

+16
-7
lines changed

2 files changed

+16
-7
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ Go to `System Settings` -> `Window Management` -> `KWin Scripts` -> `Get New Scr
3333

3434
And then search for `kwin-maximize-to-new-desktop`.
3535

36+
Note: __To get the configuration panel fully working, see [this](#no-configuration-button-available-in-the-kwin-scripts-entry)
37+
and [this](#blank-window-class-blacklist-in-configuration)__
38+
3639
### Install directly
3740

3841
Download the latest release from KDE [store][store], and run
@@ -41,6 +44,9 @@ Download the latest release from KDE [store][store], and run
4144
plasmapkg2 --install kwin-maxmize-to-new-desktop-0.2.0.tar.gz
4245
```
4346

47+
Note: __To get the configuration panel fully working, see [this](#no-configuration-button-available-in-the-kwin-scripts-entry)
48+
and [this](#window-class-blacklist-in-configuration-is-blank)__
49+
4450
## Tips
4551

4652
### Get window's class for the blacklist
@@ -60,6 +66,14 @@ mkdir -p ~/.local/share/kservices5
6066
ln -s ~/.local/share/kwin/scripts/max2NewVirtualDesktop/metadata.desktop ~/.local/share/kservices5/max2NewVirtualDesktop.desktop
6167
```
6268

69+
### Blank window class blacklist in configuration
70+
71+
You need to install an additional package called `kdesignerplugin` ([link](https://github.com/KDE/kdesignerplugin)),
72+
which makes it possible to use KEditListWidget.
73+
74+
* For ArchLinux: `pacman -Syu kdesignerplugin`.
75+
* For Ubuntu and alike: `apt install kdesignerplugin`.
76+
6377
### Configuration not picked up by the script after changing
6478

6579
Log out and log in again.

contents/ui/config.ui

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
</widget>
8888
</item>
8989
<item row="2" column="1">
90-
<widget class="KComboBox" name="kcfg_newDesktopPosition">
90+
<widget class="QComboBox" name="kcfg_newDesktopPosition">
9191
<item>
9292
<property name="text">
9393
<string>Right Most</string>
@@ -144,7 +144,7 @@
144144
</widget>
145145
</item>
146146
<item row="1" column="1">
147-
<widget class="KComboBox" name="kcfg_trigger">
147+
<widget class="QComboBox" name="kcfg_trigger">
148148
<item>
149149
<property name="text">
150150
<string>Fullscreen Only</string>
@@ -197,11 +197,6 @@
197197
</layout>
198198
</widget>
199199
<customwidgets>
200-
<customwidget>
201-
<class>KComboBox</class>
202-
<extends>QComboBox</extends>
203-
<header>kcombobox.h</header>
204-
</customwidget>
205200
<customwidget>
206201
<class>KEditListWidget</class>
207202
<extends>QWidget</extends>

0 commit comments

Comments
 (0)