Mantis - Squeak
Viewing Issue Advanced Details
1608 Tools minor always 08-04-05 01:03 04-01-06 20:44
KenCausey  
 
normal  
closed  
fixed  
none    
none 3.9  
0001608: [BUG][FIX] Morphic: File Selection Dialog
>De: Boris Gaertner [SMTP:Boris.Gaertner@gmx.net]
>Asunto: Re: [BUG][FIX] MVC: File Selection Dialog (shows another
bug)
>
>I tried to execute
> (PluggableFileList oldFileMenu: (FileDirectory on: 'c:\windows\fonts'))
> startUpWithCaption: 'Select a File, please:'
>in a Mrophic project and receive a strange effect, that I cannot quickly
>fix:
>I put that statement into a workspace that I place more or less centered
>on the screen. When I execute the statement, the selection dialog is
>displayed above the workspace. This looks good, but as soon as a
>call up one of the menues of the dialog, the selected text of the workspace
>comes into the foreground.
>I think that in PluggableFileList>>open one should have something like
> Smalltalk isMorphic
> ifTrue: [<...>]
> ifFalse: [<...>]
>
>I tried to do that, the result can be found in MorphicFSD.1.cs
<<MorphicFSD.1.cs>>
>In SystemWindow>>update: I added a reaction to the
>message #close.
>In PluggableFileList>>openAsMorphLasbel:inWorld:
>I added an event loop. The condition of the loop uses the
>fact that the model of a SystemWindow is niled when the
>window is deleted.
>I am not very experienced user of the Morphic interface,
>so comments are highly wellcome.
>
>
>Greetings,
>Boris
>

if you use the closeButton you'll get a walkback.

btw, this is pretty similar to FileList2 modalFileSelector
 MorphicFSD.1.cs.gz [^] (1,279 bytes) 08-04-05 01:03

Notes
(0002124)
KenCausey   
08-04-05 01:03   
karl.ramberg@chello.se:

"[er][et] Looks good"
(0002125)
KenCausey   
08-04-05 01:04   
I loaded this changeset successfully into a 3.8-6665-basic image but did not test it further.
(0004650)
MarcusDenker   
04-01-06 20:44   
7022