Comment 2 for bug 1166982

Revision history for this message
Stuart Langridge (sil) wrote :

Am I right in thinking that a ListItem which has a disabled control in it won't do anything if clicked? If that is correct, then it should not be highlighted. I think that if a ListItem with a control inside can do different things when the ListItem is clicked from when the control is clicked, that's confusing, but if that *is* the case, then I'm not sure about the highlight.

It is possible that you don't mean "highlight while it is pressed" (that is, some sort of 'currently pressed' visual effect) but instead you mean a QML list highlight -- the thing that specifically highlights the currently *selected* ListItem. If that is the case, then I think that a ListItem with a disabled control should still be able to get the highlight: if you don't want it to be highlightable, then disable the whole LIstItem, not just its control.