Summary: | [qyoto] QMouseEvent and Buttons() => exeption | ||
---|---|---|---|
Product: | [Developer tools] bindings | Reporter: | yan <mongaulois> |
Component: | general | Assignee: | kde-bindings |
Status: | RESOLVED NOT A BUG | ||
Severity: | crash | CC: | arno |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
yan
2009-04-07 17:12:00 UTC
This bug is under ubuntu 8.04 works perfectly for me. could you post the exact error message and backtrace for the crash? 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 i test ubuntu 9.04 all works perfectly :) |