Michal Pryc wrote: > Hi Brock, > I was trying to make the best user experience, so that is why I've > choosen this approach. > > If there is only few things to be indexed then the user doesn't have too > much feedback, please take a look at the video (totem can play it): > > http://cr.opensolaris.org/~migi/pm_dialog_rework_screencast/install_long.ogv > > From the 40sec to 1min:05sec we can see that indexing is being done, > what happens is actually one package is being indexed so the user > doesn't have progress for 25seconds. This is what we get from the > progress class between indexing and indexing being done. > > The current approach makes it more smooth if there is less then 5 > elements to be indexed (the number choosen by me to be reasonable) then > we are showing the bouncing dialog which gives smooth user experience if > there is more then 5 then the progress is also updated and it's giving > nice user experience as it gives information when it actually will be > finished. > > This number can be changed but from experimenting I found it really nice > in the fit and finish of the dialog rework. > > That sounds good to me. Thanks for taking care of both the fast and slow cases. Brock
> best > Michal > > > Brock Pytlik wrote: > >> That's what I get for not reading the code before asking my questions. >> >> I see now that the index bar will bounce if the number of packages being >> dealt with is less than 5, but will be progessive otherwise. I'm just >> curious why it's that way. >> >> Thanks, >> Brock >> >> Michal Pryc wrote: >> >>> I didn't clean up the packagemanager.py, so the new version is: >>> >>> http://cr.opensolaris.org/~migi/dialog_rework_16_jan_2009_v1 >>> >>> best >>> Michal >>> >>> Michal Pryc wrote: >>> >>>> Hello, >>>> The webrev is at: >>>> >>>> >>>> This webrev includes major rework for the install/remove/update dialogs. >>>> More information can be found (internal site, if someone interested >>>> please let me know and I will attach to the e-mail): >>>> >>>> Remove: >>>> >>>> http://xdesign.sfbay.sun.com/projects/solaris/subprojects/package_mngt/UI_specs/ui_spec_phase3/html-mockup/21_remove_dialog.htm >>>> >>>> >>>> >>>> Install/Update: >>>> >>>> http://xdesign.sfbay.sun.com/projects/solaris/subprojects/package_mngt/UI_specs/ui_spec_phase3/html-mockup/03_install_progress.htm >>>> >>>> >>>> >>>> Update All: >>>> >>>> http://xdesign.sfbay.sun.com/projects/solaris/subprojects/package_mngt/UI_specs/ui_spec_phase3/html-mockup/54_update_progress.htm >>>> >>>> >>>> >>>> Due to the nature of new dialog design it fix the followig bugs: >>>> >>>> "No confirmation after operation was completed" >>>> http://defect.opensolaris.org/bz/show_bug.cgi?id=5231 >>>> >>>> "PM fails with a blank error message" >>>> http://defect.opensolaris.org/bz/show_bug.cgi?id=4848 >>>> >>>> "packagemanager should be showing more detailed index updating info" >>>> http://defect.opensolaris.org/bz/show_bug.cgi?id=5089 >>>> >>>> "The error for InventoryException should be more informative." >>>> http://defect.opensolaris.org/bz/show_bug.cgi?id=5449 >>>> >>>> "Child windows should be restricted to the workspace of the parent/main >>>> window" >>>> http://defect.opensolaris.org/bz/show_bug.cgi?id=5641 >>>> >>>> "package manager confirmation message incorrect" >>>> http://defect.opensolaris.org/bz/show_bug.cgi?id=5320 >>>> >>>> >>> _______________________________________________ >>> pkg-discuss mailing list >>> [email protected] >>> http://mail.opensolaris.org/mailman/listinfo/pkg-discuss >>> > > _______________________________________________ > pkg-discuss mailing list > [email protected] > http://mail.opensolaris.org/mailman/listinfo/pkg-discuss > _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
