← Back to team overview

touch-packages team mailing list archive

[Bug 1360840] Re: Checkbox should provide an exclusiveGroup property similar to upstream Qt CheckBox

 

Allowing ExclusiveGroup for checkboxes is a design mistake in Qt.

Checkboxes should never be simply mutually exclusive, because people
understand them as being independent. <http://www.nngroup.com/articles
/checkboxes-vs-radio-buttons/>

Checkboxes should seldom ever be related to each other at all. For
example, in a set of formatting checkboxes, [_] Bold  [_] Italic  [_]
Underline  [_] Double underline, the last two might be mutually
exclusive, but otherwise they're all independent.

The real problem here is that the Ubuntu toolkit is missing radio
buttons (bug 1211866), so developers are forced to confuse users by
using checkboxes instead.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1360840

Title:
  Checkbox should provide an exclusiveGroup property similar to upstream
  Qt CheckBox

Status in Ubuntu UI Toolkit:
  Confirmed
Status in ubuntu-ui-toolkit package in Ubuntu:
  Confirmed

Bug description:
  Upstream QtQuick Controls provide a CheckBox [1] which has a property
  called "exclusiveGroup" which comes in handy when trying to ensure
  that only one checkbox is checked within a group.

  For example, say in the UI we present a group choice like shown below
  where a user is expected to only choose one option. Using upstream QT
  Checkbox, this is quite simple to implement, while using the Ubuntu
  SDK Checkbox is a hassle.

  Choose an Alarm Sound
   [ ] Suru Arpeggio
   [x] Ubuntu
   [ ] Metal Piano

  [1] http://qt-project.org/doc/qt-5/qml-qtquick-controls-checkbox.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1360840/+subscriptions