QLineEdit in Android - no text visual
-
Qt 6.7.2, QtCreator 14.0.1, Linux Mint 22
Setup Android according to documentation
Create a new Android project, QtWidget Application.
Put a QLineEdit on mainwindow.ui
Run in Android Emulator or in physical phone (tested three different)Type something into the QLineEdit, no text shown, something is entered but its like white text on white background. Changing color does not help!
Rotate screen and the text entered will be visible.
Is this just me or a horrible bug???
-
Yes, I believe it's a bug. It's not limited to a simple QLine. Regardless of the widget used, it's not updated on the upper half of the phone's screen. If you move it down to the lower part, you'll see that it works again.
This is a real issue, and I still don't have a solution...
To fix this bug, I use now Qt 6.8 but nothing has changed.
-
So this is how "well" they test the code before they release it...
Makes Qt more or less useless on Android.Why try to report that some settings does not save in configuring an Android project when they cannot even handle widgets right...
And no better on 6.8 then?
@Morgatte said in QLineEdit in Android - no text visual:
Yes, I believe it's a bug. It's not limited to a simple QLine. Regardless of the widget used, it's not updated on the upper half of the phone's screen. If you move it down to the lower part, you'll see that it works again.
This is a real issue, and I still don't have a solution...
To fix this bug, I use now Qt 6.8 but nothing has changed.
-
I fixed a bunch of bugs in the Android backing store and also in text edit fields. Haven’t come across this, but it absolutely sounds like a bug. Please boil it down to a simple reproducer that has no more than a few lines. Feel free to report a bug as well. I’ll look into it.
-
@Axel-Spoerl said in QLineEdit in Android - no text visual:
I fixed a bunch of bugs in the Android backing store and also in text edit fields. Haven’t come across this, but it absolutely sounds like a bug. Please boil it down to a simple reproducer that has no more than a few lines. Feel free to report a bug as well. I’ll look into it.
QTBUG-128794
-
Please boil it down to a simple reproducer that has no more than a few lines.
The reproducer is missing in the ticket.
Please add an archive, that can be downloaded, compiled, deployed and run out of the box. -