Text not visible in some QML components in the Android emulator
-
wrote on 19 Jun 2024, 17:04 last edited by
When I run a very simple app in the Android x86_64 emulator, texts in
TextField
andComboBox
are not visible on screen.The screenshots shows the emulator left and a screenshot from my Nokia XR20 right, running the same app, deployed from QT Creator.
I have tested with Qt 6.7 and 6.8.0-beta1, various emulated phones (x86_64) and two different machines, one with an AMD CPU and display card, and one with an Intel CPU and integrated graphics. Both running kubuntu.
The test-app is like this:
import QtQuick import QtQuick.Controls import QtQuick.Layouts Window { width: 640 height: 480 visible: true title: qsTr("Hello World") ColumnLayout { anchors.fill: parent anchors.margins: 20 spacing: 10 Label { text: "Label text" } TextField { Layout.preferredWidth: 100 placeholderText: "Enter text" text: "Some text" } ComboBox { Layout.preferredWidth: 100 model: ["Option 1", "Option 2", "Option 3"] } Item { Layout.fillHeight: true } } }
-
wrote on 17 Jul 2024, 14:15 last edited by
I have the same issue. By the way, I have noticed that the placeholderText property is shown correctly
-
wrote on 18 Jul 2024, 08:56 last edited by
Found that I had this problem with TextField too. TextInput shows, however
-
wrote on 28 Aug 2024, 17:54 last edited by
I've been noticing the same and has been driving me crazy. Currently found TextField and ComboBox affected.
Doesn't matter how simple the code or even if the colour is set for the text,it will never show unless highlighted.
Been using 6.4 and 6.5
-
wrote on 28 Aug 2024, 18:13 last edited byThis post is deleted!