ListItem.Standard/ SingleControl with non-Button causes error

Bug #1384376 reported by Cris Dywan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Fix Released
Low
Cris Dywan
ubuntu-system-settings (Ubuntu)
Invalid
Low
Unassigned
ubuntu-ui-toolkit (Ubuntu)
Fix Released
Undecided
Unassigned
Vivid
Fix Released
Undecided
Unassigned
ubuntu-ui-toolkit (Ubuntu RTM)
New
Undecided
Unassigned

Bug Description

Something like this:

                    ListItem.SingleControl {
                        control: TextField {
                            text: "Brääät"
                        }
                    }

file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/ListItems/SingleControl.qml:59:14: Unable to assign [undefined] to bool

The code assumes that a "pressed" property exists which is only the case for buttons.

Related branches

Cris Dywan (kalikiana)
Changed in ubuntu-ui-toolkit:
status: New → Confirmed
Changed in ubuntu-system-settings (Ubuntu):
status: New → Confirmed
Changed in ubuntu-ui-toolkit:
importance: Undecided → Low
Iain Lane (laney)
Changed in ubuntu-system-settings (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Sebastien Bacher (seb128) wrote :

doesn't seem to be a toolkit issue

Changed in ubuntu-system-settings (Ubuntu):
importance: Undecided → Low
Revision history for this message
Sebastien Bacher (seb128) wrote :

toolkit->settings

Revision history for this message
Cris Dywan (kalikiana) wrote :

Not an issue in the settings however the settings use this and log errors on startup.

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: Confirmed → Fix Committed
Zoltan Balogh (bzoltan)
Changed in ubuntu-ui-toolkit:
status: Fix Committed → Fix Released
Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Fix Released
Changed in ubuntu-ui-toolkit (Ubuntu Vivid):
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.