Priority: P2: Important
Affects Version/s: 6.2.2
Component/s: Quick: Core Declarative QML
Commits:8068bde891 (qt/qtdeclarative/dev) 8068bde891 (qt/tqtc-qtdeclarative/dev) 71660c9700 (qt/qtdeclarative/6.3) 71660c9700 (qt/tqtc-qtdeclarative/6.3) 71660c9700 (qt/tqtc-qtdeclarative/6.3.1) e9f1881c0d (qt/tqtc-qtdeclarative/6.2)
We have an touch screen embedded device where the screen is installed upside down at manufacturing. To work around this, we do a rotation transform in our main QML file. The below code worked fine in Qt5, but in Qt 6.2.2, it seems that the deceleration of a Flickable occurs in the untransformed rotation, opposite to how the Flickable was dragged. I have seen this behavior on both macOS and our Yocto distro.
An example is shown below. If you slowly scroll the window it behaves as expected, but if you drag quickly and let go, you will bounce back to where you started the drag.
We have been using the technique below since Qt 5.6. Is this even the correct way we should be working around the screen orientation, or is there a better way in Qt to indicate that the screen is inverted?
|For Gerrit Dashboard: QTBUG-99639|
|408995,4||QQuickFlickable: fix flicking when item is rotated||dev||qt/qtdeclarative||Status: ABANDONED||+1||0|
|409423,8||QQuickFlickable: fix flicking when item is rotated||dev||qt/qtdeclarative||Status: MERGED||+2||0|
|410734,2||QQuickFlickable: fix flicking when item is rotated||6.3||qt/qtdeclarative||Status: MERGED||+2||0|
|410844,2||QQuickFlickable: fix flicking when item is rotated||tqtc/lts-6.2||qt/tqtc-qtdeclarative||Status: MERGED||+2||0|