peterfajdiga / karousel

Scrollable tiling Kwin script
GNU General Public License v3.0
198 stars 3 forks source link

Spectacle's popup "tooltip" while in Window Under Cursor mode is tiled and should probably be excluded. #46

Closed puddles54 closed 2 months ago

puddles54 commented 2 months ago

The window I'm referring to is the one that pops up when you press (by default) Meta+Ctrl+PrtSc. Sorry I can't take a screenshot of it because when you're in this mode Spectacle won't take a screenshot without selecting a window and you can't select this little popup window to screenshot. It's a little tooltip-like pop up in the center of your screen, however with karousel enabled it tiles it like a usual window.

I suspect it's as simple as adding an exclusion in the window rules tab in karosel's settings, but I have no clue how to get the properties of this window since I can't click on it without it disappearing.

peterfajdiga commented 2 months ago

Thanks a lot for the report! It turns out that the class and caption of this window are both empty strings. But I also noticed that the Kwin scripting API returns -1 as the pid of the window. I'll exclude windows with pid = -1 and hope this won't also prevent tiling of any other window that should be tiled.