16:01:43 RRSAgent has joined #webevents 16:01:43 logging to http://www.w3.org/2011/01/25-webevents-irc 16:01:45 RRSAgent, make logs world 16:01:47 mbrubeck has joined #webevents 16:01:47 Zakim, this will be event 16:01:48 Meeting: Web Events Working Group Teleconference 16:01:48 Date: 25 January 2011 16:02:10 ScribeNick: ArtB 16:02:10 Scribe: Art 16:02:10 Agenda: http://lists.w3.org/Archives/Public/public-webevents/2011JanMar/0009.html 16:02:10 Date: 25 January 2011 16:02:10 Chair: Art 16:02:11 Meeting: Web Events WG Voice Conference 16:02:24 egrets: Dzung_Tran, Anders_Höckersten, Olli_Pettay 16:02:34 Regrets: Dzung_Tran, Anders_Höckersten, Olli_Pettay 16:02:47 Zakim has joined #webevents 16:02:54 Present: Art_Barstow, Doug_Schepers, Laszlo_Gombos, Matt_Brubeck 16:03:03 trackbot, start telcon 16:03:05 RRSAgent, make logs world 16:03:07 Zakim, this will be event 16:03:08 Meeting: Web Events Working Group Teleconference 16:03:08 Date: 25 January 2011 16:03:17 RRSAgent, make log Public 16:03:20 Zakim, call shepazu 16:03:23 RRSAgent, make minutes 16:03:23 I have made the request to generate http://www.w3.org/2011/01/25-webevents-minutes.html ArtB 16:03:28 Zakim, code? 16:04:49 code: 9231# 16:05:01 I do not see a conference matching that name scheduled within the next hour, trackbot 16:05:18 sorry, shepazu, I don't know what conference this is 16:05:22 sorry, shepazu, I don't know what conference this is 16:05:40 http://www.w3.org/Guide/1998/08/teleconference-calendar#s_4378 16:06:39 Present+ Josh_Soref 16:06:52 Topic: Tweak Agenda 16:06:58 AB: a draft agenda was submitted yesterday ( http://lists.w3.org/Archives/Public/public-webevents/2011JanMar/0009.html ). Any change requests? 16:07:11 [ None ] 16:07:13 Topic: Touch Events spec 16:07:20 AB: earlier today, Doug announced the availability of the "Touch Events Specification" Editor's Draft ( http://dvcs.w3.org/hg/webevents/raw-file/tip/touchevents.html ). 16:07:27 AB: thanks Doug! 16:07:33 doug: congrats on getting Hg up :) 16:07:56 AB: this is indeed a fresh doc, so I don't expect everyone to have read it 16:08:03 ... and we do have some regrests 16:08:12 DS: I'd like to go through it 16:08:17 s/regrests/regrets/ 16:08:36 DS: I'll start with an introduction 16:08:53 ... I struggled a bit and then each event is a set of lists 16:09:01 ... and each list is a set of touch points 16:09:14 ... and each touch point has several attributes one would associate with an event 16:09:44 ... f.ex., for a click, get screen x+ why 16:10:03 DS: in webkit get lists and those lists have the events 16:10:22 ... took this pretty much from Webkit impl as documented on various sources on the web 16:10:34 useful for comparison: http://developer.apple.com/library/safari/#documentation/UserExperience/Reference/TouchEventClassReference/TouchEvent/TouchEvent.html 16:10:35 ... I did add some stuff: cx and cy 16:10:53 ... I mean rx and ry 16:11:11 oh, good. i was going to complain about that (cx v. rx), i'd rather "radiusX"/"radiusY" 16:11:11 ... they indicate radius of the x+why 16:12:06 ... need an area rather than an exact point 16:12:34 DS: so why did I use this model rather than the Mozilla model? 16:12:46 ... I think the WebKit model has broader deployment 16:13:10 DS: Josh asked about the names I choose and about identifiers rather than an ID 16:13:22 ... the answer is: that's the way it is done in WebKit 16:13:42 AB: add, as a first ED, the contents are all up for discussion 16:13:44 Sangwhan_Moon1 has joined #webevents 16:13:56 ... i.e. the spec isn't frozen :-) 16:14:05 indeed, there was a promise that we weren't going to treat first editor's content as final 16:14:18 MB: I've done some work on Gecko and WK but work for Mozilla 16:14:56 zakim, who is on the call? 16:14:56 has not yet started, Sangwhan_Moon1 16:14:57 On IRC I see Sangwhan_Moon1, Zakim, mbrubeck, RRSAgent, lgombos, timeless_w7ip, ArtB, trackbot, shepazu 16:14:58 ... I submitted my comments 16:15:12 Present+ Sangwhan_Moon 16:15:30 DS: with balls and wheels have some stair-stepping problems 16:15:50 ... may need to do some mapping 16:16:08 ... for the 1st draft, I thought it would be easier to use WK model 16:16:23 ... if there are good reasons to change, we should discuss that 16:17:07 MB: the two main diffs between ED and WK impls are 16:17:15 ... 1) touch radius 16:17:22 ... and 2) touch enter and leave? 16:17:27 DS: yes, that's correct 16:17:37 LG: WK has keyboard modifiers on touch events 16:17:44 DS: oh, I forgot to add them 16:17:54 shepazu: (editorial) i think you should probably add references to the WK and Gecko docs to the References section :) 16:17:57 MB: it enherit from UIEvent 16:18:04 DS: OK; good to know; I'll change that 16:18:40 DS: In my local copy, I changed to UIEvent 16:18:52 ... will also add the keyboard stuff; should be easy to do 16:19:37 ... re kebd modifiers, you are talking about Meta/Alt keys? 16:19:46 MB: correct 16:19:58 DS: is that in the touch point or the touch interface? 16:20:15 ... should be in same place as screenX and screenY, right? 16:20:17 MB: yes 16:20:42 DS: ok, control key, meta key, ...; I'll copy those from DOM 3 Events spec 16:21:45 Sangwhan_Moon1: are you on the call? 16:21:45 AB: I noticed Sangwhan has a question but I don't think he is on the call 16:21:51 WebKit latest TouchEevent - http://trac.webkit.org/browser/trunk/Source/WebCore/dom/TouchEvent.idl 16:22:52 LG: the URI entered is a reference for the modifiers and events for WK impl 16:23:17 http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-MouseEvent 16:23:20 Safari uses "long" for screen events: http://developer.apple.com/library/safari/#documentation/UserExperience/Reference/TouchEventClassReference/TouchEvent/TouchEvent.html 16:23:42 the datatype issue is that events attributes like clientX are integer-ish not float-ish 16:23:48 AB: any other comments Matt you want to raise now? 16:23:52 I believe long would be a better option than using floats 16:24:01 MB: a few minor things e.g. rx and ry attrs 16:24:09 ... the spec should talk about the coordinate system 16:24:32 DS: I've updated the text to use pixels 16:24:40 MB: but pixels are ambigous 16:24:45 as it is very unlikely that a float screen coordinate is possible in the real world 16:24:49 ... in that they are device dependent 16:24:59 ... and used differently e.g. in CSS pixels 16:25:04 it should be in "input coordinates" consistent with how the mouse pixels work 16:25:08 DOM 2 mouse events also uses long for screen coordinates 16:25:16 ... If content authors will use this data, they need to relate it to a physical size 16:25:22 so it would make more sense to have those in align in terms of datatypes 16:25:25 ... and that would mean using something like CSS pixels 16:25:46 DS: I'm ok with that 16:26:05 ... but they are already assuming the same number of pixels from pageX, pageY, etc. 16:26:28 MB: but those use different size pixels with mobile safari 16:26:39 DS: screenX and screenY should be the same 16:26:48 MB: true but pageX and pageY do change 16:26:59 ... not clear if rX and rY would change 16:27:18 q+ to ask for changing "r" for "radius" 16:27:41 MB: if content authors want to map rX and rY to physical lenghts 16:27:48 s/lenghts/lengths/ 16:27:50 ... they need to know the density of the display 16:28:03 ... assuming they are in hw pixels rather than CSS pixels 16:28:23 ... which can be done perhaps w/ CSS media queries, which is "awkward" 16:28:28 DS: we do need to define what we are using 16:28:42 ... and reference something, probably CSS 16:28:57 AB: we can't leave it open in the spec, right? 16:29:11 MB: correct; we don't need to solve it today on this call 16:29:31 ack me 16:29:31 timeless_w7ip, you wanted to ask for changing "r" for "radius" 16:29:32 JS: would prefer "radiusX" to be consistent with screenX, ... 16:29:43 DS: that's fine with me (I'm tainted by SVG) 16:29:53 zakim, who is on the call? 16:29:54 has not yet started, Sangwhan_Moon1 16:29:55 s/tainted/biased/ 16:30:00 On IRC I see Sangwhan_Moon1, Zakim, mbrubeck, RRSAgent, lgombos, timeless_w7ip, ArtB, trackbot, shepazu 16:30:10 DS: are people ok with touch area being an ellipse? 16:30:28 MB: not clear what an impl should do if it doesn't have info about the area 16:30:49 DS: this is the first time I've used respec; anyone else used it? 16:31:01 ... not clear how NoExceptions is used 16:31:11 MB: so it does not throw an exception? 16:31:18 DS: I need to clarify this 16:31:30 ... it is zero if no other value is available 16:32:11 JS: 1 may be better because people will try to divide by 0 and indeterminate things happen then 16:32:18 DS: I'm fine with using "1" 16:32:28 (technically they are rather well defined, but propogation is distressing to real users) 16:33:13 LG: what if someone is not using a finger but something else 16:33:32 DS: don't think that would be distinguishable 16:33:43 agenda? 16:33:48 ... can't distinguish between finger or stylus 16:34:12 updated: http://dvcs.w3.org/hg/webevents/raw-file/tip/touchevents.html 16:34:36 JS: need to be careful to not discriminate based on capabilities of users 16:34:43 [ http://www.section508.gov ] 16:34:54 DS: this is about distinguishing different device capabilities (not user capabilities) 16:35:07 DS: oh, just realized I need to add pressure 16:35:13 Sangwhan_Moon1: no, it hasn't 16:35:17 Sangwhan_Moon1: agenda - http://developer.apple.com/library/safari/#documentation/UserExperience/Reference/TouchEventClassReference/TouchEvent/TouchEvent.html 16:35:20 wrong link 16:35:24 ... and I have checked in a new version 16:35:27 http://lists.w3.org/Archives/Public/public-webevents/2011JanMar/0009.html 16:36:28 DS: want to be flexibile on input devices 16:37:02 i fully expect each web application to butcher and mishandle various input methods 16:37:09 q+ 16:37:18 DS: to be more explicit, would need to expose device capabilities 16:37:35 ... eg: does this device expose pressure sensitivity 16:37:35 whereas, providing encouragement for user agents to provide a way for users to express strokes/pressure/whatever 16:37:46 ... does it undertand stylus with rX and rY 16:38:04 ... then it adatation could be done based on feature detection 16:38:10 if a query by an web application allows a user agent to offer emulation to the user, then that might be ok 16:38:12 ... and not sniffing 16:38:54 shepazu: on the latest draft "readonly attribute boolean metaKey" is still missing 16:39:10 DS: I don't know how to specify that UA may specify these things 16:39:43 ... I can add lang that some features may not be supported and UA may do customizations 16:40:09 JS: think the spec should encourage good behaviours 16:40:19 DS: I would like a concrete example, please 16:40:34 JS: I don't have anything to offer now 16:41:07 DS: I would appreciate it Josh, if you would take this to the list 16:42:16 RRSAgent, make minutes 16:42:16 I have made the request to generate http://www.w3.org/2011/01/25-webevents-minutes.html ArtB 16:42:38 When specifying capabilities like touch radius that are not available to all devices/agents, the spec could say that these attributes could represent other user-cotrolled inputs, at the UA's discrection. 16:43:18 MB: I want to talk about capture 16:43:28 ... eg. which elements receive touch events 16:43:50 ... in WK browsers, element that receives touch event 16:44:05 ... continues to receive events even if the input has moved 16:44:19 [ matt believes that touchdown targets effectively are able to manage drag events because they continue to get events ] 16:44:33 DS: yes, I believe that is true 16:44:43 MB: this affects touch enter and leave events 16:45:07 ... if have two simutaneous touch events on different elements, then which one gets event first? 16:45:20 DS: wouldn't you throw 2 events? 16:45:20 s/simutaneous/simultaneous/ 16:45:30 MB: or have one event with a list 16:45:42 DS: I would expect 2 diff events 16:46:07 ... and each event to have both touch points 16:46:21 s/cotrolled/controlled/ 16:46:25 ... target touches get one touch point 16:46:52 ... but in this case there would be two events each with 2 change events and 1 target touches 16:48:05 s/2 change events and 1 target touches/2 touches items, 2 changedTouches items, and 1targetTouches item/ 16:48:19 I have made the request to generate http://www.w3.org/2011/01/25-webevents-minutes.html timeless_w7ip 16:48:36 s/1target/1 target/ 16:48:52 MB: regarding capture, think we need to review some existing impls 16:48:57 ... re touch/cancel event 16:49:05 ... the ED defines 1 narrow case 16:49:16 ... would prefer to make that more impl defined 16:49:37 ... if tracking stops before end, should be able to cancel 16:49:50 DS: I'd like to define as many as we can 16:50:16 ... e.g. must fire when X happens and may fire an event at other times ... 16:50:26 DS: re simuntaneous touches 16:50:41 ... do you think it would be useful to add a timestamp to each touch point? 16:50:49 ... or, would that be useless overhead? 16:50:54 s/simuntaneous/simultaneous/ 16:51:13 ... May want to go thru a list to see when different touches happened 16:51:19 i'm pretty sure some dom events typically do have timestamps 16:51:24 so yes, i think it's vaguely useful 16:51:36 MB: can't they track that info by watching touch up and down events? 16:51:38 DS: yes 16:51:49 MB: so, that would just be for convenience? 16:51:53 DS: yes 16:52:08 MB: ok, so I have no opinion 16:52:18 oh. this is to the touch point as opposed to the touch event? if the event contains the other, then i guess it seems superfluous.. 16:52:30 SM: preventing default behaviour from the UA 16:52:55 DS: I haven't gotten around to that yet 16:53:04 ... will try to get something into the spec before next call 16:53:15 DS: another question - regarding pressure .... 16:53:34 ... what units should we use? 16:53:39 pressure is sometimes from 0..1 16:53:41 ... a scale of 1 to 10 16:53:47 ... an unbounded float 16:53:55 ... should it be relative? 16:54:13 SM: most analog devices use 0 to 1 16:54:32 DS: could be boolean :) 16:54:53 x11 exposes pressure 16:54:59 SM: so far I haven't seen a platform that propagates pressue down to the app 16:55:00 and Qt iirc exposes it 16:55:19 you can get pressure from one of the major windows touchpad vendors if you talk to it 16:55:20 DS: some support exists; can do it with flash 16:55:35 (synaptics) 16:56:10 http://docs.huihoo.com/qt/4.3/widgets-tablet-tabletcanvas-cpp.html is an example of a pressure aware Qt app fwiw 16:56:11 AB: any other urgent questions? We have about 5 mins left 16:56:29 ... anything else Doug? 16:56:50 DS: I will probably look at InkML spec for related stuff 16:57:02 Topic: Any Other Business 16:57:04 http://doc.trolltech.com/4.5/qtabletevent.html#pressure uses 0..1 fwiw 16:57:17 AB: naturally, we want technical discussions to continue on the list 16:57:24 AB: what about a call next week? 16:57:27 http://www.w3.org/TR/InkML/ 16:57:31 DS: I do intend to update the spec 16:57:41 if there were any platforms that use unbounded floats for pressure, it would be easy for UAs to normalize that to a 0..1 range. 16:57:47 ... and we had a bunch of people that couldn't make it today 16:58:12 AB: tentatively have a call next week and that would be Feb 1 16:58:34 ... and it will be canceled if it there is no clear need to have it 16:58:54 [ http://forum.chumby.com/viewtopic.php?id=4107 -- XSPRawTouchscreenEvent ] 16:58:54 AB: thanks again Doug! 16:59:08 ... meeting adjourned 16:59:21 RSSAgent, make minutes 16:59:49 RRSAgent, make minutes 16:59:49 I have made the request to generate http://www.w3.org/2011/01/25-webevents-minutes.html ArtB 17:00:15 shepazu: I have cloned the spec from hg, and will push patches somewhere for any changes I make. 17:02:13 Sangwhan_Moon1: for the beginning, I think it would be a good idea if we emailed the list about proposed changes first 17:02:16 zakim, bye 17:02:16 Zakim has left #webevents 17:02:26 nope 17:02:28 shepazu: will do 17:02:30 RRSAgent, bye 17:02:30 I see no action items