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

QCompleter in QGraphicsView

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.12.10
    • Widgets: GraphicsView
    • None
    • Linux/X11

    Description

      When a QCompleter is added to a QTextEdit, which is then added to a QGraphicsScene, the QCompleter does not function as it does when within a normal Widget. The completer dialog seems to popup as designed, but the dialog only appears on odd quantities of key presses. When the count of key presses is even, the dialog box disappears, which seems to imply a focus issue.

      Example, when completing the word "One".

      Type "O", dialog appears. Type "n", the dialog disappears". Type "e", the dialog reappears.

      Reproduce: Open the "Custom Completer Example", add a QGraphicsView and QGraphicsScene in constructor of MainWindow class, instead of adding the completingTextEdit as centralWidget, add it to the graphics scene, the described behavior occurs

      Attachments

        Issue Links

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

          Activity

            People

              yckbrd Yannick Brand
              yckbrd Yannick Brand
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes