readOnly TextField has clear button
Bug #1337257 reported by
Antti Kaijanmäki
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
lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/noReadOnlyClearance
- PS Jenkins bot: Approve (continuous-integration)
- Zsombor Egri: Approve
-
Diff: 33 lines (+4/-1)2 files modifiedmodules/Ubuntu/Components/TextField.qml (+2/-1)
tests/unit_x11/tst_components/tst_textfield.qml (+2/-0)
Changed in ubuntu-ux: | |
status: | Incomplete → New |
importance: | Undecided → Medium |
Changed in ubuntu-ui-toolkit: | |
importance: | Undecided → Medium |
Changed in ubuntu-ux: | |
status: | New → Triaged |
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) |
Changed in ubuntu-ui-toolkit: | |
milestone: | none → 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.
Why do we need "readOnly" anyway when we can set "enabled" to false?