Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QPlainTextEdit not showing first word on Android if placeholder is used

QPlainTextEdit not showing first word on Android if placeholder is used

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 440 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    Q Offline
    qt_erik
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved