RFE: add 'uncheck all' or 'none' UI element for gpk-update-viewer Description of problem: When viewing available updates it is often beneficial to end-users to do updates in small groups, particularly for slow network connections. Currently a large update set would require the user to click many checkboxes to reduce the group to a few. Please add an option to select only a few packages in a simpler way (uncheck all, then manually reselect a few). Version-Release number of selected component (if applicable): PackageKit-0.1.10-1.fc9
Any idea what the UI would look like? Us PK devs couldn't come up with a "select/unselect all" widget that was obvious.
I can't think of a button that would look good with the UI as it is. Perhaps a right click context menu, but I have a feeling that was intentionally being avoided? Maybe a single small (square) button on the bottom left of the window, which changes action between 'All' and 'None' when clicked. If you manually select a few after clicking 'None' (so the button currently displays 'All' as the next action if clicked) it would still leave 'All' as the button action. To get none again you'd have to select all then none. I think a context menu would work better though.
Yes, I think a context menu might be best also. Do you have any gtk experience - could you possibly give me a hand with this new feature?
Unfortunately no I haven't done any gtk UI (at least successfully lol, I played with glade a few years ago).
right click context menu is the best and easy solution, put a checkbox in the treeview header will get out of HIG, IMHO, it will like as a new widget. I already did that in APTonCD using python and gtk, i think the right click menu can be ported to C.
I also think a context menu would be good enough, "uncheck all" is arguably an advanced feature and one can expect users needing advanced features know ablut context menus. In my ideal world would be useful to have some sort criteria for the packages,like priority, size and such. So maybe some clicking on those criteria column titles could also accomplish "uncheck all".
On web interfaces I use clickable + / - links, that has a pretty obvious meaning, specially with a tooltip ("Select all" / "Unselect all"). I haven't come to a handy and sort concept for "invert selection", but it's not 100% necessary. Check some and invert selection can be done by selecting all and unselecting some.
Well a set of small square buttons like that would probably be better for accessibility. A context menu is not an element you can tab to or select as easily with only a keyboard type input device. I think it would be nice to get any option put in there though, so whatever seems doable will be great.
I've added a context menuitem in commit ec9c197442980e843480ac500a0c80dbb92744f5