Top-level checkbox only reverses selection, doesn't turn on/off
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
To verify this bug, sign up for a PPA with several new packages. A random example is https:/
1. Open Update Manager and notice that the gcompris PPA section has several packages available.
2. Uncheck one of the packages.
3. Click the top-level checkbox for the PPA.
4. Instead of deselecting everything in the PPA, the selection is reversed (what was checked is now unchecked and so on). And unchecking the PPA checkbox reverses the reversal.
In Gmail
========
The checkbox is unchecked by default. Clicking the header checkbox makes everything on the page checked including the checkbox. Unchecking one of the items changes the header checkbox into a "checked but inconsistent status" which is represented by showing the checkbox checked but at ~50% of normal intensity. Clicking the header checkbox again unchecks everything. Checking a few items afterwards does not put the header checkbox into checked or inconsistent mode.
GTK has an inconsistent mode but it doesn't seem to work the same way for checkboxes (it ought to!) and so doesn't seem to help: http://
What should happen:
===================
1. All items should be checked by default.
2. Unchecking an item should keep the header checked (if GTK properly represents the 3rd state, inconsistent, then that should be used now)
2b. If all section items are manually unchecked then the section header should be unchecked too to match.
3. Clicking the section header when it is in checked or inconsistent state and when some or all items are checked should uncheck all items including the section header.
4. Checking an item should keep the header unchecked until all items are checked when the section header should be checked too to match.
5. Clicking the section header when it is in unchecked state should make all section items checked.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: update-manager 1:0.152.15
ProcVersionSign
Uname: Linux 3.0.0-9-generic x86_64
Architecture: amd64
Date: Wed Aug 24 02:48:56 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110822)
PackageArchitec
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: update-manager
UpgradeStatus: No upgrade log present (probably fresh install)
description: | updated |
Changed in update-manager (Ubuntu): | |
status: | Confirmed → Triaged |
Thanks for tasking the time to report this bug. This is not a regression, as we did not have section checkboxes before, it has only been implemented for oneiric. The problem with implementing it as a select/deselect all checkbox is that we only have two-state checkboxes, with checked/unchecked state, therefore we can not represent a partially selected state.
What behavior would you like to see here?