pablosantosluac@terra.es | 1 Mar 2010 21:01
Picon
Favicon

Wrong icons on OpenSuse, right on Ubuntu

Hi there,

We're experiencing some graphical issues with Plastic on OpenSuse
(latest) while they work well on Ubuntu (latest).

Message boxes (and dialogs) without icon (we don't set them) show up
without icon on Ubuntu (as they do on Windows) but display a weird
default one on OpenSuse.

Any idea why?

Thanks,

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

Carlos Alberto Cortez | 2 Mar 2010 05:09
Picon

Re: Wrong icons on OpenSuse, right on Ubuntu

Hey Pablo,

What version of OpenSuse are you using? I'm trying 11.1 and it's working fine. Also, any chance to attach a screenshot?

Carlos.

2010/3/1 pablosantosluac <at> terra.es <pablosantosluac <at> terra.es>
Hi there,

We're experiencing some graphical issues with Plastic on OpenSuse
(latest) while they work well on Ubuntu (latest).

Message boxes (and dialogs) without icon (we don't set them) show up
without icon on Ubuntu (as they do on Windows) but display a weird
default one on OpenSuse.

Any idea why?

Thanks,

pablo
_______________________________________________
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
pablosantosluac@terra.es | 2 Mar 2010 15:36
Picon
Favicon

Re: Wrong icons on OpenSuse, right on Ubuntu

Carlos,

Did you receive my screenshot???

On 02/03/2010 5:09, Carlos Alberto Cortez wrote:
> Hey Pablo,
> 
> What version of OpenSuse are you using? I'm trying 11.1 and it's working
> fine. Also, any chance to attach a screenshot?
> 
> Carlos.
> 
> 2010/3/1 pablosantosluac <at> terra.es <mailto:pablosantosluac <at> terra.es>
> <pablosantosluac <at> terra.es <mailto:pablosantosluac <at> terra.es>>
> 
>     Hi there,
> 
>     We're experiencing some graphical issues with Plastic on OpenSuse
>     (latest) while they work well on Ubuntu (latest).
> 
>     Message boxes (and dialogs) without icon (we don't set them) show up
>     without icon on Ubuntu (as they do on Windows) but display a weird
>     default one on OpenSuse.
> 
>     Any idea why?
> 
>     Thanks,
> 
>     pablo
>     _______________________________________________
>     Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
>     <mailto: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

Carlos Alberto Cortez | 3 Mar 2010 06:33
Picon

Re: Wrong icons on OpenSuse, right on Ubuntu

Hey Pablo,

Yes, the screenshot was attached. On my system I actually see a different icon - as I understand, you set Form.ShowIcon to false, correct? Anyway, I will take a look.

Carlos.

2010/3/2 pablosantosluac <at> terra.es <pablosantosluac <at> terra.es>
Carlos,

Did you receive my screenshot???

On 02/03/2010 5:09, Carlos Alberto Cortez wrote:
> Hey Pablo,
>
> What version of OpenSuse are you using? I'm trying 11.1 and it's working
> fine. Also, any chance to attach a screenshot?
>
> Carlos.
>
> 2010/3/1 pablosantosluac <at> terra.es <mailto:pablosantosluac <at> terra.es>
> <pablosantosluac <at> terra.es <mailto:pablosantosluac <at> terra.es>>
>
>     Hi there,
>
>     We're experiencing some graphical issues with Plastic on OpenSuse
>     (latest) while they work well on Ubuntu (latest).
>
>     Message boxes (and dialogs) without icon (we don't set them) show up
>     without icon on Ubuntu (as they do on Windows) but display a weird
>     default one on OpenSuse.
>
>     Any idea why?
>
>     Thanks,
>
>     pablo
>     _______________________________________________
>     Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
>     <mailto:Mono-winforms-list <at> lists.ximian.com>

_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
Paul | 6 Mar 2010 18:46
Picon

Re: Runtime error running WinForms app on Mac OS X

Hi,

> I have quite a simple WinForms app I want to run on Mac OSX, but it gives me
> a runtime error. The problem occurs when loading a PNG icon in the
> Resources, see trace below

Can you supply a small case which demonstrates the problem please?

Paul
--

-- 
Biggles was quietly reading his favourite book when Algy burst through
the door. Distracted for a moment, Biggles surveyed what had happened
and turned a page. "Algy old man" he said, clearing his throat, "use the
handle next time..." - Taken from "Biggles combs his Hair"
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
RomeoDelta | 6 Mar 2010 14:18

Runtime error running WinForms app on Mac OS X


Hi,

I have quite a simple WinForms app I want to run on Mac OSX, but it gives me
a runtime error. The problem occurs when loading a PNG icon in the
Resources, see trace below

I can send someone the source, to investigate, but please email me
privately.

Thanks,

Rogier

CurrentDomain_UnhandledException
System.Reflection.TargetInvocationException: Exception has been thrown by
the target of an invocation. ---> System.OverflowException: Number overflow.
  at (wrapper managed-to-native)
object:__icall_wrapper_mono_array_new_specific (intptr,int)
  at System.Drawing.Icon.InitFromStreamWithSize (System.IO.Stream stream,
Int32 width, Int32 height) [0x004da]
in
/private/tmp/monobuild/build/BUILD/mono-2.6.1/mcs/class/System.Drawing/System.Drawing/Icon.cs:795 
  at System.Drawing.Icon..ctor
(System.Runtime.Serialization.SerializationInfo info, StreamingContext
context) [0x000ad]
in
/private/tmp/monobuild/build/BUILD/mono-2.6.1/mcs/class/System.Drawing/System.Drawing/Icon.cs:229 
  at (wrapper managed-to-native)
System.Reflection.MonoCMethod:InternalInvoke
(object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[]
parameters) [0x00000] in <filename unknown>:0 
  at System.Runtime.Serialization.ObjectRecord.LoadData
(System.Runtime.Serialization.ObjectManager manager, ISurrogateSelector
selector, StreamingContext context) [0x00000] in <filename unknown>:0 
  at System.Runtime.Serialization.ObjectManager.DoFixups () [0x00000] in
<filename unknown>:0 
  at
System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadNextObject
(System.IO.BinaryReader reader) [0x00000] in <filename unknown>:0 
  at
System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectGraph
(BinaryElement elem, System.IO.BinaryReader reader, Boolean readHeaders,
System.Object& result, System.Runtime.Remoting.Messaging.Header[]& headers)
[0x00000] in <filename unknown>:0 
  at
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeserialize
(System.IO.Stream serializationStream,
System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x00000] in
<filename unknown>:0 
  at
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize
(System.IO.Stream serializationStream) [0x00000] in <filename unknown>:0 
  at System.Resources.ResourceReader.ReadNonPredefinedValue (System.Type
exp_type) [0x00000] in <filename unknown>:0 
  at System.Resources.ResourceReader.ReadValueVer2 (Int32 type_index)
[0x00000] in <filename unknown>:0 
  at System.Resources.ResourceReader.LoadResourceValues
(.ResourceCacheItem[] store) [0x00000] in <filename unknown>:0 
  at System.Resources.ResourceReader+ResourceEnumerator.FillCache ()
[0x00000] in <filename unknown>:0 
  at System.Resources.ResourceReader+ResourceEnumerator..ctor
(System.Resources.ResourceReader readerToEnumerate) [0x00000] in <filename
unknown>:0 
  at System.Resources.ResourceReader.GetEnumerator () [0x00000] in <filename
unknown>:0 
  at System.Resources.ResourceSet.ReadResources () [0x00000] in <filename
unknown>:0 
  at System.Resources.ResourceSet.GetObjectInternal (System.String name,
Boolean ignoreCase) [0x00000] in <filename unknown>:0 
  at System.Resources.ResourceSet.GetObject (System.String name, Boolean
ignoreCase) [0x00000] in <filename unknown>:0 
  at System.Resources.RuntimeResourceSet.GetObject (System.String name,
Boolean ignoreCase) [0x00000] in <filename unknown>:0 
  at System.Resources.ResourceManager.GetObject (System.String name,
System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 

--

-- 
View this message in context: http://n4.nabble.com/Runtime-error-running-WinForms-app-on-Mac-OS-X-tp1582802p1582802.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Stefano Del Furia | 13 Mar 2010 20:56
Picon
Favicon
Gravatar

problem with sendkeys

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
Rafael Teixeira | 15 Mar 2010 11:32
Picon
Gravatar

Re: 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 | 15 Mar 2010 13:39
Picon
Favicon
Gravatar

Re: 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 | 19 Mar 2010 21:15
Picon
Favicon
Gravatar

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

Gmane