Bismuth-Forge / bismuth

KDE Plasma add-on, that tiles your windows automatically and lets you manage them via keyboard, similarly to i3, Sway or dwm.
https://bismuth-forge.github.io/bismuth/
Other
2.4k stars 93 forks source link

[Bug]: Desktop breaks when Bismuth is enabled #240

Open murchu27 opened 2 years ago

murchu27 commented 2 years ago

Summary

With Bismuth disabled, I can see a wallpaper on my desktop. I can also right-click to get a context menu, with some options like "". Finally, if I start typing while focus is on the desktop, KRunner will open so I can choose results related to what I'm typing.

When Bismuth is enabled, the desktop works at first, and Bismuth also works right away.

But after logging out and back in, my desktop breaks. I see a black screen instead of a wallpaper, the right-click context menu does not appear, and KRunner does not seem to react to typing on the desktop. In fact, it doesn't appear possible to focus on desktop - if I try to click on a blank space (which would normally focus the desktop), my active window remains focused.

Steps to Reproduce

  1. Build from source
  2. Enable Bismuth
  3. Log out and log back in

Desktop is now not working.

Expected behavior

Desktop shouldn't be broken by activating Bismuth

Screenshots

Before

no-bismuth

After

with-bismuth

Bismuth version

master branch source (commit 8419654)

KDE Plasma version

5.23.4

The platform KWin is running on

X11

Additional context

Running on Manjaro Linux (kernel 5.15). Qt version 5.15.

murchu27 commented 2 years ago

Also, I get strange behaviour if I click the "Show Desktop" widget on the taskbar. All windows are minimised as expected, but the taskbar also gets minimised, and can't be restored - I need to logout through my terminal, then log back in to get the taskbar back.

b1scu1t commented 2 years ago

This is quite difficult to reproduce. I have Plasma 5.23.5 with Bismuth 2.2.0 on X11. No issues here. What I find weird is that the panel IS part of Plasmashell, yet that shows up for you. I'm thinking that Plasmashell should be debugged. Run it in the terminal, see what it complains about.

murchu27 commented 2 years ago

Haven't gotten around to debugging this further, but I can say that one very odd thing I've noticed is that it only seems to happen in certain display configurations.

I'm on a laptop with an external monitor, and I find that the issue only shows up if the laptop screen is configured to the right of the external monitor, and it is fine when on the left side. It might be a little bit more nuanced than that, I just haven't found time to debug further.

bigshans commented 2 years ago

I had a similar problem. I simply unplug the monitor and my laptop desktop crashes. I am using the latest version.

This problem also occurs in some cases when the screen is sleeping. It may be caused by the screen not turning off at the same time.