Mouse grabbing inconsistency on Gtk and WPF

70 views
Skip to first unread message

Mikhail Rozhkov

unread,
Apr 15, 2013, 11:24:28 PM4/15/13
to xwt-...@googlegroups.com
Hey, Lluis!

I develop my own simple docking system for the game editor.
And now I get stuck on following issue: Gtk grabs mouse input for whe widget, but WPF - not.
When I press left mouse button upon Gtk widget and start to drag, I recieve MoveMove events until I release mouse.
And I will receive MouseRelease for sure!

WPF does not capture mouse. More over: if I move mouse out of the widget area, I will not get ButtonRelease and I still 

believe that button is pressed although it is not (here lies related problem: Xwt does not provide information about 

global mouse positon and buttons state).

I think that in future Xwt should implement one behaviour across all platforms (Personally I prefer the way Xwt.Gtk does).
Should I rely on Xwt.Gtk behaviour? 

PS: I wonder: how does Xwt.Cocoa behave?

Thanks!

Lluis Sanchez Gual

unread,
Apr 21, 2013, 10:54:54 PM4/21/13
to xwt-...@googlegroups.com
XWT should certainly behave the same way in all platforms. I think using the gtk behavior makes sense. Could you please file a bug report in https://github.com/mono/xwt/issues ?

Thanks,
Lluis.

El 15/04/2013, a les 23:24, Mikhail Rozhkov <mikhail...@gmail.com> va escriure:

--
You received this message because you are subscribed to the Google Groups "XWT Widget Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xwt-list+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages