Skip to content

Some dialogue windows are not floating in tiling window managers #392

Open
@ChloeZamorano

Description

@ChloeZamorano

Checklist

  • I am using an up-to-date version.
  • I have read the documentation.
  • I have searched existing issues.

TagStudio Version

Alpha v9.3.2

Operating System & Version

Linux Mint 21.3 x64 (5.15.0-118-generic kernel) + bspwm

Description

Windows that should be dialogs such as "Create tag" or "Add field" are not treated as such by Xorg based tiling window managers like bspwm or i3. Presumably the same problem would be seen on Wayland managers but I have not tested for that and I'm unfamiliar with Wayland protocols.

So far only seen in bspwm, but it should apply to any tiling window manager, at least on the Xorg side. My initial presumption for this is that Qt is not giving these windows the _NET_WM_WINDOW_TYPE_DIALOG indicated in the EWMH standard, and therefore the window manager isn't told to handle it any different from the main window.

I'm willing to attempt fixing this issue myself, but I'd need to be told the basics of how the UI is supposed to be laid out in the code and look into how Qt handles EWMH hints, it probably uses a separate data type entirely for such windows.

Expected Behavior

Dialogs are expected to spawn as a floating window on top of the main window with the size specified by the program as seen bellow. This screenshot was taken after manually setting the dialog to be floating since bspwm provides a way to do that.

image

Steps to Reproduce

  1. Install TagStudio on a system that uses a tiling window manager.
  2. Run TagStudio under a session of such a window manager.
  3. Open any sort of popup or dialog in the program.

The result should look something like this:
image

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    System: LinuxFor Linux/BSD distributionsType: BugSomething isn't working as intendedType: UI/UXUser interface and/or user experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions