Alpha Weirdness on Windows

Hi,

Has anyone ever noticed weirdness with translucent polygons on win32 (using GTKAgg)? I had the occasion to actually do something on windows and noticed that, having drawn some polygons with alpha < 1, if I resized the window or panned, the alpha channel seemed to disappear and leave solid-colored polygons.

I was unable just now to replicate this on linux.

Not a huge deal for me at all (as a linux guy), but I thought I'd give the heads up. I might be able to investigate a little further if there's any interest.

Ryan

···

--
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma

gtkagg on win32 is a very unusual combination -- one I used a lot in
the day myself but it seems noone else did. It is really hard to
understand how something like this can happen from the way the code is
written, but yes, if you can get any insight into it, we'd certainly
like to understand and fix it. I have at least one fairly significant
piece of code that requires gtkagg on windows....

For starters, just posting the output of a script run with
--verbose-helpful so we can get some version info for the archives
will be useful.

JDH

···

On Thu, Jul 17, 2008 at 10:35 PM, Ryan May <rmay31@...149...> wrote:

Hi,

Has anyone ever noticed weirdness with translucent polygons on win32
(using GTKAgg)? I had the occasion to actually do something on windows
and noticed that, having drawn some polygons with alpha < 1, if I
resized the window or panned, the alpha channel seemed to disappear and
leave solid-colored polygons.

Hi,

Just a remark:
   GTKAgg on win32 is a combination I also use every day.
And I think many people also use it.

GTK is the almost only (nice) toolkit providing straightaway the same look and feel independantly of the platform used. This is very important if you would like to deploy the same software on an heterogeneous environment and you don't want users to rediscover the same software on different platforms.
I personally prefer to use the "same" Gimp, whatever I'm in front of a Linux, Windows or Mac platform. And believe me or not, It happens almost everyday in my research environment where I have a Mac on my desk, windows platform controlling experiments, Unix stations running simulation softwares and a Linux when I come back home...

Sorry for hijacking this thread, I was I bit chocked by John statement and wanted to react.

All the best,

David

John Hunter a �crit :

···

On Thu, Jul 17, 2008 at 10:35 PM, Ryan May <rmay31@...149...> wrote:

Hi,

Has anyone ever noticed weirdness with translucent polygons on win32
(using GTKAgg)? I had the occasion to actually do something on windows
and noticed that, having drawn some polygons with alpha < 1, if I
resized the window or panned, the alpha channel seemed to disappear and
leave solid-colored polygons.

gtkagg on win32 is a very unusual combination -- one I used a lot in
the day myself but it seems noone else did. It is really hard to
understand how something like this can happen from the way the code is
written, but yes, if you can get any insight into it, we'd certainly
like to understand and fix it. I have at least one fairly significant
piece of code that requires gtkagg on windows....

For starters, just posting the output of a script run with
--verbose-helpful so we can get some version info for the archives
will be useful.

JDH

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

John Hunter wrote:

···

On Thu, Jul 17, 2008 at 10:35 PM, Ryan May <rmay31@...149...> wrote:

Hi,

Has anyone ever noticed weirdness with translucent polygons on win32
(using GTKAgg)? I had the occasion to actually do something on windows
and noticed that, having drawn some polygons with alpha < 1, if I
resized the window or panned, the alpha channel seemed to disappear and
leave solid-colored polygons.

gtkagg on win32 is a very unusual combination -- one I used a lot in
the day myself but it seems noone else did. It is really hard to
understand how something like this can happen from the way the code is
written, but yes, if you can get any insight into it, we'd certainly
like to understand and fix it. I have at least one fairly significant
piece of code that requires gtkagg on windows....

For starters, just posting the output of a script run with
--verbose-helpful so we can get some version info for the archives
will be useful.

Well what was real enough yesterday, today I can't reproduce. Maybe it was just some windows weirdness. I'll let you know if I see it again (but I'm not sure that I'll have any reason to be doing much on windows in the near future.) Sorry for the noise.

Ryan

--
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma