Date: prev next · Thread: first prev next last
2017 Archives by date, by thread · List index


Hi,

I'm just coming from a phoronix post about qt5 work on libreoffice. I
noticed that 
https://cgit.freedesktop.org/libreoffice/core/commit/?id=1426437be0530a8ba5749c7e76c5ce0e9053af2f 
mentioned that there're still some issues on touchpad, so I'd just like to
provides some info about qt5's wheel event since I had fixed a bunch of
similar issue in KDE some time ago.

This is because qt5  generates high resolution touchpad event.  The correct
implementation can be  done by either making use of pixelDelta to do high
resolution scroll, or using  angleDelta(or delta in qwidget) to trigger a
"tick" every 120 unit of angle delta. More information can be  found at 
http://doc.qt.io/qt-5/qml-qtquick-wheelevent.html#angleDelta-prop (it's for
qml but the information about delta also applies to qwidget).

An example of "120 per tick" implementation in KDE code base can be found
at: 
https://lxr.kde.org/source/frameworks/plasma-framework/src/scriptengines/qml/plasmoid/containmentinterface.cpp#1097

I guess for this  Qt5 work is still WIP probably doesn't worth a bug report,
so I'd just ping some one  here.

Regards,
Xuetian



--
Sent from: http://nabble.documentfoundation.org/Dev-f1639786.html

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.