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

Shortcuts don't work for QWidget that embedded to QGraphicsView

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.9.1
    • None
    • Tested it on Qt5.9.x but i guess it does not work for Qt4 too.

    Description

      To reproduce the issue:

      1. Create any QWidget and add QAction with shortcut to it.

      2. Create QGraphicsView, QGraphicsScene

      3. Add QWidget (with action) to the scene.

      4. Run application, set focus to QWidget and try to activate the QAction by shortcut. Will fail.

      If the QWidget will be added into the regular QMainWindow shortcut works fine.

      Attachments

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

        Activity

          People

            bibr Andreas Aardal Hanssen
            besd Dmitry Beskorovainov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes