esjeon / krohnkite

A dynamic tiling extension for KWin
MIT License
1.62k stars 60 forks source link

Cannot revert when disabling Krohnkite #199

Closed BillTheGoat closed 2 years ago

BillTheGoat commented 2 years ago

Using :

Kubuntu 21.10 Plasma 5.22.5 Krohnkite b9d3b2f

I tested Krohnkite and then disabled it, both by using the system settings / get kwin scripts built-in feature. I can no longer actually display any app windows without first clicking on the tab in task bar > more actions > select "keep above others".

There is no configuration icon in the kwin script manager to allow me to change any Krohnkite settings.

How do I allow reset so I can use kde normally again?

esjeon commented 2 years ago

You can remove Krohnkite from terminal:

kpackagetool5 --type KWin/Script --list              # This will list KWin scripts.
kpackagetool5 --type KWin/Script --remove krohnkite

and restart the KWin with kwin_x11 --replace.

BillTheGoat commented 2 years ago

That left kwin unusable, and now I can't access any window other than by using the quick switch (alt+tab). I can't maximize anything so I am stuck only with currrently open apps usable.

 kwin_x11 --replace
kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5089:46: this compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5091:48: this compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5093:48: this compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5097:47: this compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5099:46: this compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5107:48: this compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5111:46: this compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5113:46: this compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5117:45: this compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5120:46: this compose sequence is a duplicate of another; skipping line
kwin_core: XCB error: 147 (BadOutput), sequence: 462, resource id: 33, major code: 140 (RANDR), minor code: 9 (GetOutputInfo)
kwin_core: XCB error: 147 (BadOutput), sequence: 463, resource id: 0, major code: 140 (RANDR), minor code: 9 (GetOutputInfo)
kwin_core: XCB error: 147 (BadOutput), sequence: 464, resource id: 1879064336, major code: 140 (RANDR), minor code: 9 (GetOutputInfo)
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2919, resource id: 85983264, major code: 3 (GetWindowAttributes), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2920, resource id: 85983264, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2937, resource id: 85983271, major code: 3 (GetWindowAttributes), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2938, resource id: 85983271, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2989, resource id: 85983287, major code: 3 (GetWindowAttributes), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2990, resource id: 85983287, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 3002, resource id: 85983291, major code: 3 (GetWindowAttributes), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 3003, resource id: 85983291, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 3015, resource id: 85983295, major code: 3 (GetWindowAttributes), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 3016, resource id: 85983295, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 3028, resource id: 85983299, major code: 3 (GetWindowAttributes), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 3029, resource id: 85983299, major code: 14 (GetGeometry), minor code: 0
OpenGL vendor string:                   Intel
OpenGL renderer string:                 Mesa Intel(R) HD Graphics 5500 (BDW GT2)
OpenGL version string:                  4.6 (Compatibility Profile) Mesa 21.2.2
OpenGL shading language version string: 4.60
Driver:                                 Intel
GPU class:                              Broadwell
OpenGL version:                         4.6
GLSL version:                           4.60
Mesa version:                           21.2.2
X server version:                       1.20.13
Linux kernel version:                   5.13
Requires strict binding:                yes
GLSL shaders:                           yes
Texture NPOT support:                   yes
Virtual Machine:                        no
kwin_core: XCB error: 10 (BadAccess), sequence: 3173, resource id: 1818, major code: 142 (Composite), minor code: 2 (RedirectSubwindows)
kwin_core: XCB error: 152 (BadDamage), sequence: 4401, resource id: 85983378, major code: 143 (DAMAGE), minor code: 2 (Destroy)
kwin_core: XCB error: 152 (BadDamage), sequence: 5351, resource id: 85983507, major code: 143 (DAMAGE), minor code: 2 (Destroy)
kwin_core: XCB error: 152 (BadDamage), sequence: 6366, resource id: 85983546, major code: 143 (DAMAGE), minor code: 2 (Destroy)
kwin_core: XCB error: 152 (BadDamage), sequence: 7420, resource id: 85983567, major code: 143 (DAMAGE), minor code: 2 (Destroy)
kwin_core: XCB error: 152 (BadDamage), sequence: 8903, resource id: 85983627, major code: 143 (DAMAGE), minor code: 2 (Destroy)

To be clear, all I did was activate krohnkite for about 30 seconds, and then disabled it.

Thanks

BillTheGoat commented 2 years ago

Resintalled kubuntu-desktop, at least I got back to the hidden apps problem only. I then unchecked "keep over others" on all apps, and things seem to be working correctly at this point. It seems like the problem was this option being somehow checked on some apps, forcing me to override with the same setting on others.

esjeon commented 2 years ago

Hmm, I think the issue wasn't related to Krohnkite. The script always starts with this message: KROHNKITE: starting the script