Skip to content
Commit 2288a0f1 authored by Fushan Wen's avatar Fushan Wen
Browse files

PanelView: fix rejecting click events near window edge with HiDPI

When using HiDPI and a click happens near the window edge, the global
position might have fractional parts, but after the global position is
converted to QPoint, the position can be rounded so it happens to stay
at the window edge, so the window geometry will not contain the rounded
position.

See also: https://codereview.qt-project.org/c/qt/qtdeclarative/+/548356

BUG: 482580
FIXED-IN: 6.0.3


(cherry picked from commit 59c02b41)
parent 4230fe49
Pipeline #637080 passed with stage
in 24 minutes and 10 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment