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

Deprecate QWidget::repaint()

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 5.13.0 RC 3, 5.15
    • None
    • All

    Description

      The synchronous QWidget::repaint() has been documented as "not recommended" for long, and it does not work with modern window managers. We need to draw within the frame we have been assigned and mark the window as dirty if we want a repaint (which is what update() does).

      In Qt 5.15 we should deprecate it so that it can be removed in Qt 6.

      Attachments

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

        Activity

          People

            vestbo Tor Arne Vestbø
            esabraha Eskil Abrahamsen Blomfeldt
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes