readOnly TextField has clear button

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

Bug Description

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

Related branches

lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/noReadOnlyClearance
PS Jenkins bot: Approve (continuous-integration) on 2014-10-02
Zsombor Egri: Approve on 2014-10-02
Tim Peeters (tpeeters) wrote :

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

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) on 2014-07-21
Changed in ubuntu-ux:
status: Incomplete → New
importance: Undecided → Medium
Changed in ubuntu-ui-toolkit:
importance: Undecided → Medium
John Lea (johnlea) on 2014-07-22
Changed in ubuntu-ux:
status: New → Triaged
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
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)
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) on 2014-10-13
Changed in ubuntu-ui-toolkit:
milestone: none → 10.24
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) on 2014-10-24
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  Edit
Everyone can see this information.

Other bug subscribers