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

Deprecate QWidget::repaint()

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.13.0 RC 3, 5.15
    • None
    • All

      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.

        For Gerrit Dashboard: QTBUG-80237
        # Subject Branch Project Status CR V

            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

              Created:
              Updated:

                There are no open Gerrit changes