[haiku-development] Re: SoftwareUpdater DR1 testers requested

  • From: "Adrien Destugues" <pulkomandy@xxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 24 Feb 2017 11:46:06 +0000

Once the user clicks "Update now", the progress of updating and the
final window would be more appropriate as a notification. That also
has a nice progress bar and would avoid the changing window width when
downloading packages with differently long file names.
Hmm, I could add this to the current application and have both the 
notification and current status
window to compare how each looks just as a demo. Some of the package names 
can be fairly long
though. Type this into Terminal:

notify --type "progress" --group "Software Updater" --messageID 10 --title 
"Downloading packages"
--progress .30 "haiku_devel-r1~alpha4_pm_hrev50970-1-x86_gcc2.hpkg"

You can show just the package name (haiku_devel) rather than the file name. It 
is easy, jsut split the strign at the first - character.


The package name gets split onto 3 lines at my notification window width 
setting of 400 so it
doesn't look very nice. Also notifications are always on top so if the user 
wants to do something
else these will be taking over that screen real estate. With a regular window 
you can put other
windows on top of it or place the status window anywhere on the screen and 
work around it to keep
it visible.

A valid concern, and in fact I'm (still) not so happy with the current look of 
notifications, they are generally too large for so few info. The idea for 
"progress" notifications is that they could be used for Tracker file copy 
operations and web browser downloads (as is done on Android) but for this we 
need them to be less invasive.

-- 
Adrien.

Other related posts: