Comments (3)
I believe this is because Wayland does not have a concept of window types. Back in X11 we had window types according to the opendesktop standard. So back in the X11 version of this script I also used these window types to not tile certain windows if they were not a normal application. As according to the spec at https://specifications.freedesktop.org/wm-spec/wm-spec-latest.html
_NET_WM_WINDOW_TYPE_DESKTOP, ATOM
_NET_WM_WINDOW_TYPE_DOCK, ATOM
_NET_WM_WINDOW_TYPE_TOOLBAR, ATOM
_NET_WM_WINDOW_TYPE_MENU, ATOM
_NET_WM_WINDOW_TYPE_UTILITY, ATOM
_NET_WM_WINDOW_TYPE_SPLASH, ATOM
_NET_WM_WINDOW_TYPE_DIALOG, ATOM
_NET_WM_WINDOW_TYPE_DROPDOWN_MENU, ATOM
_NET_WM_WINDOW_TYPE_POPUP_MENU, ATOM
_NET_WM_WINDOW_TYPE_TOOLTIP, ATOM
_NET_WM_WINDOW_TYPE_NOTIFICATION, ATOM
_NET_WM_WINDOW_TYPE_COMBO, ATOM
_NET_WM_WINDOW_TYPE_DND, ATOM
_NET_WM_WINDOW_TYPE_NORMAL, ATOM
I have asked the KWin developer what the best way to deal with this problem in wayland was #78 and implemented that by checking for transientFor. But the application developer has to properly set this so KWin knows it's not a regular application.
An easy fix to deal with it for now is to ignore the specific menu windows by adding it to the ignore regex.
But I think this is a problem with that specific application that it doesn't correctly register as transient for KWin wayland. For example Inkscape is also a GTK application as far as I'm aware but the import dialog of Inkscape correctly sets itselfs as transient and thus it doesn't get tiled. Or another example, GIMP has an Open dialog and that doesn't get tiled either by default since it correctly registers as a transient window.
from grid-tiling-kwin.
I finally had some spare time again and did some digging in KWin and I found some changes since last time I checked it. It seems that they support windows types in wayland as well now. So I added the support for it in the dev branch. Give it a try, by default it will now only tile windows of type normalWindow
but I made it user configurable.
from grid-tiling-kwin.
Fixed by adding property ignores
from grid-tiling-kwin.
Related Issues (20)
- Windows are no longer tiled after changing screen configuration HOT 5
- kwin-script-grid-tiling.desktop HOT 2
- Grid tiling does not tile HOT 2
- Cannot move windows to other virtual desktops HOT 4
- Ignore list documentation HOT 2
- GUI sizing issues and Ignored list disappeared HOT 15
- please document more on ignore HOT 1
- cannot support Multi-Activities windows HOT 2
- New window of the same application doesn't tile. HOT 4
- Plasma are crashed HOT 2
- Can't ignore Tor browser without affecting other programs HOT 8
- Plasma 6.0.2 Breaks this scrip HOT 18
- Weird Behaviour on Wayland (Plasma 5) HOT 11
- Can't tile after most recent update HOT 2
- The script only uses one screen HOT 12
- Session crash when using right click to close windows HOT 5
- Feature Requests HOT 4
- Firefox window doesn't resize properly HOT 4
- Tiling Having Problems with Floating KDE Panel on Plasma 6 HOT 12
- Weird Behaviour on Wayland (Plasma 5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grid-tiling-kwin.