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

No repaint when QGraphicsEffect gets destroyed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.4.3, 6.5.0
    • 6.4.1
    • GUI: Painting
    • None
    • All
    • 2946447f5 (dev), c8d46f792 (6.4), 4b2f5a9ab (6.5)

    Description

      Found this during a discussion in the forum: https://forum.qt.io/topic/141198/how-to-handle-when-an-qlineedit-widget-is-selected-and-no-longer-selected/11

      When a QGraphicsEffect is enabled and gets destroyed, the (parent) widget does not get a repaint and it looks like the effect is still active until a repaint (e.g. due to min/max of the window) is triggered from outside.

      An easy fix would be the call setEnabled(false) in the dtor. Can provide a patch if needed.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            chehrlic Christian Ehrlicher
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes