qt6-bb10/src
Yin Jie 60a67dc41e Position QCompleter popup based on the widget's screen geometry
If adding a QLineEdit to a QGraphicsScene as a QGraphicsProxyWidget, the popup
completion of that QLineEdit is drawn in the wrong location. When the completer
getting the rect of screen, it gets the rect of the QGraphicsScene where
QLineEdit is located rather than the rect of the screen, resulting in an error
in the following calculation.

Note that as long as the completer popup is a toplevel widget not parented
to the target widget, it will not be automatically embedded into the graphics
view via QGraphicsProxyWidget. So with multiple views for a scene, or in views
that use transformations, the geometry will still be off.

Pick-to: 6.3
Task-number: QTBUG-20531
Change-Id: If5d8a707ca35a9e4709117b077978145c6143e46
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2022-02-15 01:28:30 +00:00
..
3rdparty Add new third party SHA-3 implementation to replace old obsolete one 2022-02-14 17:32:14 +01:00
android Android A11Y: populate child elements when constructing node info 2022-02-14 09:34:36 +01:00
concurrent Remove mentions of QtConcurrent::runWithPromise from docs 2022-02-11 22:02:35 +01:00
corelib QFlatMap: temporarily disable some code 2022-02-14 13:20:03 +01:00
dbus Doc: Fix minor grammar issues in qtdbus-index 2022-02-09 15:17:53 +01:00
entrypoint QtBase: replace windows.h with qt_windows.h 2021-11-23 12:53:46 +08:00
gui Fix integer overflow for broken QPainterPaths 2022-02-14 12:51:10 +01:00
network HTTP: Make redirect response parsing more generic 2022-02-11 21:54:44 +01:00
opengl Fix run time failure for UI autotests (INTEGRITY) 2022-01-25 02:59:36 +02:00
openglwidgets Migrate to autogenerated cpp exports 2021-06-25 19:33:12 +02:00
platformsupport evdev: Prevent race condition in touch events processing 2022-01-26 01:01:31 +00:00
plugins Windows QPA: Correct mistake when calculating minmaxinfo 2022-02-14 23:48:23 +01:00
printsupport Remove unused .qrc files 2022-01-17 23:17:01 +01:00
sql Check for null driver() before trying to exec() 2022-01-25 16:18:35 +01:00
testlib Core: Remove 'properties' feature 2022-02-14 12:50:59 +01:00
tools Core: Remove 'properties' feature 2022-02-14 12:50:59 +01:00
widgets Position QCompleter popup based on the widget's screen geometry 2022-02-15 01:28:30 +00:00
xml Remove QXml* from bootstrap lib 2022-02-09 19:49:37 +01:00
CMakeLists.txt Make it possible to disable the PrintSupport module 2021-02-09 09:17:21 +01:00