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

QGraphicsScene rendering artefacts when overlaped window (QlineEdit) has blinking cursor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 4.6.3, 5.12.0 RC
    • Widgets: GraphicsView
    • None
    • Win XP, Qt SDK for Windows. 4.6.3

    Description

      My GraphicsScene has many moving items, and scene painting on the view takes some time.
      My QGraphicsView overlaped with QlineEdit (QlineEdit has parent QGraphicsView). When QlineEdit has focus his cursor is blinking.
      When text cursor in QlineEdit showed/hided then moving items (and/or background) around QLineEdit rendered with artefacts.

      In attached example I increase speed of cursor blinking for visualising artefacts. (with QApplication::setCursorFlashTime())
      For viewing this bug:
      1. LineEdit must be in focus
      2. Size of toplevel window should be such that the circle moved around LineEdit.

      Attachments

        1. main.cpp
          2 kB
        2. main.cpp
          1 kB
        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
            alexander74 Unrau Alexander
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes