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

QLineEdit with a QCompleter: popup completion is drawn on the wrong location

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 4.7.3, 4.8.4, 5.1.0 Beta 1
    • Widgets: GraphicsView
    • None
    • Win7 Home Premium SP1, 64 bit

      If adding a QLineEdit to a QGraphicsScene as a QGraphicsProxyWidget, the popup completion of that QLineEdit is drawn in the wrong location. E.g. the QGraphicsProxyWidget/QLineEdit can be drawn in the center of the scene (pos = (0,0)), but the popup is drawn in the upper left corner of the main window. I therefor think that the mapping between the different coordinate systems (scene <-> main window) isn't working properly.

      edit: attached a screenshot

        1. example.zip
          2 kB
          Nick Gaens
        2. qcompleter_graphicsview.patch
          0.6 kB
          Jörg Hundertmarck
        3. screenshot.png
          52 kB
          Nick Gaens
        4. testcompleter.zip
          2 kB
          Jie Yin
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            r3veng Nick Gaens
            Votes:
            4 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes