/srv/irclogs.ubuntu.com/2015/02/09/#ubuntu-mir.txt

=== alan_g is now known as alan_g|lunch
=== ara is now known as Guest94549
=== chunsang is now known as chunsang-away
mlankhorstgreyback: so did you take a look yet why I get touch events instead of pointer events?13:34
greybackmlankhorst: with mir alone, or with unity8?13:36
mlankhorstunity8 only13:39
mlankhorstnested mir works normally13:39
=== alan_g|lunch is now known as alan_g
greybackmlankhorst: ok, is because qtmir forwards on all input events as touch events - even if they started as mouse. Should be fixed by https://code.launchpad.net/~mir-team/qtmir/port-to-event-2.0/+merge/24806713:57
mlankhorstoke13:59
mlankhorstah new version14:00
=== chunsang-away is now known as chunsang
mlankhorstgreyback: are you sure it works? i apply it from r310 onward onto my qtmir snapshot from the 0.11 ppa and I still don't get touch events14:31
greybackmlankhorst: I've tested it with Qt stuff, it appeared to work ok.14:31
mlankhorstdo you recompile anything else?14:34
greybacknope14:34
mlankhorsthm what version of mir do you use? trying from the port-to-event one I get /QtSensors    -o CMakeFiles/unityapplicationplugin.dir/mirsurfaceitem.cpp.o -c /home/mlankhorst/nfs/xorg/port-to-event-2.0/src/modules/Unity/Application/mirsurfaceitem.cpp14:35
mlankhorst/home/mlankhorst/nfs/xorg/port-to-event-2.0/src/modules/Unity/Application/mirsurfaceitem.cpp: In member function ‘bool qtmir::MirSurfaceItem::updateTexture()’:14:36
mlankhorst/home/mlankhorst/nfs/xorg/port-to-event-2.0/src/modules/Unity/Application/mirsurfaceitem.cpp:396:21: error: ‘class mir::graphics::Renderable’ has no member named ‘buffers_ready_for_compositor’14:36
mlankhorst     if (renderable->buffers_ready_for_compositor() > 0) {14:36
greybackmlankhorst: 0.11 was released, I'm working off that14:36
mlankhorsthm oke14:37
=== marcusto_ is now known as marcustomlinson
* alan_g disappears to reboot14:59
mlankhorstgreyback: lp:~vanvugt/mir/fix-buffers_ready_for_compositor breaks it on 0.1115:17
greybackmlankhorst: ah sorry, I thought PPA 12 had released. I'm working off mir 0.11 in that ppa15:20
greybackso you need to merge all the qtmir branches listed there too, in order for anything to compile15:20
mlankhorstwhich was sort of what I did..15:21
greybackfix-buffers_ready_for_compositor does not go anywhere near the input code15:21
mlankhorstexcept the other way around, grab your branch and stuff it on top of the qtmir there15:21
greybackwhich should work15:22
greybackmlankhorst: running your client with MIR_CLIENT_INPUT_RECEIVER_REPORT=log will at least show if you are getting mouse events or not15:28
greybackhttp://unity.ubuntu.com/mir/component_reports.html out of date15:28
mlankhorstoke15:29
mlankhorstodd, don't see anything from that15:29
mlankhorstdo you need debug enabled or something?15:39
mlankhorstgreyback: can you try yourself with my xmir package? see if you get touch or mouse events..15:50
greybackmlankhorst: I can. Where is your xmir package? And what x app should I run?15:52
mlankhorstxev is fine15:53
mlankhorstppa:mlankhorst/ppa, I was only getting events when holding mouse buttons in my xev window15:53
kgunn_alf_: since duflu is out of sync, would you mind keeping an eye out for assisting greyback in debugging ?16:05
kgunn_alf_: long story short...seems there's a bug, but can't repro with demo server16:05
kgunn_only happens with xmir16:05
alf_kgunn_: sure16:06
alf_greyback: ^^ let me know if you need something16:07
greybackalf_: will do, am trying to repro currently16:07
greybackmlankhorst: here's a sample of hte output I'm getting from xev: http://pastebin.ubuntu.com/10144336/16:14
greybackmlankhorst: the first chunk is pure mouse motion16:15
greybackthe second chunk is me interacting with the touchscreen16:15
greybackI'm unsure how to interpret those MotionNotify events16:15
greybackwhat should a touch event look like to X?16:15
mlankhorstgreyback: do you only get events when the button's down?16:32
greybackmlankhorst: no16:33
greybackall motion events are being reported16:33
greybackmlankhorst: there's something going weird with branches though. Trying to merge fix-buffers_ready_for_compositor into port-to-event-2.0 does nothing for me, and the build fails for that reason16:42
greybackmlankhorst: try this branch, it works for me with mir 0.11: lp:~gerboland/qtmir/port-to-event-2.0-with-mir0.1116:54
racarrMorning, lemme know if this xmir-event/2.0-qtmir thing I see in backscroll needs assistance :)17:29
mlankhorstgreyback: weird..17:29
racarrconfirmed that OSK bug is gone from silo17:57
=== alan_g is now known as alan_g|EOD
greybackyays18:27

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!