Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QPlainTextEdit not showing first word on Android if placeholder is used



  • Just wondering if anyone else has noticed a problem with QPlainTextEdit widgets not showing the first word on Android devices until a space bar is hit or a predictive text selection is made.
    This problem only happens when you set the placeholder text, and only on Android that I can tell.

    So something like this causes issues:
    comments_line_edit = new QPlainTextEdit;
    comments_line_edit->setPlaceholderText("Comments");

    but commenting out the second line has no issues.

    It seems like a pretty straightforward bug to me, but then again, I might be missing something simple!

    Thanks,

    Erik


Log in to reply