Explorer bug when inspecting a ColorForm

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Explorer bug when inspecting a ColorForm

timrowledge
(In a 15566 update image)

If you try to ‘explore’ a morph that returns a ColorForm for #iconOrThumbnail we have a oroblem because Form>scaledIntoFormOfSize:smoothing: makes the assumption that 32bpp is appropriate - which isn’t true for ColorForms, as you can see if you look at ColorForm>setExtent:depth: I guess it’s the use of ‘self species’ that is the real problem.

Latest version is from this august, by marcel, so maybe you have a simple solution? Im in the midst of more complication than I can describe, so I’m not about to fix this right now...

tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Useful Latin Phrases:- Illiud Latine dici non potest = You can't say that in Latin.



Reply | Threaded
Open this post in threaded view
|

Re: Explorer bug when inspecting a ColorForm

marcel.taeumel
Where can I find a useful instance of ColorForm? =)

Best,
Marcel
Reply | Threaded
Open this post in threaded view
|

Re: Explorer bug when inspecting a ColorForm

Tobias Pape

On 10.12.2015, at 09:18, marcel.taeumel <[hidden email]> wrote:

> Where can I find a useful instance of ColorForm? =)

Ask your local drug sto.. ahh ColorForm not ChloroForm, sorry…

>
> Best,
> Marcel
>
>
>
> --
> View this message in context: http://forum.world.st/Explorer-bug-when-inspecting-a-ColorForm-tp4866459p4866473.html
> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>


Reply | Threaded
Open this post in threaded view
|

Re: Explorer bug when inspecting a ColorForm

marcel.taeumel
Ah, "ColorForm allInstances explore" reproduces the bug. :)

Best,
Marcel
Reply | Threaded
Open this post in threaded view
|

Re: Explorer bug when inspecting a ColorForm

marcel.taeumel
Reply | Threaded
Open this post in threaded view
|

Re: Explorer bug when inspecting a ColorForm

timrowledge

> On 10-12-2015, at 12:34 AM, marcel.taeumel <[hidden email]> wrote:
>
> Fixed: http://forum.world.st/The-Trunk-Morphic-mt-1059-mcz-td4866477.html

Thanks- that’s actually a solution I didn’t think of at the time because I was sure that the #translucentImage:at: required a 32bpp Form. Much better this way.


tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Strange OpCodes: BYEBYE: Store in Write-Only Storage