zeroxoneafour / kwin-autotile

Autotile script for kwin
https://store.kde.org/p/2003956
MIT License
44 stars 1 forks source link

Pop up window are tiled #5

Closed Francesco7602 closed 1 year ago

Francesco7602 commented 1 year ago

Sorry to bother you again, but I notice that in settings if a pop-up window appear, is tiled and not floating. Like that immagine I don't know if I had to insert something in the whitelist, I try but that window is see as "setting" and i can't put setting in the whitelist because it'll make all setting floating, not only the pop.up one.

zeroxoneafour commented 1 year ago

I know about this issue but I don't know if KDE on Wayland supports EWMH hints, including the _NET_WM_WINDOW_TYPE that the scripts need to figure out what type of window a selected window is and whether it's a pop up or not. Most windows I've inspected have had all properties set, so they get tiled no matter what. I'll test it later and see what I can do.

zeroxoneafour commented 1 year ago

I found out that KWin on Wayland has no support for EWMH outside of knowing that Plasmashell is a desktop. However, pure Wayland clients have xdg-shell support, which tells whether a window is normal or a popup. The script now tiles windows that are marked as popups, however some windows (including lots of systemsettings windows) are not marked this way. v1.0.1 will not fix that specific issue, but it will fix most other similar issues with non XWayland apps.

Francesco7602 commented 1 year ago

So, there is nothing that can be done? Or we have to wait that Wayland include support for EWMH?

zeroxoneafour commented 1 year ago

If the specific popup in question still doesn't work, then I don't know if there's more that I can do on the scripting side. v1.0.1 works for me for supported popups though.

Francesco7602 commented 1 year ago

Yeah, for supported popuo it works for me too. the problem is with the setting popup, with them don't work

Francesco7602 commented 1 year ago

I'm sorry, but now for some strange reason it have start working fine. Maybe it was my fault, i didn't reboot when i update the script

zeroxoneafour commented 1 year ago

That's good. Closing as completed