[Development] Possible bug in touch event coordinates in QtWebEngine when using pixelDeviceRatio
Jake Petroules
jake.petroules at petroules.com
Wed Oct 14 17:48:30 CEST 2015
Hi Christophe,
Without commenting on the content of your patch at the moment, you just need to sign our CLA and push the change to our Gerrit Code Review system, where we can review and then hopefully integrate it. Check out https://wiki.qt.io/Qt_Contribution_Guidelines which will walk you through the complete process.
> On Oct 14, 2015, at 4:08 AM, Christophe Chapuis <chris.chapuis at gmail.com> wrote:
>
> Hello folks,
>
> I am currently working towards using QtWebEngine for our project (LuneOS), and I stumbled upon an issue. I am using the experimental devicePixelRatio property in the QML WebEngineView component, so that our html page is displayed nicely on mobile device with high DPI.
>
> However, I remarked that when using devicePixelRatio, only a part of the webpage was responding to touch events on device. Therefore I suspected an issue in the conversion of touch event coordinates, and found out that touch events don't seem to be mapped to web coordinates using dpiScale.
>
> I did this modification, and now it seems to be working fine: https://github.com/webOS-ports/qtwebengine/commit/ec0a2f759cd1fb2675ae6f761c6172004cf8af23 <https://github.com/webOS-ports/qtwebengine/commit/ec0a2f759cd1fb2675ae6f761c6172004cf8af23>
>
> Do you agree with this modification ? How could I push that upstream ?
>
> Regards,
> Christophe Chapuis
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
--
Jake Petroules - jake.petroules at petroules.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20151014/e40c0399/attachment.html>
More information about the Development
mailing list