[haiku-development] SoftwareUpdater DR3

  • From: Brian Hill <brianh@xxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 5 Mar 2017 07:22:27 -0500

Good morning everyone (or afternoon as the case may be for our European 
friends),

Here is #3 testing release for the SoftwareUpdater.  In this version I have 
implemented two options for displaying the details of the packages to be 
updated/installed/uninstalled.  Like previously there is the “View details” 
button which brings up a separate window with a table of package changes.  This 
window can remain open while the updates occur.

New in this version is an outline list view integrated right into the primary 
window which displays package info in a different way.  Look at both and please 
reply with your view on which is better.  Also the list view can be put into 
the separate “details” window, or the table could be put in the primary window. 
 So which presentation do you like, and should it be integrated or a separate 
window?

For the integrated list, I did attempt to get the hiding widget working (like 
what you see in the Installer application to show/hide the optional packages) 
but I was having difficulty getting the window to resize back down when the 
list is hidden.  The window would remain the same size with lots of empty 
space.  Maybe I am not doing the layout right, or there may be a bug in the way 
B_AUTO_UPDATE_SIZE_LIMITS flag is implemented.  Even in this version, when the 
list first appears you can reduce the window size down to show only a few 
packages.  However if you expand the window large, then hit the Cancel button, 
you can no longer resize the window smaller like before, it is stuck at the 
current size.  Not sure what is going on, but if you have any hints please let 
me know.

Thanks for all the testing, and again standard caution against using this on 
one of your regular partitions, use it on a cloned Haiku instance just in case 
:-)

Oh the link:
https://drive.google.com/file/d/0B8n9qMefrOQJR3ZJNkxLYnA5VE0/view?usp=sharing

-Brian

Other related posts: