[Kde-bindings] [Bug 189041] [qyoto] QMouseEvent and Buttons() => exeption

yan mongaulois at gmail.com
Wed Apr 8 15:17:12 UTC 2009


https://bugs.kde.org/show_bug.cgi?id=189041





--- Comment #3 from yan <mongaulois gmail com>  2009-04-08 17:17:10 ---
i look my ubuntu version. It's 8.04. So i try an old mono and qyoto version. So
it's certainly an old bug.


Unhandled Exception: System.Reflection.TargetInvocationException: Exception has
been thrown by the target of an invocation. ---> System.InvalidCastException:
Cannot cast from source type to destination type.
  at Qyoto.QMouseEvent.Buttons () [0x00000]
  at maWidget.MouseMoveEvent (Qyoto.QMouseEvent mouseEvent) [0x00000] in
/home/mongaulois/testqyoto/testqyoto/test.cs:55
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke
(object,object[])
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000] --- End of inner exception
stack trace ---

  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000]
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[]
parameters) [0x00000]
  at Qyoto.SmokeInvocation.InvokeMethod (IntPtr instanceHandle, IntPtr
methodHandle, IntPtr stack) [0x00000]
  at (wrapper native-to-managed) Qyoto.SmokeInvocation:InvokeMethod
(intptr,intptr,intptr)
  at (wrapper managed-to-native) Qyoto.SmokeInvocation:CallSmokeMethod
(int,intptr,intptr,int)
  at Qyoto.SmokeInvocation.Invoke (System.String mungedName, System.String
signature, System.Type returnType, System.Object[] args) [0x00000]
  at Qyoto.QApplication.Exec () [0x00000]
  at Test.Main (System.String[] args) [0x00013] in
/home/mongaulois/testqyoto/testqyoto/test.cs:74

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kde-bindings mailing list