We do that because at startup, it is the startup ui manager that is used and we 
need to restore a usable one.
You could use a deferred startup action to set up a bloc ui manager.
How do you set the bloc ui manager for now?

----- Aliaksei Syrel <alex.sy...@gmail.com> a écrit :
> UIManagerSessionHandler>>#startup: isImageStarting
> "Install the right UIManager"
> UIManager default: UIManager forCurrentSystemConfiguration.
> 
> Setting (overring current one) default UIManager each time image is
> saved/started up prevents us from having custom UIManagers, for example
> Bloc UI manager
> 
> On Tue, Feb 2, 2016 at 7:04 PM, Aliaksei Syrel <alex.sy...@gmail.com> wrote:
> 
> > When deleting a class I get deprecation in #50561 in
> > SystemDictionary>>#forgetClass: aClass logged: aBool  because
> > of removeFromStartUpList:
> >
> >
> > Cheers,
> > Alex
> >
> > On Sat, Dec 5, 2015 at 2:39 PM, Christophe Demarey <
> > christophe.dema...@inria.fr> wrote:
> >
> >>
> >>
> >> ------------------------------
> >>
> >> *De: *"Nicolai Hess" <nicolaih...@gmail.com>
> >> *À: *"Pharo Development List" <pharo-dev@lists.pharo.org>
> >> *Envoyé: *Vendredi 4 Décembre 2015 22:05:26
> >> *Objet: *Re: [Pharo-dev] SessionManager (aka new startup / shutdown list
> >> manager) needs testers
> >>
> >>
> >> Looks good. What are the main critical startup/shutdown users( classes)
> >> that should be tested?
> >>
> >> Classes using startup or/and shutdown are
> >>
> >> #SmallInteger
> >> #Delay atPriority
> >> #ProcessorScheduler
> >> #InputEventFetche
> >> #InputEventFetcher
> >> #OSPlatfor
> >> #Stdio
> >> #LanguageEnvironment
> >> #ShortIntegerArray
> >> #DiskStore
> >> #SmalltalkImage
> >> #WeakFinalizationList
> >> #Clipboard
> >> #MCMethodDefinition
> >> #Symbol
> >> #Locale
> >> #MultiByteFileStream
> >> #WeakArray
> >> #FileStream
> >> #FileLocator
> >> #BasicCommandLineHandler
> >> #NonInteractiveTranscript
> >> #ASTCache
> >> #OSEnvironment
> >> #EndianDetector
> >> #InternetConfiguration
> >> #ZnServer
> >> #MCGitHubRepository
> >> #ZnLogEvent
> >> #DisplayScreen
> >> #InputEventSensor
> >> #Cursor
> >> #Form
> >> #StrikeFont
> >> #Color
> >> #FreeTypeCache
> >> #LogicalFont
> >> #FT2Handle
> >> #FreeTypeSettings
> >> #WorldMorph
> >> #CPUWatcher
> >> #NOCCompletionTable
> >> #Nautilus
> >> #PharoCommonTools
> >> #GTPlayBook
> >>
> >> Also sensitive code could be the one using the session (Smalltalk
> >> session) to check if they need to free or reset some resources.
> >>
> >> Thanks to have a look at it,
> >> Christophe
> >>
> >>
> >> I did some tests with AthensSceneView (uses NB and calls Smalltalk
> >> session for reinit external resources) and Roassal.
> >> I got one image startup failure, but I couldn't reproduce it yet. Maybe I
> >> did image save and image save and quit, too quick.
> >>
> >>
> >


Reply via email to