[squeak-dev] [Urgent][4.1.1] Squeak screen shot and backgrounds / display of pictures

Hannes Hirzel hannes.hirzel at gmail.com
Mon Apr 26 22:12:37 UTC 2010


Steve Wessels has three versions of DesktopBackgroundLoader in the inbox


Version 22 subclasses model thus duplicating FileList functionality
whereas version 26
subclasses FileList.

Bert Freudenberg was saying as a comment to 22 that the Background
Loader duplicates FileList code and as such he prefers going for a
subclass of FileList which Steve did with 26.

As we now find out is that FileList has not good code in it.
Steve's version 22 is cleanly done and a good application of the new

It shows that displaying pictures in a explorer type dialog is indeed possible
(see screen shot on Steve's website

So a solution (either along the lines of version 22 or version 26) is
not out of reach...

We just have to make up our mind how we proceed.


On 4/26/10, Hans-Martin Mosner <hmm at heeg.de> wrote:
> Am 26.04.2010 21:36, schrieb Hannes Hirzel:
>> It is just by now that I realized that there is a File List browser
>> open on that screen shot showing a bitmap (BMP) file. What is
>> displayed in the content windows are the codes, i.e. the picture is
>> not displayed.
> I just tried to get the file list to display pictures, and realized that
> there has been some bit rot in Squeak's features to handle graphics
> embedded in text. AFAIK, there are two mechanisms: FormSetFont can
> display forms as glyphs, and TextAnchor can embed arbitrary morphs in text.
> Neither works (at least not without quite some tweaking).
> This is sad, as otherwise it would be fairly simple to read a graphic
> file and create a Text containing the graphic.
> I think that would be the simplest route.
> Cheers,
> Hans-Martin

More information about the Squeak-dev mailing list