15:52:24 RRSAgent has joined #touchevents 15:52:24 logging to http://www.w3.org/2015/01/06-touchevents-irc 15:53:12 zakim, what conferences 15:53:12 rbyers, you need to end that query with '?' 15:53:15 zakim, what conferences? 15:53:15 I see WAI_UAWG(CHAIRS)10:30AM, AB_(PROCESS)10:00AM active 15:53:16 also scheduled at this time are XML_ET-TF()11:00AM, HTML_WG()11:00AM, SW_HCLS()11:00AM, XML_EXI()10:00AM, DPUB_DIGC()10:00AM, RWC_WebEven()11:00AM, WAI_WCAG()11:00AM, 15:53:16 ... RWC_PEWG()11:00AM, VB_VBWG()10:00AM 15:53:41 zakim, this is RWC_PEWG 15:53:41 rbyers, I see RWC_PEWG()11:00AM in the schedule but not yet started. Perhaps you mean "this will be RWC_PEWG". 15:53:48 zakim, this will be RWC_PEWG 15:53:48 ok, rbyers; I see RWC_PEWG()11:00AM scheduled to start in 7 minutes 15:56:06 Meeting: Touch Events Community Group 15:58:08 patrick_h_lauke has joined #touchevents 15:59:04 scott_gonzalez has joined #touchevents 15:59:22 tdresser has joined #touchevents 15:59:58 RWC_PEWG()11:00AM has now started 16:00:06 +Scott_Gonzalez 16:00:25 +rbyers 16:00:39 + +44.797.663.aaaa 16:00:44 zakim, aaaa is me 16:00:44 +patrick_h_lauke; got it 16:01:01 hey folks 16:01:07 hello! 16:01:10 Happy new year! 16:01:19 likewise :) 16:01:25 + +1.571.426.aabb 16:01:28 jrossi2 has joined #touchevents 16:01:32 +Matt_Brubeck 16:01:45 +[Microsoft] 16:01:57 nobody dares to say anything... 16:02:07 Zakim, Microsoft is jrossi2 16:02:07 +jrossi2; got it 16:02:22 Zakim, who is here? 16:02:22 On the phone I see Scott_Gonzalez, rbyers, patrick_h_lauke, +1.571.426.aabb, Matt_Brubeck, jrossi2 16:02:24 On IRC I see jrossi, tdresser, scott_gonzalez, patrick_h_lauke, RRSAgent, Zakim, ArtB_, mbrubeck, rbyers 16:02:34 Zakim, jrossi2 is jrossi 16:02:34 +jrossi; got it 16:02:34 asir has joined #touchevents 16:03:23 -rbyers 16:05:14 +rbyers 16:05:38 Scribe: Jacob_Rossi 16:05:43 Agenda: http://lists.w3.org/Archives/Public/public-touchevents/2015Jan/0004.html 16:06:09 Topic: Identifying mouse events derived from touch http://lists.w3.org/Archives/Public/public-touchevents/2014Sep/0000.html 16:06:41 rbyers: I think most important issue for this group is that browsers can't enable TE on all devices 16:06:48 asir has joined #touchevents 16:07:05 rbyers: IE is mobile only, Chrome is touchscreen only and has emulation in dev tools 16:07:22 jrossi: +1 16:07:37 rbyers: the chrome team has a rough plan for how we turn this on everywhere 16:07:45 rbyers: willing to take some compat pain, it's all about mitigation strategy 16:08:01 rbyers: important piece is having really clear guidelines for what devs can do instead 16:08:13 Common problematic coding pattern: if ('ontouchstart' in window) 16:08:48 rbyers: sometimes used for feature detection, sometimes used for detecting if there's a touchscreen 16:09:04 rbyers: first step was interaction media queries 16:09:09 http://dev.w3.org/csswg/mediaqueries-4/#mf-interaction 16:09:14 rbyers: gives input into what devices the user has 16:09:41 rbyers: recently tweaked this API to make it more powerful on touchscreen laptops (any-hover, any-pointer) 16:09:56 rbyers: on by default in Chrome beta 16:10:23 rbyers: not the only q they're trying to ask. they're also what do i do when i see mouse events or a click? 16:10:55 rbyers: we still don't have areally good story for that pattern. 16:11:12 rbyers: you can call preventDefault() on touch. i thought that was a good solution, but i've been convinced otherwise. 16:11:45 rbyers: one component may not have all the information it needs to call preventDefault(), making a global decision based on local needs 16:12:28 should i troll now and say pointer events solves this? :p 16:12:33 jrossi: would be good to write down different use cases for this 16:12:52 patrick: yep ;-) 16:13:38 jrossi: For example, duplicate events (touchstart + mousedown), versus "want to handle tap without waiting for double-click delay" 16:13:56 rbyers: I had originally listed this as two separate issues, but they may be more entangled than I thought. 16:14:02 s/tap/click event 16:14:04 Some notes on this problem here: https://docs.google.com/a/chromium.org/document/d/1-ZUtS3knhJP4RbWC74fUZbNp6cbytG6Wen7hewdCtdo/edit?pli=1# 16:15:19 rbyers: Scott, do you have experience in this? 16:16:47 scott_gonzalez: I need to go back and look at this. We didn't pick a model before [touch/pointer], just used X/Y coordinates and gestures, but are now to pointer. 16:17:25 scott_gonzalez: in a lot of cases we just want to handle which is first. in some though we probably want to kno the differeence and provide different UX. 16:19:03 rbyers: let me understand jquery better. you listen to touch events first, and ignore mouse events during. at what time do you start listening to mouse again? 16:19:41 scott_gonzalez: as soon as another interaction starts (after touchend) we start over 16:20:00 rbyers: i don't think that works because the mouse events come after. how did you handle double firing? 16:20:28 rbyers: need to make sure you don't do a redundant action 16:20:47 scott_gonzalez: not sure about that part. I think they just use their tap event, but I'd have to check with them. 16:22:20 rbyers: I'd like to make this a short snippet of JS rather than some crazy recommended heuristics 16:22:36 scott_gonzalez: I think devs do that, but just use a fastclick library 16:23:34 rbyers: I think if that was the extent of the problem, then I wouldn't think this needs further problem. But I think the issue isn't just about click, but they have both touch & mouse handlers and need to avoid duplicate. 16:23:50 scott_gonzalez: to be honest, developers have been saying pointer can solve this 16:24:02 patrick_h_lauke has joined #touchevents 16:24:28 (oops i think i've been disconnected...? ... repasting my previous message in case it got lost) 16:24:37 rbyers: yeah, we can look at this as something for touch events to help pointer event polyfills 16:24:52 patrick_h_lauke has joined #touchevents 16:26:11 Mozilla has a non-standard MouseEvent.mozInputSource (basically MouseEvent.pointerType): https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent#Properties 16:26:11 patrick_h_lauke has joined #touchevents 16:26:16 mbrubeck: I have some feedback based on FF experience. Gecko has a non-standard inputSource property 16:26:36 mbrubeck: not really used on the web, but we have used it in FF UI code 16:26:55 mbrubeck: 100% of the time we use it to tell if you have a mouse event created from touch 16:27:35 rbyers: the very simple proposal is add a bit to MouseEvent that helps you know it came from TouchEvent 16:28:15 patrick_h_lauke: I think the issue is that we're making it so touch specific. just in the case that we need a geenratedFromSomeOtherDevice flag in the future 16:28:44 mbrubeck: you need to know not just if it's derived but that its from something else you handled 16:29:08 MouseEvent.firedFrom("TouchEvent") 16:29:23 this was something I threw out as an idea with rbyers 16:30:09 rbyers: I like this because presumably you could also do firedFrom("PointerEvent") 16:30:23 rbyers: my proposal though is probably more discoverable 16:30:32 jrossi: yeah, that's true 16:30:58 rbyers: could imagine a hybrid where firedFrom is an object with different event model members 16:31:00 asir has joined #touchevents 16:31:09 patrick_h_lauke: could just be a string 16:31:39 patrick_h_lauke: could have even more specific with some unique id 16:31:56 patrick_h_lauke: I think it's finding the middle ground. 16:32:15 mbrubeck: yeah rbyer's doc rejects the idea of providing the original event 16:32:44 rbyers: has great complexity issues with lifetime management and threading 16:33:08 rbyers: if there's a really compelling case, we can explore it. otherwise, would rather not. 16:33:11 jrossi: i agree 16:33:18 jrossi: it's a nightmare 16:34:03 rbyers: other thing is that just a string doesn't let you have future models [describes pointer & touch both firing mouse] 16:35:19 patrick_h_lauke has joined #touchevents 16:35:24 patrick_h_lauke: there's still an issue of code not knowing about future event types that get added (even if it's not a string) 16:35:26 so conceptually...we want to provide developers enough information to "pick" which event they want to listen to (rather than using either big hammers like preventDefault() to kill off certain events, or having to keep track of event sequences of "which event came first" and then debouncing or avoiding double handling). 16:35:30 you want devs to be able to "dip" into the event stream and choose what they're interested in, rather than having to manipulate this stream (preventDefault) or having to duplicate functionality (counting, keeping track of events, setting their own flags of what they handled, etc). 16:36:28 rbyers: yeah, that sounds like a good characterization to me. nit: not necessarily listen to, but respond to. it's not until the actual event that they know whether they want to do something with it. 16:37:39 rbyers: i don't have a strong opinion on the small API differences. but maybe next concrete steps is to write it up more formally and propose to DOM Events group 16:38:24 rbyers: i sent my original proposal and they gave feedback that it was a little too specific 16:38:54 rbyers: is there a real difference between the method that takes a string and the object? 16:39:13 jrossi: we have to bikeshed, rbyers. :-) 16:39:49 wondering if method way is more extensible (not needing blessing from other groups to extend DOM event) 16:39:52 rbyers: I can whip up a version where firedFrom is a object with properties 16:39:58 vs individual properties... 16:42:52 zakim, who is noisy? 16:43:02 rbyers, listening for 10 seconds I heard sound from the following: +1.571.426.aabb (76%), rbyers (49%) 16:43:12 zakim, mute aabb 16:43:12 +1.571.426.aabb should now be muted 16:43:58 rbyers: i think given that, I think Jacob's proposal is less likely to cause future problems. i can edit the doc i linked to with this proposal. 16:44:09 Topic: Identifying touch events that will trigger a tap / click 16:44:09 http://lists.w3.org/Archives/Public/public-touchevents/2015Jan/0002.html 16:44:09 jrossi: are you going to send that to th DOM group? 16:44:15 rbyers: I'll circle it with you guys first 16:50:00 note: even pure touchscreen-only can be problematic when coupled with assistive tech http://patrickhlauke.github.io/touch/tests/results/#mobile-tablet-touchscreen-assistive-technology-events 16:50:38 asir has joined #touchevents 16:52:19 http://patrickhlauke.github.io/touch/tests/results/#desktop-assistive-technology-events 16:53:44 rbyers: one other problem. with this API shape, we don't have a way of telling if the browser doesn't support the event type you passed 16:54:18 rbyers: don't have an "i don't know" return value 16:54:45 rbyers: we might need a yes, no, unknown 16:56:10 https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation.hasFeature 16:56:30 jrossi: just want to make sure we don't get into solving the hasFeature problem. that's a different problem. 16:56:39 rbyers: suggest we table the second topic for next week 16:56:45 rbyers: objections? 16:56:50 [none] 16:56:57 Topic: AOB 16:59:13 I need to drop off and join another call. 16:59:30 "prioritization games", the lesser known sequel to "hunger games" ... 17:01:05 -Scott_Gonzalez 17:01:36 -patrick_h_lauke 17:01:37 -rbyers 17:01:43 -jrossi 17:01:50 -Matt_Brubeck 17:02:22 RRSAgent, make log Public 17:02:31 RRSAgent, make minutes 17:02:31 I have made the request to generate http://www.w3.org/2015/01/06-touchevents-minutes.html jrossi 17:03:47 Chair: rbyers 17:04:39 Present: jrossi, rbyers, tdresser, scott_gonzalez, mbrubeck, patrick_h_lauke 17:04:56 RRSAgent, make minutes 17:04:56 I have made the request to generate http://www.w3.org/2015/01/06-touchevents-minutes.html jrossi 17:06:30 jrossi: thanks, was just going to ask. Guess I should add one more missing thing: 17:06:33 Regrets: ArtB 17:06:43 RRSAgent, make minutes 17:06:43 I have made the request to generate http://www.w3.org/2015/01/06-touchevents-minutes.html rbyers 17:06:50 :-) 17:07:23 - +1.571.426.aabb 17:07:25 RWC_PEWG()11:00AM has ended 17:07:25 Attendees were Scott_Gonzalez, rbyers, +44.797.663.aaaa, patrick_h_lauke, +1.571.426.aabb, Matt_Brubeck, jrossi 17:09:30 jrossi has left #touchevents 17:11:46 patrick_h_lauke has left #touchevents 18:17:13 tdresser has joined #touchevents 19:02:42 Zakim has left #touchevents 19:12:34 smaug has joined #touchevents 19:41:33 Present+: Asir_Selvasingh 19:41:45 RRSAgent, make minutes 19:41:45 I have made the request to generate http://www.w3.org/2015/01/06-touchevents-minutes.html rbyers 19:59:13 shepazu has joined #touchevents 22:03:16 shepazu has joined #touchevents 23:03:19 shepazu has joined #touchevents