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

QCompleter in QGraphicsView

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Duplicate
    • Affects Version/s: 5.12.10
    • Fix Version/s: None
    • Component/s: Widgets: GraphicsView
    • Labels:
      None
    • Platform/s:
      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

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              bibr Andreas Aardal Hanssen
              Reporter:
              yckbrd Yannick Brand
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes