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

Floating QToolBar not usable under Wayland

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.2, 6.0.2
    • None
    • Arch Linux
      On (both Xorg and wayland) KDE 5.21, KDE framework 5.80
    • Linux/Wayland

    Description

      Reproducible case: The "notepad" example from both qt5 and qt6. Attached videos only use the qt6 version but qt5 is also affected.


      Description: If a QToolBar is set to be floatable, it could be managed as an independent window and have it's own position. It can also be "docked" back into the main window if it is dragged to the appropriate position.

      However, this behavior is broken under wayland. The floating QToolBar always stay in the middle of the main window and there is no spot for docking back the QToolBar (or I couldn't find it). The attached videos could explain this behavior better.

      xorg.mp4 is the expected behavior under xorg display server while wayland.mp4 is the broken behavior under wayland display protocol.

      Attachments

        1. wayland.mp4
          88 kB
        2. xorg.mp4
          218 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            holi0317 Hollis Wu
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes