Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
None
-
5.12.3
-
None
-
Qt5.12.3 Android SDK 28, NDK 19c, Android 7,8,9.
Description
Run the following on Android;
import QtQuick 2.12 import QtQuick.Controls 2.12 ApplicationWindow { visible: true onHeightChanged: console.log("#### THIS SHOULDNT HAPPEN WHEN TAPPING ON TEXT", height) Flickable { anchors.fill: parent TextArea.flickable: TextArea { wrapMode: TextArea.Wrap selectByMouse: true text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris aliquet feugiat enim ut pulvinar. Nunc auctor eu nisl sit amet rutrum. Curabitur metus justo, euismod nec condimentum id, feugiat eu ipsum. Vivamus hendrerit tortor turpis, eu rhoncus enim blandit quis. Sed imperdiet velit at erat dapibus mollis. Aliquam condimentum tellus posuere congue finibus. Nunc tempus imperdiet felis sit amet tristique. Aliquam blandit, orci id elementum porttitor, elit libero laoreet ante, sed convallis massa erat quis velit. Vivamus sed risus ac metus auctor pulvinar ac non sem. Integer vel enim id est elementum consequat eu finibus leo. Praesent in ullamcorper leo. Donec suscipit eu orci in tempus. Nam hendrerit faucibus accumsan. Sed euismod in sapien nec luctus." } } }
Tapping anywhere on the text will cause ApplicationWindow.height to change and issue the message. This causes the most horrible screen flicker when trying to edit. Obviously made a lot worse when the app redraw is more complicated.
Some clues:
This does not happen if the text fills the screen! For example, copy and paste the text several times then try again and the flicker is gone, also the console.log message.
Checked on Android 7,8 & 9. The same.
Attachments
Issue Links
- duplicates
-
QTBUG-66711 Android: Window gets wrong size when keyboard is open
- Closed
- relates to
-
QTBUG-41170 [Android]: When the window resizes then there it will cause flicker
- Closed