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

Wayland: Navigating from a submenu to another top level menu closes the window

    XMLWordPrintable

Details

    • Linux/Wayland
    • af9ec8a7 2e4246e

    Description

      Related to QTBUG-76061.

      To reproduce:

      • run the example
      • open M2 menu
      • focus the submenu
      • move mouse over to M1 menu

      It seems to close the menus and the main window. May also crash with:

      #0 0x00007f1fbb821d77 in wl_proxy_marshal () from /usr/lib/libwayland-
      client.so.0
      #1 0x00007f1fb6e35d33 in
      QtWaylandClient::QWaylandAbstractDecoration::contentImage() () from
      /usr/lib/libQt5WaylandClient.so.5
      #2 0x00007f1fb6e1bbc0 in
      QtWaylandClient::QWaylandShmBackingStore::updateDecorations() () from
      /usr/lib/libQt5WaylandClient.so.5
      #3 0x00007f1fb6e1c1b1 in
      QtWaylandClient::QWaylandShmBackingStore::flush(QWindow*, QRegion const&,
      QPoint const&) () from /usr/lib/libQt5WaylandClient.so.5
      #4 0x00007f1fbae7a84d in QBackingStore::flush(QRegion const&, QWindow*,
      QPoint const&) () from /usr/lib/libQt5Gui.so.5
      #5 0x00007f1fbb2d9fbd in ?? () from /usr/lib/libQt5Widgets.so.5
      #6 0x00007f1fbb2db995 in ?? () from /usr/lib/libQt5Widgets.so.5
      #7 0x00007f1fbb2dd008 in ?? () from /usr/lib/libQt5Widgets.so.5
      #8 0x00007f1fbb2dd379 in ?? () from /usr/lib/libQt5Widgets.so.5
      #9 0x00007f1fbb2f5337 in QWidgetPrivate::syncBackingStore() () from
      /usr/lib/libQt5Widgets.so.5
      #10 0x00007f1fbb30dc39 in QWidget::event(QEvent*) () from
      /usr/lib/libQt5Widgets.so.5
      #11 0x00007f1fbb41b405 in QMainWindow::event(QEvent*) () from
      /usr/lib/libQt5Widgets.so.5
      #12 0x00007f1fbb2ccda4 in QApplicationPrivate::notify_helper(QObject*,
      QEvent*) () from /usr/lib/libQt5Widgets.so.5
      #13 0x00007f1fbb2d43c1 in QApplication::notify(QObject*, QEvent*) () from
      /usr/lib/libQt5Widgets.so.5
      #14 0x00007f1fba901849 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
      () from /usr/lib/libQt5Core.so.5
      #15 0x00007f1fba904928 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
      int, QThreadData*) () from /usr/lib/libQt5Core.so.5
      #16 0x00007f1fba957394 in ?? () from /usr/lib/libQt5Core.so.5
      #17 0x00007f1fb970d90f in g_main_context_dispatch () from
      /usr/lib/libglib-2.0.so.0
      #18 0x00007f1fb970f869 in ?? () from /usr/lib/libglib-2.0.so.0
      #19 0x00007f1fb970f8ae in g_main_context_iteration () from
      /usr/lib/libglib-2.0.so.0
      #20 0x00007f1fba956969 in QEventDispatcherGlib::processEvents(QFlags<QEvent
      Loop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
      #21 0x00007f1fba9004dc in
      QEventLoop::exec&#40;QFlags<QEventLoop::ProcessEventsFlag>&#41;
      () from /usr/lib/libQt5Core.so.5
      #22 0x00007f1fba908596 in QCoreApplication::exec&#40;&#41; () from
      /usr/lib/libQt5Core.so.5
      #23 0x00005583c5a2d3f0 in main (argc=1, argv=0x7ffe4a71d098) at testapp.cc:24
      

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes