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

Showing nested popups result in a Wayland protocol error for xdg shell

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.8.0
    • 5.8.0 Alpha
    • QPA: Wayland
    • None
    • Weston 1.12.90
      xdg_shell_v5

    Description

      1. Start weston
      2. Start the mainwindows example from qtbase with "env QT_WAYLAND_USE_XDG_SHELL=1 ./mainwindows -platform wayland"
      3. Click the "Tool bars" menu
      4. Try to expand one of the sub menus

      The application terminates with a protocol error:

      xdg_shell@17: error 2: xdg_popup was not created on the topmost popup

      The problem is that we always use a toplevel surface as the xdg_popup parent, which is incorrect.

      Attachments

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

        Activity

          People

            johanhelsing Johan Helsing
            johanhelsing Johan Helsing
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes