Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-87332

QDockWidget on Wayland is pretty bad: not redockable, does not visually move when moving

XMLWordPrintable

    • Linux/Wayland
    • 581c4bcb6 (dev), 111358863 (tqtc/lts-6.5)

      When undocking a dock widget, it turns into a normal desktop window (xdg-shell) whose movement is handled by the compositor and the application is not aware of its position. Qt seems to expect a windowing system with global coordinates where it could detect the movement positions; no support has been developed for redocking on Wayland it seems

      Also, while moving the dock widget by its header without releasing the mouse button, changing the side of the window is actually possible, but there's no visual feedback — the dock widget stays in the center of the screen.

       

      I'm not sure what would be the best way to do QDockWidget on Wayland, but maybe have these widgets as subsurfaces with custom movement functionality inside the window, never turning them into standalone xdg-shell windows?

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.graphics.and.multimedia Qt Graphics Team
            unrelentingtech greg greg
            Votes:
            12 Vote for this issue
            Watchers:
            22 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes