you should already have installed the patch for QTBUG-59026 (RadioButtons Type) if you’re developing Android Apps.
While updating my projects from Qt 5.7 to 5.8 I was running into another show-stopper-bug:
Using the Drawer or Bottom Navigation Bar some color from pressing the buttons down remains after fingers are released. This happens on Android and iOS and the amount of color is different from case to case – sometimes not easy to detect.
Here are some screenshots so you can verify if this happens also in your apps:
Running example Apps like QtQuickControls2 Gallery all works well.
It took me some time to have a small reproducable test case and I opened QTBUG-59293
Again @jpnurmi could help and provides a patch.
Material: force ripple background when hidden
Now it’s easy to patch.
Hint: this time we must do this for the Android kit and also for the iOS kit.
Open a Terminal and do this to patch your Android Kit.
Attention: I’m using the Android repo I already cloned for the first patch.
export ANDROID_NDK_ROOT=/your_path_to/android-ndk-r10e cd /your-path-to-store-cloned-repo_android cd qtquickcontrols2 git fetch https://codereview.qt-project.org/qt/qtquickcontrols2 refs/changes/64/187564/1 && git cherry-pick FETCH_HEAD /your-path-where-qt-is-installed/5.8/android_armv7/bin/qmake make make install
Now we’re doing the same for iOS. Create a folder where you want to store the repo. Then:
cd /your-path-to-store-cloned-repo_ios git clone --branch 5.8 git://code.qt.io/qt/qtquickcontrols2.git cd qtquickcontrols2 git fetch https://codereview.qt-project.org/qt/qtquickcontrols2 refs/changes/64/187564/1 && git cherry-pick FETCH_HEAD /your-path-where-qt-is-installed/5.8/ios/bin/qmake make make install
Hint: ‘make’ can take some time
There are some other ways you only have one repo for Android and iOS – see comments from @jpnurmi at QTBUG-59293.
Now the Ripple Effect is working again inside a Drawer with Qt 5.8 and QtQuickControls2 🙂
One use-case is left where some color remains, but there’s a workaround, so I can go on moving my projects from 5.7 to 5.8
thanks @jpnurmi helping me to make this work.