Stefano Del Furia | 3 Apr 14:37 2010
Picon

Re: problem with sendkeys

HI,
after some trial i have discovered a lot of error and missing codes on SendKeys implementation in Mono.
Know i have correct a lot of bug and all seems to works.
What can i do for submiting these corrections ???
Thanks in advance
Stefano
 

 
-----Original Message-----
From: "Stefano Del Furia" <delfo <at> edudotnet.it>
To: mono-winforms-list <at> lists.ximian.com
Date: Fri, 19 Mar 2010 21:15:38 +0100
Subject: Re: [Mono-winforms-list] problem with sendkeys

HI,
after some trial, i have found that Sendkeys don't works.
I have tried to "send" keys from my application to another winforms, to a GTK App, to a TextEditor, to a browser address bar but nothing works.
Can someone help me and give to me some directions ???
Thanks in advance.
Stefano
 

 
-----Original Message-----
From: "Stefano Del Furia" <delfo <at> edudotnet.it>
To: "Rafael Teixeira" <monoman <at> gmail.com>
Cc: mono-winforms-list <at> lists.ximian.com
Date: Mon, 15 Mar 2010 13:39:15 +0100
Subject: Re: [Mono-winforms-list] problem with sendkeys

HI,
the others application aren't Winforms application, but in Windows this is not a problem.
Infact with SendKeys you can send key to everithing !!!
Is there any workaround ???
Thanks in advance.
Stefan
 

 
-----Original Message-----
From: Rafael Teixeira <monoman <at> gmail.com>
To: Stefano Del Furia <delfo <at> edudotnet.it>
Cc: mono-winforms-list <at> lists.ximian.com
Date: Mon, 15 Mar 2010 07:32:37 -0300
Subject: Re: [Mono-winforms-list] problem with sendkeys

First question is the other app an WinForms one, too? Normal Linux
apps won't interact, AFAIK. Even winforms apps may not respond, as I
remember most work was going in the automation through the
Accessibility tools, that has better security underpinnings (allowing
some app to interact as the user in another is a risk that X normally
precludes) for the task.

See http://www.mono-project.com/Accessibility

Rafael "Monoman" Teixeira
---------------------------------------
"To be creative means to be in love with life. You can be creative
only if you love life enough that you want to enhance its beauty, you
want to bring a little more music to it, a little more poetry to it, a
little more dance to it."
Osho



On Sat, Mar 13, 2010 at 4:56 PM, Stefano Del Furia <delfo <at> edudotnet.it> wrote:
> hi,
> i'm developing an application that need to send some "keys" to the active
> application.
> I have used this line of code:
>
> SendKey.SendWait("C");
>
> and in windows the active application (like notepad, word and so on) receive
> the chars.
>
> But when i try to do the same using Mono 2.6, nothing happened.
>
> What am i wrong ??
> 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
Stefano Del Furia | 3 Apr 14:39 2010
Picon

Transparency Problem

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
Tommi Laukkanen | 3 Apr 15:13 2010
Picon

Re: Transparency Problem

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
Natalia Portillo | 3 Apr 16:12 2010

Re: Transparency Problem

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
Stefano Del Furia | 5 Apr 22:27 2010
Picon

Re: Transparency Problem

Hi,
now that i have found that i'm not alone, there could be a chance of find a solution/workaround ??
Thanks 
Stefano
 

 
-----Original Message-----
From: Natalia Portillo <claunia <at> claunia.com>
To: Tommi Laukkanen <tommi.s.e.laukkanen <at> gmail.com>
Cc: Stefano Del Furia <delfo <at> edudotnet.it>, "mono-winforms-list <at> lists.ximian.com" <mono-winforms-list <at> lists.ximian.com>
Date: Sat, 3 Apr 2010 15:12:39 +0100
Subject: Re: [Mono-winforms-list] Transparency Problem

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
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
Carlos Alberto Cortez | 6 Apr 19:58 2010
Picon

Re: 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


_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
Stefano Del Furia | 6 Apr 20:12 2010
Picon

Re: 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


 
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
Stefano Del Furia | 7 Apr 10:19 2010
Picon

Re: Transparency Problem

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


 
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
Ivan Zlatev | 8 Apr 12:15 2010

Re: problem with sendkeys

Hi,

Take a look here: http://mono-project.com/Bugs

Kind Regards,

Ivan Zlatev
http://ivanz.com

On Sat, Apr 3, 2010 at 1:37 PM, Stefano Del Furia <delfo <at> edudotnet.it> wrote:
> HI,
> after some trial i have discovered a lot of error and missing codes on
> SendKeys implementation in Mono.
> Know i have correct a lot of bug and all seems to works.
> What can i do for submiting these corrections ???
> Thanks in advance
> Stefano
>
>
>
> -----Original Message-----
> From: "Stefano Del Furia" <delfo <at> edudotnet.it>
> To: mono-winforms-list <at> lists.ximian.com
> Date: Fri, 19 Mar 2010 21:15:38 +0100
> Subject: Re: [Mono-winforms-list] problem with sendkeys
>
> HI,
> after some trial, i have found that Sendkeys don't works.
> I have tried to "send" keys from my application to another winforms, to a
> GTK App, to a TextEditor, to a browser address bar but nothing works.
> Can someone help me and give to me some directions ???
> Thanks in advance.
> Stefano
>
>
>
> -----Original Message-----
> From: "Stefano Del Furia" <delfo <at> edudotnet.it>
> To: "Rafael Teixeira" <monoman <at> gmail.com>
> Cc: mono-winforms-list <at> lists.ximian.com
> Date: Mon, 15 Mar 2010 13:39:15 +0100
> Subject: Re: [Mono-winforms-list] problem with sendkeys
>
> HI,
> the others application aren't Winforms application, but in Windows this is
> not a problem.
> Infact with SendKeys you can send key to everithing !!!
> Is there any workaround ???
> Thanks in advance.
> Stefan
>
>
>
> -----Original Message-----
> From: Rafael Teixeira <monoman <at> gmail.com>
> To: Stefano Del Furia <delfo <at> edudotnet.it>
> Cc: mono-winforms-list <at> lists.ximian.com
> Date: Mon, 15 Mar 2010 07:32:37 -0300
> Subject: Re: [Mono-winforms-list] problem with sendkeys
>
> First question is the other app an WinForms one, too? Normal Linux
> apps won't interact, AFAIK. Even winforms apps may not respond, as I
> remember most work was going in the automation through the
> Accessibility tools, that has better security underpinnings (allowing
> some app to interact as the user in another is a risk that X normally
> precludes) for the task.
>
> See http://www.mono-project.com/Accessibility
>
> Rafael "Monoman" Teixeira
> ---------------------------------------
> "To be creative means to be in love with life. You can be creative
> only if you love life enough that you want to enhance its beauty, you
> want to bring a little more music to it, a little more poetry to it, a
> little more dance to it."
> Osho
>
>
>
> On Sat, Mar 13, 2010 at 4:56 PM, Stefano Del Furia <delfo <at> edudotnet.it>
> wrote:
>> hi,
>> i'm developing an application that need to send some "keys" to the active
>> application.
>> I have used this line of code:
>>
>> SendKey.SendWait("C");
>>
>> and in windows the active application (like notepad, word and so on)
>> receive
>> the chars.
>>
>> But when i try to do the same using Mono 2.6, nothing happened.
>>
>> What am i wrong ??
>> 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
Stefano Del Furia | 12 Apr 20:27 2010
Picon

Re: Transparency Problem

HI,
after a lot of try it don't works :-(  (Opacity works fine but TransparencyKey not)
it should be a problem with Xorg.conf file???
Would you like to post a fully configured xorg.conf file with all options (like TransparencyKeys) setted ??
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.
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Gmane