qt6-bb10/src/widgets
David Faure cd528d81f7 QWidgetWindow: fix enter/leave events not sent due to fractional scaling
If widget A starts at y=0 and widget B starts at y=19, when the mouse
moves from y=15 to y=18.6667, the code was doing childAt(p) with a
rounded QPoint y=19 and finding B, but then the relative coord for B
was set to -0.33333 so B wasn't under the mouse and didn't get an enter
event (and since it's now the "last receiver", it doesn't get one later
either when y is bigger).

Add QWidget::childAt(QPointF) to fix this.

Fixes: QTBUG-128391
Change-Id: I76d4b711a8297648780bdd079eb67405ab12be14
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 40bde8a572bd8ed039d3f5a5ab99b281de7410bd)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-08-31 08:56:20 +00:00
..
accessible Fix accessibility of list views with underlying multi-column model 2024-06-26 22:52:30 +00:00
compat Add parent arg to QFileDialog::getOpenFileContent and saveFileContent 2023-12-28 17:16:12 +01:00
dialogs Doc: Remove usage of defunct QDoc command 2024-08-28 11:39:51 +00:00
doc Doc: Remove usage of defunct QDoc command 2024-08-28 11:39:51 +00:00
effects Move qt_blurImage to Qt GUI 2024-03-14 19:11:52 +01:00
graphicsview QGraphicsProxyWidget: use focus abstraction instead of focus_next/prev 2024-03-18 17:21:22 +01:00
itemviews QListView/QTableView: attempt to move each row even after a failure 2024-08-29 22:13:33 +00:00
kernel QWidgetWindow: fix enter/leave events not sent due to fractional scaling 2024-08-31 08:56:20 +00:00
platform/ios cmake: Generate Apple privacy manifest files for Qt modules 2024-02-13 21:53:34 +01:00
styles Widgets/fusion style: remove check for _q_isComboBoxPopupItem property 2024-08-30 06:38:49 +00:00
util Doc: Remove usage of defunct QDoc command 2024-08-28 11:39:51 +00:00
widgets Doc: Remove usage of defunct QDoc command 2024-08-28 11:39:51 +00:00
CMakeLists.txt Remove GENERATE_CPP_EXPORTS argument 2024-06-13 14:39:17 +00:00
Qt6WidgetsMacros.cmake CMake: qt_add_ui: Add sources to target_sources 2024-08-12 17:26:49 +00:00
QtWidgets.dynlist
configure.cmake Introduce new empty Windows 11 style 2023-10-27 18:32:54 +02:00
qt_cmdline.cmake