readOnly TextField has clear button

Bug #1337257 reported by Antti Kaijanmäki
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Fix Released
Critical
Cris Dywan
Ubuntu UX
Fix Released
Medium
Jouni Helminen
ubuntu-ui-toolkit (Ubuntu)
Fix Released
Undecided
Unassigned
Vivid
New
Undecided
Unassigned

Bug Description

TextField {
    width: parent.width
    height: 100
    text: "do not even think about it"
    readOnly: true
    font.pixelSize: 30
}

Related branches

Revision history for this message
Tim Peeters (tpeeters) wrote :

Why do we need "readOnly" anyway when we can set "enabled" to false?

Revision history for this message
Olga Kemmet (olga-kemmet) wrote : Re: [sdk] TextField can be cleared using the "X" button in the UI, even though the ReadOnly property is set to true

This seems like an SDk implementation problem. Need more info, maybe an example.

summary: - TextField can be cleared using the "X" button in the UI, even though the
- ReadOnly property is set to true
+ [sdk] TextField can be cleared using the "X" button in the UI, even
+ though the ReadOnly property is set to true
Changed in ubuntu-ux:
status: New → Triaged
assignee: nobody → Jouni Helminen (jounihelminen)
status: Triaged → Incomplete
John Lea (johnlea)
Changed in ubuntu-ux:
status: Incomplete → New
importance: Undecided → Medium
Changed in ubuntu-ui-toolkit:
importance: Undecided → Medium
John Lea (johnlea)
Changed in ubuntu-ux:
status: New → Triaged
Revision history for this message
Zsombor Egri (zsombi) wrote :

Tin, enabled and readonly are visualised differently. So they are different. The bug is still valid though

Changed in ubuntu-ui-toolkit:
status: New → Triaged
importance: Medium → Critical
Cris Dywan (kalikiana)
description: updated
summary: - [sdk] TextField can be cleared using the "X" button in the UI, even
- though the ReadOnly property is set to true
+ readOnly TextField has clear button
Changed in ubuntu-ui-toolkit:
assignee: nobody → Christian Dywan (kalikiana)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:ubuntu-ui-toolkit/staging at revision None, scheduled for release in ubuntu-ui-toolkit, milestone Unknown

Changed in ubuntu-ui-toolkit:
status: Triaged → Fix Committed
Zoltan Balogh (bzoltan)
Changed in ubuntu-ui-toolkit:
milestone: none → 10.24
Revision history for this message
Jouni Helminen (jounihelminen) wrote :

should be removed from ReadOnly, and seems Christian has done so

Changed in ubuntu-ux:
status: Triaged → Fix Committed
Tim Peeters (tpeeters)
Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Fix Released
Changed in ubuntu-ux:
status: Fix Committed → Fix Released
Changed in ubuntu-ui-toolkit:
status: Fix Committed → 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.