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

When a widget is added to a QGraphicsScene inside a QGraphicsProxyWidget it causes any open menus to be closed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 4.7.3
    • Widgets: GraphicsView
    • None
    • Reproduced on Ubuntu 10.10

    Description

      When a widget is added to a QGraphicsScene inside a QGraphicsProxyWidget it causes any open menus to be closed, since it is not a new popup menu or top level then this should not be the case.

      In the example given, just click on the button to show a menu and it will close automatically whereas it should stay open.

      Attachments

        1. graphicsproxyfailure.cpp
          0.2 kB
        2. graphicsproxytest.pro
          0.4 kB
        3. mainwindow.cpp
          1 kB
        4. mainwindow.h
          0.5 kB
        5. mainwindow.ui
          3 kB
        6. main.cpp
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            andysh Andy Shaw
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes