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

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.15.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      FreeBSD -CURRENT, Wayfire
    • Platform/s:
      Linux/Wayland

      Description

      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?

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              qt.team.graphics.and.multimedia Qt Graphics Team
              Reporter:
              unrelentingtech greg greg
              Votes:
              11 Vote for this issue
              Watchers:
              13 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes