squeak-smalltalk / squeak-object-memory

Issues and assets related to the Squeak object memory.
https://bugs.squeak.org
MIT License
11 stars 1 forks source link

Shadow file services? #42

Open LinqLover opened 2 years ago

LinqLover commented 2 years ago

For GIF files, we have two competing file services (Form class>>#fileReaderServicesForFile:suffix: and AnimatedImageMorph class>>#fileReaderServicesForFile:suffix:) each of which offer to open the file in a morph. This leads to confusion when dragging a GIF file into the image or selecting a GIF file in a FileList:

https://lists.squeakfoundation.org/pipermail/squeak-dev/2022-May/220331.html

Maybe we should add an override/shadow mechanism to the file services so that the AnimatedImageMorph file service could replace the first one for the GIF extension.