Re: [PATCH] Don't show frames around images with an alpha plane



On Wed, Sep 16, 2009 at 2:48 PM, Alexander Larsson <alexl redhat com> wrote:
> On Wed, 2009-09-16 at 14:18 +0200, Mark wrote:
>> So, the next nautilus version is going to have no decorations on
>> images with transparency in them..? (assuming you get the freeze break
>> and commit this patch)..
>> I hope you do realize that i don't agree with it and that it will
>> cause bug reports like: "some thumbnails miss a frame"... WHY can't
>> you just count the number of images with transparency in a folder and
>> ONLY leave the frame out when all images in a folder have
>> transparency? kinda like in my screenshots provided earlier. (this
>> one: http://img2.imagedash.com/hrvF.png)
>
> Every decision has advantages and disadvantages. Still, one has to make
> a decision even if not everyone likes it.
>
> Ultimately the reason I chose to accept this patch is that it just does
> not conceptually work to frame a tranparent item, since the background
> will show through inside the frame. It looks nice in your screenshots
> because the background is white, but that is not always gonna be the
> case.
>
> This is independent to whether there are other framed icons in the
> directory. Furthermore, its not really a good idea code-complexity wise
> to make per-item decisions on global properties like that. The global
> property can change at any time and e.g. an added file could suddenly
> force us to frame all icons.
>
> Another alternative would be to frame the transparent icons after
> overlaying them on some background, but that would loose some of the
> information availible about the file (that its transparent), so this
> isn't really a great idea either.

Oke, if you say so. I still don't agree on it but i guess my voice is
worth nothing since i'm not a nautilus dev.
But i hope for you and Jaap that people don't get confused by this
patch. But i bet that if someone out there is using nautilus 2.28
(assuming it lands in there) when it's released and that someone has
both jpeg and png files in the same folder with a few that have
transparency you will start seeing bug reports about that.

Just look at this image to see what they might report:
http://img2.imagedash.com/2WLn.png i certainly would report that if i
didn't know about this patch.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]