** Description changed:

  To verify this bug, sign up for a PPA with several new packages. A
  random example is https://launchpad.net/~aapo-
  rantalainen/+archive/gcompris . Before installing the PPA, install
  gcompris and several language packs. Then install the PPA and refresh
  your apt cache.
  
  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.
  
- This is not what is expected and is a regression.
+ 
+ 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://developer.gnome.org/gtk3/unstable/GtkToggleButton.html#gtk-
+ toggle-button-set-inconsistent
+ 
+ 
+ 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
  ProcVersionSignature: Ubuntu 3.0.0-9.12-generic 3.0.3
  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)
  PackageArchitecture: all
  ProcEnviron:
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SourcePackage: update-manager
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/832541

Title:
  Top-level checkbox only reverses selection, doesn't turn on/off

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/832541/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to