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

When hiding a QGraphicsWidget when a child has the focus then the child will not get the focusOutEvent()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.7.2
    • 4.6.3, 4.7.0
    • Widgets: GraphicsView
    • None
    • c146652bfb336c084c39db7513e27540e456791e

    Description

      When hiding a QGraphicsWidget when a child QGraphicsWidget has the focus then focusOutEvent() will not be called on the child.

      Attached is a patch to the qgraphicswidget test which shows this reproducing.
      Also attached is a minimal patch that solves this problem.

      Attachments

        1. fixpatch.diff
          0.8 kB
        2. testpatch.diff
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            frederik Frederik Gladhorn
            anshaw Andy Shaw (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes