-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to Enable Floating Windows #202
Comments
We might want to find out a bit more about context for this issue. You mentioned SwayWM; as far as I know, this is a so called "tiling window manager". Some people favour this kind of window layout very much, but I wouldn't say that it is mainstream... The key point with a tiling WM is that it disregards the initial size hint given by the application and rather immediately places the window into full-screen or into a fixed grid of non-overlapping frames. Contrast this with the classical approach taken by most default window managers: this is to stack windows rather than to tile; such a window manager starts with the initial size hint given by the application and then applies what is known as "smart window placement" — which generates a somewhat random cluster or pile of windows partially covering each other. Typical examples would be XFCE or Mate or Gnome on Linux, or the classical style on windows. This leads to the following questions:
|
@Ichthyostega Thank you for the follow-up questions! No, tiling window managers definitely are not "mainstream," but they're common enough (or so nerds like I would argue). It's definitely not a very pressing issue. This is also my first time posting to a project, so I apologize if this was the wrong way to propose a recommendation. Anyway, I have some answers for you:
|
@jefrecantuledesma you are welcome! Obviously, the flip side of the coin is that all that variability makes it hard to build a UI that works well under the various different setups. And to add to that, when programming an UI, we have to deal with various layers of libraries, frameworks and standards. For the programmer, this can be quite intimidating, since often you're unable to say why something works the way it works. The window-tree you posted above is interesting, insofar it shows that the programs using / relying on the xdg_shell protocol have an "app_id", while Ardour and Yoshimi have the metadata properties "instance" and "class". Ardour somehow managed to set these properties to custom values. I know Ardour uses GTK, and probably there is some mapping of metadata done somewhere in GTK. Yoshimi on the other hand uses the FLTK toolkit, which is oriented towards rapid application development. In FLTK you have some kind of a GUI builder, which offloads most of the work required to get started with building a GUI. On the long run, this approach can be a blessing and a curse at the same time. To be honest, I don't have the slightest idea where and how the above mentioned "class" and "app_id" metadata is mapped by FLTK. |
Just another late comment. |
Would it be possible to add a setting to enable floating windows by default? This is a very minor thing, but the default behavior (at least this has been my experience on SwayWM) is for the windows to not be floating. Below is a screenshot of what I'm talking about. I have no idea if this is an easy thing to change or worth any of your developers' time.
If the windows were floating by default, here's what that would look like:
Also, thanks to everybody who works on this project!
The text was updated successfully, but these errors were encountered: