Readonly TextArea accepts return key events when using RichText format

Bug #1334344 reported by Dan Chapman 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Fix Released
Critical
Cris Dywan
ubuntu-ui-toolkit (Ubuntu)
Fix Released
Undecided
Unassigned
Vivid
New
Undecided
Unassigned
ubuntu-ui-toolkit (Ubuntu RTM)
Fix Released
Undecided
Unassigned

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"
}

Related branches

Zsombor Egri (zsombi)
Changed in ubuntu-ui-toolkit:
importance: Undecided → Critical
status: New → Triaged
Cris Dywan (kalikiana)
Changed in ubuntu-ui-toolkit:
assignee: nobody → Christian Dywan (kalikiana)
Cris Dywan (kalikiana)
Changed in ubuntu-ui-toolkit:
status: Triaged → In Progress
Zsombor Egri (zsombi)
Changed in ubuntu-ui-toolkit:
milestone: none → 10.24
Cris Dywan (kalikiana)
Changed in ubuntu-ui-toolkit:
status: In Progress → Fix Committed
Zoltan Balogh (bzoltan)
Changed in ubuntu-ui-toolkit:
status: Fix Committed → Fix Released
Zsombor Egri (zsombi)
Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Fix Released
Changed in ubuntu-ui-toolkit (Ubuntu RTM):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.