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 program using both git master and the utopic version of GTK+. When I said it was working with wip/mir in comment 3 I think I might just have accidentally given the window focus when testing.
When I run in Unity 8 it still doesn't work which makes me think now that for some reason the surface doesn't have focus. -- 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] Clicking seems to confuse GTK (or the shell) Status in “gtk+3.0” package in Ubuntu: Triaged Bug description: Using utopic or current vivid, clicking on buttons/menubar in gtk application under unity8-mir leads to not working softwares. Not sure if that's the GTK backend or Mir to blame Small example attached, the program has a button and a label, click on the button should display "clicked!". Under unity8 the button seems to stop reacting after the first click and sometime the program closes (compile with "gcc button.c -o button`pkgconfig --cflags --libs gtk+-3.0`", to run it you need to have a .desktop running the binary and including the X-Ubuntu-Touch=true key) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/1388875/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp