question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Krohnkite does not manage new windows

See original GitHub issue

Symptom After restarting the system yesterday, any window I open is floating. Hitting the usual “toggle float” shortcut does not do anything. Therefore I assume the newly started windows are somehow not “managed” by krohnkite. If I disable the script in “Kwin-Scripts” and enable it again, all currently opened windows become tiled and behave as expected (toggle float works). Any windows afterwards are again unaffected.

I reset the configuration. Reinstalled krohnkite. Rebooted the system. But nothing changed.

It seems to also affect the tiling scripts “Tiling Extension”

I can’t remember installing any new packages or changing any settings. Pacman logs does not show anything either.

If I enable debugging in the krohnkite options and restart Kwin kwin_x11 --replace I see the following messages:

qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2243, resource id: 144703533, major code: 18 (ChangeProperty), minor code: 0
kwin_core: Compositing is not possible
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2337, resource id: 144703536, major code: 3 (GetWindowAttributes), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2338, resource id: 144703536, major code: 14 (GetGeometry), minor code: 0

But I don’t know if they are related. Opening any new windows does not produce new ouput.

How to Reproduce Most likely won’t work be reproducible.

Expected behavior Windows being tiled (or controllable with the krohnkite shortcuts)

Environment

  • Distro: Manjaro
  • KWin version: 5.16.4
  • Krohnkite version: 5a7b64d
  • List of KWin scripts in use: “Enforce window decoration for GTK+ windows”

Notes This is probably not a lot of information to work with, but maybe you have an idea where I could start looking or how to get more debug output.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:1
  • Comments:15 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
aerosolcommented, Nov 25, 2019

Hmm I think I fixed it by launching KWin compositor settings. There was a warning dialog there, saying that compositing has crashed in the past. After hitting the whatever button it displayed, krohnkite started managing new windows again 👨‍🔬

3reactions
maxaniercommented, Nov 26, 2019

Thank you very much for sharing this. I had given up on krohnkite, but now I can use it again 😃

For me it wasn’t enough to hit the button though, I had to change some option and apply it. Then tiling started working again (even after reverting that option)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Krohnkite still does not work in Wayland, and it has ... - Reddit
I have heard that it could be Kwin not having the proper API setup for window placement in Wayland yet. How true is...
Read more >
bismuth
Making tiling window management easy. On KDE Plasma. ... Arrange your windows in different grids to minimize the mouse usage. Features. Automatic window...
Read more >
Window Manager Script for KDE Plasma! - Krohnkite (DWM)
KWin gives the ability to add custom scripts. Krohnkite is a script that will add a highly customizable DMW inspired window manager to...
Read more >
Probably an unpopular opinion here, but I do not understand ...
I find floating window manager like Windows, MacOS, Gnome, Kde really inefficient at managing screen space. Even more now that we have big...
Read more >
Krohnkite, terminator, and laptop sleep mode broken
Krohnkite is supposed to tile windows but it doesn't. And another problem I use terminator as my terminal emulator and I usually set...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found