All of Krita’s window titles, as detected by niri msg pick-window, have the same title: “Krita”.
This makes it impossible to target specific windows e.g. to set all windows except main window as Floating. Thus, every window opens up Maximized, since that’s my preferred mode when drawing in Krita (I don’t want to float Krita’s main window).
PROPOSED CHANGE:
Please label at least the main window differently, so I can target and float dialog window windows etc.
( Edit: Not sure if this is the right place to post this request? )
—
I’m using Arch Linux and the Niri compositor (no DE).
On Wayland there is even a protocol called xdg_toplevel_tag that allow compositor and applications to consistently refer to different window regardless of user visible properties.
Quote: “it can also be used for allowing users to create rules that change compositor behavior for specific windows”
Yes and no, there’s not much I can do with window rules given the problem described (same titles).
This is the info I gathered about the Main window. Again this is is using the compositor’s own method of retrieving such info; afaik it’s the only data that Niri can operate on):
Window ID 505: (focused) Title: “Krita” App ID: “krita”
Is floating: no
PID: 1767
Workspace ID: 1
Layout:
Tile size: 1829.14 x 1113.14
Scrolling position: column 2, tile 1
Window size: 1829 x 1113
Window offset in tile: 0 x 0
But why for instance won’t the popup “Do you want to save?”-confirmation window get a dedicated title:
Window ID 507: (focused) Title: “Krita” App ID: “krita”
Is floating: no
PID: 1767
Workspace ID: 1
Layout:
Tile size: 1829.14 x 1113.14
Scrolling position: column 3, tile 1
Window size: 1829 x 1113
Window offset in tile: 0 x 0
There are actually some welcome exceptions where windows have differentiable titles. In fact, quite a few actually. I apologize for that, but I guess I got hung up on the fact that one of the most frequent popup windows, “Do you want to save” dialog, wasn’t..
So I guess my request is to humbly suggest that the developers might want to take a look at all windows and find those that should have differentiable titles.
Is this the right forum to post feature suggestions?
Here is the exact problem: People who use tiling compositors have no way of controlling windows’ float state in Krita, because there’s no way of differentiating Krita’s main window from certain popup windows, as illustrated below.
This is how I want it to look. (Note: I can manually float the popup after it has been spawned, as I’ve done in this screenshot):
This is how it will always look. The popup window will cover my whole screen… which is impossible to change since the windows have identical titles, as evident if comparing window titles in both screenshots):