[Touch-packages] [Bug 1388875] Re: [gtk-mir-backend] Clicking seems to confuse GTK (or the shell)

2014-11-05 Thread Robert Ancell
** Changed in: gtk+3.0 (Ubuntu Utopic) Status: New => Triaged ** Changed in: gtk+3.0 (Ubuntu Utopic) Importance: Undecided => High ** Summary changed: - [gtk-mir-backend] Clicking seems to confuse GTK (or the shell) + GTK+ applications unable to be clicked on in Unity 8 ** Changed in:

[Touch-packages] [Bug 1388875] Re: [gtk-mir-backend] Clicking seems to confuse GTK (or the shell)

2014-11-04 Thread Robert Ancell
I think the fix is: --- a/gdk/mir/gdkmireventsource.c +++ b/gdk/mir/gdkmireventsource.c @@ -311,7 +313,7 @@ handle_motion_event (GdkWindow *window, const MirMotionEvent *event) case mir_motion_action_up: event_type = event->action == mir_motion_action_down ? GDK_BUTTON_PRESS : GDK_BU

[Touch-packages] [Bug 1388875] Re: [gtk-mir-backend] Clicking seems to confuse GTK (or the shell)

2014-11-04 Thread Robert Ancell
Aha, this is the issue. Below is an event from running inside Unity 8. We are getting up and down events but they don't have a button state (they appear to be finger events). So we're not going to generate a GDK event for this. Unity 8 must have switched from generating mouse events to finger event

[Touch-packages] [Bug 1388875] Re: [gtk-mir-backend] Clicking seems to confuse GTK (or the shell)

2014-11-04 Thread Robert Ancell
There seems to be an issue with the GTK+ Mir surface getting focus. When running through mir_demo_server_shell no mouse up/down events are received (as shown using GDK_MIR_LOG_EVENTS). However, if you drag the window using alt+mouse then release the events work after that. I can then run the demo

[Touch-packages] [Bug 1388875] Re: [gtk-mir-backend] Clicking seems to confuse GTK (or the shell)

2014-11-04 Thread Robert Ancell
Note you can enable event debugging to stderr by running with GDK_MIR_LOG_EVENTS=true -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to gtk+3.0 in Ubuntu. https://bugs.launchpad.net/bugs/1388875 Title: [gtk-mir-backend] Click

[Touch-packages] [Bug 1388875] Re: [gtk-mir-backend] Clicking seems to confuse GTK (or the shell)

2014-11-04 Thread Robert Ancell
Confirmed this is occurring in git master - suspecting that something changed inside GTK+. ** Changed in: gtk+3.0 (Ubuntu) Assignee: (unassigned) => Robert Ancell (robert-ancell) ** Changed in: gtk+3.0 (Ubuntu) Status: Confirmed => Triaged -- You received this bug notification becau

[Touch-packages] [Bug 1388875] Re: [gtk-mir-backend] Clicking seems to confuse GTK (or the shell)

2014-11-04 Thread Robert Ancell
I can confirm this happening with the utopic package but not with the origional wip/mir git branch. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to gtk+3.0 in Ubuntu. https://bugs.launchpad.net/bugs/1388875 Title: [gtk-mir-

[Touch-packages] [Bug 1388875] Re: [gtk-mir-backend] Clicking seems to confuse GTK (or the shell)

2014-11-04 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: gtk+3.0 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to gtk+3.0 in Ubuntu. https://bugs.launchpad.n