← Back to team overview

touch-packages team mailing list archive

[Bug 1334344] Re: Readonly TextArea accepts return key events when using RichText format

 

** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: New => Fix Released

** Changed in: ubuntu-ui-toolkit (Ubuntu RTM)
       Status: New => Fix Released

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

Title:
  Readonly TextArea accepts return key events when using RichText format

Status in Ubuntu UI Toolkit:
  Fix Released
Status in ubuntu-ui-toolkit package in Ubuntu:
  Fix Released
Status in ubuntu-ui-toolkit package in Ubuntu RTM:
  Fix Released

Bug description:
  When using a readonly TextArea like the snippet below, it still
  accepts return key events when the text format is set to
  TextEdit.RichText, resulting in either text being broken on to new
  lines or empty lines being created .

  TextArea {
       anchors {
          left: parent.left
          right: parent.right
      }
      readOnly: true
      textFormat: TextEdit.RichText
      text: "I can break this line up with the Return key when textFormat: TextEdit.RichText"
  }

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