Bug 232112 - [ui] Site category checkbox behaviour different if not yet expanded
Summary: [ui] Site category checkbox behaviour different if not yet expanded
Status: CLOSED WORKSFORME
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2008-05-14 12:17 EDT by Kevin McGuire CLA
Modified: 2011-06-10 22:40 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin McGuire CLA 2008-05-14 12:17:54 EDT
RC1 0513-2000

1) Software Updates -> Available Software
2) Add a site, or pick an existing site
3) Click on the site's checkbox

Observe: the site gets checked, the tree expands to show the child category, but the category isn't checked.

4) Cancel
5) Open dialog again, same page
6) This time expand the site first
7) Check it

Observe: it and its category children get checked. It seems a problem that until the item is expanded, the child "doesn't exist yet" so doesn't get checked.  Note that expanding then collapsing gives same deep checkboxing as seen when expanded, so its just a first time thing.
Comment 1 Susan McCourt CLA 2008-05-14 12:29:40 EDT
this is by intention at the moment because we were losing the check mark anyway when "pending" got replaced with the actual site content.  So the very first check on a site is interpreted as an expand until we find a more elegant solution.

This could be solved with a custom pending update adapter that transferred its check state to its replacements.
Comment 2 David Newcomb CLA 2008-06-02 12:51:29 EDT
Version: 3.4.0
Build id: I20080516-1333

Help->Software Updates
Clicking any of the check boxes opens the branch with only the top level selected.
Clicking Install goes through to the next screen with is empty because the sub-branches of the previous selection have not been selected.

Workaround
Click the checkbox to uncheck your selection.
Click the checkbox again while the branch is open.
All sub-branches are now selected.
Click install.

If the first click is interrupted as an expand then the check box should not be ticked. Ticked means that all the sub-branches are also ticked and this is not the case.
Comment 3 Susan McCourt CLA 2008-06-02 13:48:28 EDT
David, this should be fixed in later builds.
See bug #233183