[haiku-development] SoftwareUpdater (take 2) testing

  • From: Brian Hill <brianh@xxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sat, 25 Feb 2017 15:01:35 -0500

OK here is DR2 of SoftwareUpdater. Thanks to Humdinger and Adrien for suggestions. I made some changes:
-Updates to wording
-View Details window now displays package info in a table and also has a button to start the update process
-StatusBar added for package download progress
-Notification message displayed on completion of updates

Here is the binary (x86_gcc2):
https://drive.google.com/file/d/0B8n9qMefrOQJcXVEeF96MEM0TEU/view?usp=sharing

One thing I need help with is figuring out how to get the last status window result (upon completion of updates or if you start the package downloads then cancel it) to resize properly. Once the StatusBar displays and then is removed the window remains slightly larger than it needs to be so the spacing is off, especially under the "OK" button. The link below is the code where I sent the window a message to resize, but whatever I try does not seem to work. The status bar has been removed from the layout but the window doesn't want to resize correctly.

https://github.com/Perelandra0x309/haiku/blob/updater/src/apps/softwareupdater/SoftwareUpdaterWindow.cpp#L209

Thanks everyone!

-Brian


Other related posts: