← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1597185] [NEW] TextArea: placeholder doesn't get removed when text inserted via the QQuickTextDocument

 

Public bug reported:

When setting the text of the TextArea via
QQuickTextDocument::textDocument::setPlainText() the placeHolder text
doesn't get removed and is visible underneath the text.

I've attached a screenshot and a simple example

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "textareabug.png"
   https://bugs.launchpad.net/bugs/1597185/+attachment/4692031/+files/textareabug.png

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1597185

Title:
  TextArea: placeholder doesn't get removed when text inserted via the
  QQuickTextDocument

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  When setting the text of the TextArea via
  QQuickTextDocument::textDocument::setPlainText() the placeHolder text
  doesn't get removed and is visible underneath the text.

  I've attached a screenshot and a simple example

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1597185/+subscriptions