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

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

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes