kwin-scripts / kwin-tiling

Tiling script for kwin
GNU General Public License v2.0
1.1k stars 68 forks source link

pop-ups from Panel are includet in tiling too #97

Closed rkunschke closed 6 years ago

rkunschke commented 6 years ago

Whenn tiling is enabled the popUps from the Panel (VolumeControl, Clock ...) are included in the Tiling too. Can I exclude the with a Windowclass?

faho commented 6 years ago

Can I exclude the with a Windowclass?

Essentially not - "class" is a bit of a misnomer here. What is used there is mostly the name of the application - vlc uses "vlc", firefox uses "Firefox", and the plasma popups use "plasmashell". But on e.g. vlc, you probably want to tile the main application and float any dialogs.

What you want is the window "type". The script already blacklists all things that aren't "normal windows" (which includes the dock itself), and the window class "plasmashell" - which includes these popups and such, which means this really shouldn't happen.

So my best guess is that you're running either an ancient version of the script (<2.0, which is the newest on kde-look.org), an ancient version of kwin, or kwin_wayland, which the script currently cannot support (wayland clients simply aren't exposed to it).

rkunschke commented 6 years ago

The Problem was that my panel was latte-dock. I excluded it but it makes no difference. I use it with plasma-panel now

faho commented 6 years ago

The Problem was that my panel was latte-dock.

Yup, that doesn't set the window type correctly - they're opened as "normal" windows, which for us means we tile them.

I excluded it but it makes no difference.

You need the second thing that xprop says in "WM_CLASS(STRING)". For latte-dock, that means lattedock. I've just tested it, and that works.

Anyway, this is really an issue in latte-dock.