Re: Transparency Problem

"Stefano Del Furia" <[email protected]>
Newsgroups gmane.comp.gnome.winforms
Message-ID <[email protected]>
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" <[email protected]>
To: [email protected]
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 <[email protected]>
To: Natalia Portillo <[email protected]>
Cc: "[email protected]" 
<[email protected]>
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 <[email protected]>

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 < [email protected]> 
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  -   [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list



 
_______________________________________________
Mono-winforms-list maillist  -   [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list


 

_______________________________________________
Mono-winforms-list maillist  -   [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.