Status: New
Owner: ----
Labels: Type-Bug
New issue 6922 by
[hidden email]: Finder not refreshing for new
packages/classes
http://code.google.com/p/pharo/issues/detail?id=6922I have a few packages that I commonly search using Finder. To reduce noise
in the results, for each of these I have opened a separate Finder, choosen
<Make Unclosable> from the title-bar and filtered using the <Choose
Packages>. Some weeks later I wanted to expanded the <Choose Packages>
selection to include a package that I had added, but it didn't show up.
Investigation found that adding a NewClass after a Finder is opened also
does not show up when searched for. If a new Finder is opened it does find
NewClass.
Followin down the call chain from the <Choose Packages> button I see
FinderUI>>environmentButtonAction
FinderUI>>openPackageChooser
FinderUI>>constructPackagesSet
FinderUI>>environment
Finder>>environment
which returns its instance variable 'environment'
which is set only once in initialize
to 'Smalltalk globals allClassesAndTraits' (via Finder>>defaultEnvironment)
I notice there is Finder>>resetEnvironment, but I can't tell where/when it
might be called. If the package & class lists cannnot be made more
dynamic, can this resetEnvironment be brought out to a button - perhaps in
the Package Choose dialog sitting to the left of the <Ok> button.
_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker