Ben, I took a look at this and Metacell has wrapped the load expressions with a MetacelloPlatform>>do:displaying: call that presumably is supposed to show the progress bars continuously during a Metacello load, but a check in Pharo3.0 shows that the Pharo platform class don't override the default implementation. The original implementation of the method was in the Metacello-Platform,pharo package ... which was for Pharo1.0 --- so Metacello progress bar display has not been properly functioning since then (about 5 years) --- and not noticed until now:) It should be possible to implement that method for Pharo6.0/7.0 and see continuous progress bars again ... Dale [1] https://github.com/Metacello/metacello/blob/master/repository/Metacello-Plat... On 10/31/17 6:05 PM, Ben Coman wrote:
I would guess the problem with doing this pervasively is (IIUC) that Configurations are self-contained/self-bootstrapping so each Configurationhas its own copy of #load (I've no access to an Image to check right now) Perhaps it could be a use case for metalinks. When Configurations are loaded, insert a #notify: at the end of certain api methods.
cheers -ben
On Wed, Nov 1, 2017 at 4:50 AM, Stephane Ducasse <stepharo.self@gmail.com <mailto:stepharo.self@gmail.com>> wrote:
Agreed!
On Tue, Oct 31, 2017 at 9:42 PM, Jan BlizniÄenko <bliznjan@fit.cvut.cz <mailto:bliznjan@fit.cvut.cz>> wrote: > Hello > > I have never paid any attention to following thing, but now I use Pharo to > teach students object oriented programming and there is one thing that I > realized how very bad is from user experience perspective: When I am loading > package with lots of dependencies, like Moose or Seaside, it may take > multiple minutes (especially on Windows) and those loading bars are there > half of a time, but half of a time there is nothing, just nothing - it looks > like finished, but it is in fact still loading and everything is therefore > sluggish. If I was not sure it is in actually still loading just fine, I > would try to kill the process and try again. Example which causes such > loading without much of UI is this one: > > Gofer it >Â Â Â smalltalkhubUser: 'zeroflag' project: 'Teapot'; >Â Â Â configuration; >Â Â Â loadStable. > Metacello new >Â Â Â repository: > 'http://www.smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main <http://www.smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main>'; >Â Â Â configuration: 'Seaside3'; >Â Â Â version: #'release3.2'; >Â Â Â load: #('OneClick'). > > It would be nice to have some loading bar or something like "loading > packages, please wait..." there at all times until baseline/configuration > loading is completely done... also some confirming message like > "ConfigurationOfSeaside3 loaded successfully" would be nice > > > > -- > Sent from: http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html <http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html> >