[Mono-winforms-list] Transparency Problem

Stefano Del Furia delfo at edudotnet.it
Wed Apr 7 04:19:39 EDT 2010


HI,
i have done some try with a lot of composition manager under Ubuntu 9.04 and 
none seems to works.
Metacity, Compiz, Xcompmgr and none show the transparency.
I had take a look at mono source code and for verify transparency support i 
have found an abstract method on XplatUIDrive.cs that maps (i presume) to 
this method on XplatUIX11.cs


  internal override TransparencySupport SupportsTransparency() 
{
   // We need to check if the x compositing manager is running
   return TransparencySupport.Set;
  }

Seems that it returns always a supported value without any controll.

What am i wrong ??
Stefano



-----Original Message-----
From: "Stefano Del Furia" <delfo at edudotnet.it>
To: mono-winforms-list at lists.ximian.com
Date: Tue, 06 Apr 2010 20:12:15 +0200
Subject: Re: [Mono-winforms-list] Transparency Problem


Hi,  
and thanks for the reply.
What configuration must we use for getting this to works ??
 
If we use this line:
 
this.Opacity = 0.5;

all works fine, but if i use this other one:
 
this.TransparencyKey = SystemColors.Control;
 
The window is not transparent.
Thanks in advance.
Stefano
 
 
-----Original Message-----
From: Carlos Alberto Cortez <calberto.cortez at gmail.com>
To: Natalia Portillo <claunia at claunia.com>
Cc: "mono-winforms-list at lists.ximian.com" 
<mono-winforms-list at lists.ximian.com>
Date: Tue, 6 Apr 2010 19:58:13 +0200
Subject: Re: [Mono-winforms-list] Transparency Problem

Hey,

On my machine (openSuse 11.1) using 2.4/2.6 series it works fine. Basically 
our code tries to detect a property in the window manager to detect whether 
there's transparency support or not. So it should work *at least* in Linux.

Could you elaborate more so we can try to figure out what's happening? 

Carlos.


2010/4/3 Natalia Portillo <claunia at claunia.com>

I had the same problem. 

 
Tried in Mac OS X (both Carbon and X11), no success. Of course both Carbon 
and X11 do support transparency, overlays and OpenGL (AGL and XGL 
respectively).
Tried in Linux, no success. KDE4 transparencies and effects are working. The 
X.Org configuration file contains the values indicated by Mono 
documentation.

 
I found no solution at all.


El 03/04/2010, a las 14:13, Tommi Laukkanen escribió:
 


Hi 

 
I think X-window also has some options which affect the transparency 
support. You might need to enable transparency supporting window manager / 
theme to be able to use transparencies.

 
-tommi


On Sat, Apr 3, 2010 at 3:39 PM, Stefano Del Furia < delfo at edudotnet.it> 
wrote:

HI, 
i have found that the Opacity works if the graphic card support 3d 
acceleration, but i haven'r find any way of getting TransparencyKey to 
works.
Is this feature has been implemented in Winforms or not ??
Thanks in advance
Stefano
 

_______________________________________________
Mono-winforms-list maillist  -   Mono-winforms-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list



 
_______________________________________________
Mono-winforms-list maillist  -   Mono-winforms-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list


 

_______________________________________________
Mono-winforms-list maillist  -   Mono-winforms-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list




 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20100407/1044ae9b/attachment-0001.html 


More information about the Mono-winforms-list mailing list