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

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

      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.

        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.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes