Mantis - Squeak
Viewing Issue Advanced Details
1458 Morphic minor always 07-13-05 21:07 07-18-06 20:19
edgardec  
 
normal  
closed  
fixed  
none    
none 3.9  
0001458: [BUG] Navigator button Find any file in OSX
Can any Mac OSX users confirm this ?
In Navigator , press FIND button for select any file.
Works fine in Mac 9.2.
Error: this collection is empty
25 September 2004 10:06:54 am

VM: Mac OS - a SmalltalkImage
Image: Squeak3.7 [latest update: #5988]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir Macintosh HD:Users:edgar:Public:SqueakDevelop
Trusted Dir Macintosh HD:Users:edgar:Public:SqueakDevelop
Untrusted Dir foobar:tooBar:forSqueak:bogus

OrderedCollection(Object)>>error:
    Receiver: an OrderedCollection()
    Arguments and temporary variables:
        aString: 'this collection is empty'
    Receiver's instance variables:
        array: #(nil nil nil nil nil nil nil nil nil nil)
        firstIndex: 3
        lastIndex: 2

OrderedCollection(Collection)>>errorEmptyCollection
    Receiver: an OrderedCollection()
    Arguments and temporary variables:

    Receiver's instance variables:
        array: #(nil nil nil nil nil nil nil nil nil nil)
        firstIndex: 3
        lastIndex: 2

OrderedCollection(SequenceableCollection)>>last
    Receiver: an OrderedCollection()
    Arguments and temporary variables:
        size: 0
    Receiver's instance variables:
        array: #(nil nil nil nil nil nil nil nil nil nil)
        firstIndex: 3
        lastIndex: 2

[] in FileList2 class>>enableTypeButtons:info:forDir: {[:each | (each findTokens: '.') last asLowercase]}
    Arguments and temporary variables:
        typeButtons: an OrderedCollection(an AlignmentMorph(2440) an AlignmentMorph(372...etc...
        fileTypeInfo: an OrderedCollection(#('Art' a Set('png' 'jpeg' 'bmp' 'xbm' 'pcx'...etc...
        aDirectory: MacHFSPlusFileDirectory on 'Macintosh HD:Users:edgar:Public:SqueakD...etc...
        foundSuffixes: nil
        fileSuffixes: nil
        firstEnabled: nil
        enableIt: nil
        each: ''
        info: nil
        button: nil
        patt: nil


--- The full stack ---
OrderedCollection(Object)>>error:
OrderedCollection(Collection)>>errorEmptyCollection
OrderedCollection(SequenceableCollection)>>last
[] in FileList2 class>>enableTypeButtons:info:forDir: {[:each | (each findTokens: '.') last asLowercase]}
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Array(SequenceableCollection)>>collect:
FileList2 class>>enableTypeButtons:info:forDir:
[] in FileList2 class>>morphicViewGeneralLoaderInWorld: {[:newDir | self enableTypeButtons: fileTypeButtons info: fileTypeInfo ...]}
FileList2>>directory:
FileList2 class>>morphicViewGeneralLoaderInWorld:
ProjectNavigationMorph>>findAnything
[] in ProjectNavigationMorph>>doFindButtonMenuEvent: {[self findAnything]}
ProjectNavigationMorph>>doFindButtonMenuEvent:
ProjectNavigationMorph>>showMenuFor:event:
SimpleButtonDelayedMenuMorph>>mouseStillDown:
SimpleButtonDelayedMenuMorph(Morph)>>handleMouseStillDown:
StepMessage(MessageSend)>>value
StepMessage(MorphicAlarm)>>value:
WorldState>>runLocalStepMethodsIn:
WorldState>>runStepMethodsIn:
PasteUpMorph>>runStepMethods
WorldState>>doOneCycleNowFor:
WorldState>>doOneCycleFor:
PasteUpMorph>>doOneCycle
[] in Project class>>spawnNewProcess {[[World doOneCycle. Processor yield. false] whileFalse. nil]}
[] in BlockContext>>newProcess {[self value. Processor terminateActive]}

Notes
(0001786)
KenCausey   
07-13-05 21:08   
I believe what Edgar here is referring to is the FIND button in the Navigator flap which opens a ProjectNavigationMorph.
(0001787)
DanielHaischt   
07-13-05 22:29   
I did test the following images:

 * Squeak3.8-6665.image
 * Squeak3.7-5989-full.image
                     ^^^^

In both images I (successfully) tried to open the FreeCell game using the navigator's FIND button. Test sequence:

 * I did expand the orange navigator flap (it was already at the left bottom of my Squeak world).
 * I did press the 'FIND' button and browsed to the 'Squeakland-Projects -> games -> FreeCell' project.
 * Finally I did successfully open the FreeCell project.

The tests were done on a Mac OS X (10.3.9 aka Panther) system. I did use the following Squeak VM versions:

 * Squeak VM v3.7.5beta1
 * Squeak VM v3.8.6Beta6

Maybe someone should do these tests on a Tiger system as well ...

(0005980)
MarcusDenker   
07-18-06 20:19   
Works fine in 3.9