/irc-logs / w3c / #webapps / 2014-01-22 / end

Options:

  1. # Session Start: Wed Jan 22 00:00:00 2014
  2. # Session Ident: #webapps
  3. # [00:32] * Joins: jungkees (~jungkees@public.cloak)
  4. # [00:39] * Quits: jungkees (~jungkees@public.cloak) (Ping timeout: 180 seconds)
  5. # [00:49] * Joins: smaug_ (~chatzilla@public.cloak)
  6. # [00:54] * Quits: smaug (~chatzilla@public.cloak) (Ping timeout: 180 seconds)
  7. # [00:54] * smaug_ is now known as smaug
  8. # [01:01] * Quits: smaug (~chatzilla@public.cloak) ("Reconnecting…")
  9. # [01:01] * Joins: smaug (~chatzilla@public.cloak)
  10. # [01:19] * Quits: lmcliste_ (~lmclister@public.cloak) ("")
  11. # [01:52] * Joins: masayuki (~masayuki@public.cloak)
  12. # [02:01] * Joins: garykac (~garykac@public.cloak)
  13. # [02:02] * Joins: kochi_home (~kochi_home@public.cloak)
  14. # [02:03] <kochi_home> morning
  15. # [02:03] <garykac> greetings kochi-san
  16. # [02:03] <garykac> I'm the first one on the teleconf call.
  17. # [02:03] <masayuki> good morning.
  18. # [02:03] <kochi_home> hi Gary
  19. # [02:03] <kochi_home> good morning nakano-san
  20. # [02:04] <garykac> ohayou minna-san
  21. # [02:05] <masayuki> :-D
  22. # [02:07] <garykac> Travis is going to be embarrassed when he dials in and discovers that everyone else got here before he did ^_^
  23. # [02:07] <garykac> We can start going through the bug list.
  24. # [02:07] <garykac> Frankly, I haven't looked at it since December, but I need to start fixing the remaining bugs.
  25. # [02:08] <garykac> Are there any issues in particular that people want to talk about?
  26. # [02:09] <masayuki> I worry about the key name or .key attribute is hard to search in souce code https://www.w3.org/Bugs/Public/show_bug.cgi?id=23943
  27. # [02:09] <masayuki> Additionally, some .code values are same as .key values. E.g., ScrollLock.
  28. # [02:10] <kochi_home> It's a bit away from the spec itself, but I'm concerned about https://code.google.com/p/chromium/issues/detail?id=118639
  29. # [02:10] <kochi_home> > keydown and keyup events do not have proper keyCode (it's always 0)
  30. # [02:10] <kochi_home> on Android
  31. # [02:10] <kochi_home> on Android Chrome.
  32. # [02:12] <kochi_home> Due to the Android input framework, sometimes it's hard to assign a keycode (e.g. backspace) to KeyboardEvent.keyCode
  33. # [02:12] <garykac> Re: 23943, I think it's too late to change the name from 'key' to anything else since there are existing implementations. Although I agree tha the name is unfortunate. Same with 'code'. Sadly the better names like 'keyCode' were already taken.
  34. # [02:12] <kochi_home> People are complaining that the behavior is different from desktop browsers and their web app doesn't work as expected on Android
  35. # [02:13] <garykac> As for the 'key' values, we did clean them up a bit and added prefixes where they made sense.
  36. # [02:13] <garykac> You can't search for all the possible 'key' values since they can be any Unicode string.
  37. # [02:13] * Quits: jsbell (~jsbell@public.cloak) ("There's no place like home...")
  38. # [02:16] <garykac> Re: 118639: We're not addressing any of the 'keyCode' problems. This sounds like a Chrome-specific issue in any case. If Chrome Android acted just like Chrome desktop, then (I think) people wouldn't be complaining.
  39. # [02:16] <masayuki> kochi_home: Gecko always compute keyCode value from VK rather than scan code, doesn't that help to fix the issue? http://mxr.mozilla.org/mozilla-central/source/widget/android/nsWindow.cpp#1275
  40. # [02:17] <kochi_home> masayuki: see comment #102 of the issue above, from "MSAOfficeWebApps", Firefox seems to behave the same (they can't get keycodes for backspace either).
  41. # [02:17] * Joins: lmcliste_ (~lmclister@public.cloak)
  42. # [02:18] <kochi_home> (interestingly, a Microsoft program manager is reporting the issue in Chromium issue tracker :-) )
  43. # [02:19] <kochi_home> masayuki: thanks anyway, I'll look into Chrome code later.
  44. # [02:20] <kochi_home> The problem of backspace is that, some IMEs don't send key event, but they just remove surrounding text.
  45. # [02:20] <kochi_home> So we have to fabricate the backspace key event in that case, if we would have to.
  46. # [02:21] <masayuki> Hmm, I'll check it later.
  47. # [02:22] <kochi_home> Unfortunately (?) Android webview has such an emulation for backspace and developers looks confused that Chrome doesn't work the same way.
  48. # [02:23] <masayuki> garykac: If we would add prefix for key names and code values, it would be great. E.g., web apps can distinguish if a .key value is a printable key's or function key's.
  49. # [02:24] <masayuki> garykac: And perhaps, it can prevent simple mistakes at writing code which handles both .key and .code.
  50. # [02:24] <garykac> We did add a prefix for many of the 'code' values, (eg: 'KeyA' instead of 'A') to remove ambiguity.
  51. # [02:24] <garykac> I don't think we can add prefixes to 'key' at this point.
  52. # [02:24] <garykac> But I understand the concern about the 'key' and 'code' values being the same (eg: for PrintScreen)
  53. # [02:25] * Quits: lmcliste_ (~lmclister@public.cloak) (Ping timeout: 180 seconds)
  54. # [02:25] <garykac> However, I'm not sure that there's any real value in giving them different values.
  55. # [02:25] <garykac> I tried to give the 'code' values different names whenever I could.
  56. # [02:26] <garykac> Some were easy: (like key = ' ' vs. code = 'spacebar')
  57. # [02:27] <garykac> But for CapsLock and Tab and Delete and others, it seems strange to have CapsLock and XxxCapsLock. Would we then need to have XxxSpacebar?
  58. # [02:27] <garykac> Things quickly got ugly.
  59. # [02:27] * Joins: lmcliste_ (~lmclister@public.cloak)
  60. # [02:27] <masayuki> E.g., foo(event.key) and foo(event.code) could cause a bug.
  61. # [02:27] <garykac> True.
  62. # [02:28] <garykac> But they should already for any of the common keys. (eg: key = 'a' or 'A' vs code = 'KeyA')
  63. # [02:28] <garykac> It a relatively small set of keys with specific names that share names between 'key' and 'code'
  64. # [02:30] <garykac> If anyone is checking for PrintScreen (or Tab, or Delete), it probably doesn't matter if they use 'key' or 'code' since those keys don't vary based on keyboard layout.
  65. # [02:30] <masayuki> Ah.
  66. # [02:30] <garykac> (But we should double-check that now that you mention it - we definitely don't want to share names for any keys that change based on layout).
  67. # [02:31] <garykac> If anyone is using 'code' when they should be using 'key' to check for the 'a' key, they will quickly see that it doesn't work they way they expected.
  68. # [02:32] <masayuki> garykac: In Example 24 of current ED, .code is empty for keypress event. Is that intentionally?
  69. # [02:33] <garykac> I don't think so, but let me check.
  70. # [02:34] <masayuki> garykac: And there are no code values for the keys in left side block of Sun keyboard.
  71. # [02:35] <masayuki> I'm not sure if they have specific USB Usage ID, though.
  72. # [02:35] <garykac> We should add the keys for the Sun keyboard. Does 23751 track all the keys that are missing?
  73. # [02:36] <garykac> I might remove the USB usageID - that's just for reference anyway and I'm not sure how useful people find it.
  74. # [02:38] <garykac> re: Example 24. The keypress has an empty 'code' field because it doesn't completely make sense for 'code' to be set since the keypress event is the result of multiple keys (eg: shift + a). We could make it the value of the last key that contributed to the keypress event, but that doesn't seem all that useful.
  75. # [02:38] <masayuki> Bug 23751 should care "legacy" keys :-)
  76. # [02:40] * heycam is now known as heycam|away
  77. # [02:40] <garykac> Which other ones do we need? If you can add to that bug or create a new one that would be great. I don't have a Sun keyboard to test :-(
  78. # [02:40] <garykac> We'd like to cover (almost) every key that can be typed on a modern (or almost modern) keyboard.
  79. # [02:40] <masayuki> Okay, I'll file a bug for Sun keyboard with more information.
  80. # [02:41] <garykac> The only keys I don't want to include are those that cannot be typed on keyboards anymore (eg: old Lisp machine keyboards)
  81. # [02:41] <garykac> masayuki: thanks!
  82. # [02:41] <masayuki> Can I check USB usage ID of them? If it's possible, how?
  83. # [02:41] <garykac> masayuki: just a sec. I'll send a link to the USB doc...
  84. # [02:42] <masayuki> Windows hides the raw code with scan code...
  85. # [02:42] <garykac> http://www.usb.org/developers/devclass_docs/Hut1_12v2.pdf
  86. # [02:42] <garykac> Starting on page 53 is the Keyboard section.
  87. # [02:43] * Quits: lmcliste_ (~lmclister@public.cloak) ("")
  88. # [02:44] <garykac> The keyboard is USB usage page 0x07, but some keys are that found on newer keyboards (like Sleep) can be in the other Usage pages. But we mostly care about 0x07.
  89. # [02:45] <masayuki> I don't understand how to check the actual code of a key...
  90. # [02:46] <garykac> You mean something like hooking up a physical keyboard to a device that will give you the USB code? (because the host OS hides that info)
  91. # [02:49] <garykac> I played around with getting an Arduino to read the raw USB info from a keyboard, but didn't get it to work completely.
  92. # [02:49] <masayuki> Um, I want to check if the Sun specific keys share other keys in typical keyboard layout or not.
  93. # [02:50] <masayuki> Ah, but it should be possieble with scan code of windows or hardware_keycode of GDK, perhaps.
  94. # [02:51] <garykac> MSDN has: http://msdn.microsoft.com/en-us/library/windows/desktop/ms645543(v=vs.85).aspx
  95. # [02:51] <garykac> RawInput mode, which sounds like it might give the raw USB info.
  96. # [02:52] <masayuki> garykac: Oh, thank you. I'll check it.
  97. # [02:52] <garykac> Unless someone has created a translation table, reading the raw data from the keyboard is the only way that I can think of.
  98. # [02:54] <garykac> I think that's all we have for today. We should probably adjourn for now. Should we try meeting next week? or two weeks from now?
  99. # [02:55] <masayuki> BTW, when browser cannot set .code value with unknown key, .code should be empty string? or there is something special code value like "Unidentified"?
  100. # [02:56] <masayuki> Either is okay to me (1 vs 2 weeks from now)
  101. # [02:58] <kochi_home> Travis sent a mail...
  102. # [02:59] <garykac> IIRC, the 'code' should be empty ('') in that case. We should mention that explicitly in the spec, however.
  103. # [02:59] <masayuki> garykac: thanks.
  104. # [03:00] <garykac> OK. So let's try for next week. I'll hopefully have knocked out a few of the bugs and we can discuss matters from there.
  105. # [03:00] <garykac> Thanks.
  106. # [03:00] <kochi_home> Thanks
  107. # [03:00] <garykac> I'll send a copy of this chatlog to the mailing list.
  108. # [03:01] <masayuki> Okay, thank you.
  109. # [03:02] * Quits: garykac (~garykac@public.cloak) ("Page closed")
  110. # [03:02] <masayuki> see you
  111. # [03:02] * Quits: masayuki (~masayuki@public.cloak) ("Page closed")
  112. # [03:02] * Joins: glenn (~gadams@public.cloak)
  113. # [03:11] * Quits: smaug (~chatzilla@public.cloak) (Ping timeout: 180 seconds)
  114. # [03:12] * Quits: kochi_home (~kochi_home@public.cloak) (Client closed connection)
  115. # [03:23] * Joins: smaug (~chatzilla@public.cloak)
  116. # [04:37] * Quits: ArtB (~abarsto@public.cloak) ("Leaving.")
  117. # [04:53] * Quits: smaug (~chatzilla@public.cloak) (Ping timeout: 180 seconds)
  118. # [06:11] * heycam|away is now known as heycam
  119. # [07:48] * Disconnected
  120. # [08:14] * Attempting to rejoin channel #webapps
  121. # [08:14] * Rejoined channel #webapps
  122. # [08:14] * Topic is 'WebApps WG; this channel is logged http://krijnhoetmer.nl/irc-logs/'
  123. # [08:14] * Set by ArtB on Thu Dec 05 14:24:45
  124. # [08:17] * Disconnected
  125. # [09:13] * Attempting to rejoin channel #webapps
  126. # [09:13] * Rejoined channel #webapps
  127. # [09:13] * Topic is 'WebApps WG; this channel is logged http://krijnhoetmer.nl/irc-logs/'
  128. # [09:13] * Set by ArtB on Thu Dec 05 14:24:45
  129. # [09:16] * Disconnected
  130. # [12:44] * Attempting to rejoin channel #webapps
  131. # [12:44] * Rejoined channel #webapps
  132. # [12:44] * Topic is 'WebApps WG; this channel is logged http://krijnhoetmer.nl/irc-logs/'
  133. # [12:44] * Set by ArtB on Thu Dec 05 14:24:45
  134. # [12:47] * Disconnected
  135. # [13:13] * Attempting to rejoin channel #webapps
  136. # [13:13] * Rejoined channel #webapps
  137. # [13:13] * Topic is 'WebApps WG; this channel is logged http://krijnhoetmer.nl/irc-logs/'
  138. # [13:13] * Set by ArtB on Thu Dec 05 14:24:45
  139. # [13:16] * Disconnected
  140. # [16:32] * Attempting to rejoin channel #webapps
  141. # [16:32] * Rejoined channel #webapps
  142. # [16:32] * Topic is 'WebApps WG; this channel is logged http://krijnhoetmer.nl/irc-logs/'
  143. # [16:32] * Set by ArtB on Thu Dec 05 14:24:45
  144. # [17:06] * Joins: lmcliste_ (~lmclister@public.cloak)
  145. # [17:12] * Joins: davidb (~davidb@public.cloak)
  146. # [17:12] * Joins: sicking (~sicking@public.cloak)
  147. # [17:13] * Joins: skddc (~anonymous@public.cloak)
  148. # [17:19] * Quits: Lachy (~Lachy@public.cloak) ("My MacBook Pro has gone to sleep. ZZZzzz…")
  149. # [17:54] * Joins: smaug (~chatzilla@public.cloak)
  150. # [18:00] * Joins: sgalineau (~sgalineau@public.cloak)
  151. # [18:02] * Quits: sicking (~sicking@public.cloak) (sicking)
  152. # [18:04] * Quits: darobin_ (rberjon@public.cloak) (Client closed connection)
  153. # [18:12] * Quits: dom (dom@public.cloak) ("")
  154. # [18:15] * Quits: smaug (~chatzilla@public.cloak) (Ping timeout: 180 seconds)
  155. # [18:29] * Joins: smaug (~chatzilla@public.cloak)
  156. # [18:30] * Joins: tantek (~tantek@public.cloak)
  157. # [18:35] * Joins: jsbell (~jsbell@public.cloak)
  158. # [18:49] * Joins: sicking (~sicking@public.cloak)
  159. # [19:29] * Joins: glenn_ (~gadams@public.cloak)
  160. # [19:30] * Quits: dglazkov_ (~sid4270@public.cloak) (Client closed connection)
  161. # [19:30] * Joins: dglazkov_ (~sid4270@public.cloak)
  162. # [19:33] * Quits: glenn (~gadams@public.cloak) (Ping timeout: 180 seconds)
  163. # [19:34] * Joins: davidb_ (~davidb@public.cloak)
  164. # [19:38] * Quits: davidb (~davidb@public.cloak) (Ping timeout: 180 seconds)
  165. # [19:41] * Quits: davidb_ (~davidb@public.cloak) (Ping timeout: 180 seconds)
  166. # [19:41] * Joins: davidb (~davidb@public.cloak)
  167. # [19:41] * Quits: davidb (~davidb@public.cloak) (Client closed connection)
  168. # [19:41] * Joins: davidb (~davidb@public.cloak)
  169. # [20:05] * Quits: chaals (~Adium@public.cloak) ("Leaving.")
  170. # [20:36] * Quits: skddc (~anonymous@public.cloak) (Ping timeout: 180 seconds)
  171. # [20:46] * Quits: sicking (~sicking@public.cloak) (sicking)
  172. # [20:50] * Joins: sicking (~sicking@public.cloak)
  173. # [20:55] * Joins: darobin (rberjon@public.cloak)
  174. # [20:56] * Quits: darobin (rberjon@public.cloak) (Client closed connection)
  175. # [20:57] * Joins: darobin (rberjon@public.cloak)
  176. # [20:58] * Quits: darobin (rberjon@public.cloak) (Client closed connection)
  177. # [22:04] * Joins: abarsto (~abarsto@public.cloak)
  178. # [22:06] * Quits: ArtB (~abarsto@public.cloak) (Client closed connection)
  179. # [22:06] * Quits: lmcliste_ (~lmclister@public.cloak) (Ping timeout: 180 seconds)
  180. # [22:14] * Joins: lmcliste_ (~lmclister@public.cloak)
  181. # [22:40] * heycam|away is now known as heycam
  182. # [22:50] * Joins: sicking_ (~sicking@public.cloak)
  183. # [22:52] * Quits: sgalineau (~sgalineau@public.cloak) (Client closed connection)
  184. # [22:53] * Quits: sicking (~sicking@public.cloak) (Ping timeout: 180 seconds)
  185. # [22:53] * sicking_ is now known as sicking
  186. # [23:03] * Quits: tantek (~tantek@public.cloak) (tantek)
  187. # [23:06] * Quits: sicking (~sicking@public.cloak) (sicking)
  188. # [23:18] * Joins: davidb_ (~davidb@public.cloak)
  189. # [23:21] * Quits: davidb (~davidb@public.cloak) (Ping timeout: 180 seconds)
  190. # [23:21] * davidb_ is now known as davidb
  191. # [23:35] * Joins: davidb_ (~davidb@public.cloak)
  192. # [23:39] * Quits: davidb (~davidb@public.cloak) (Ping timeout: 180 seconds)
  193. # [23:39] * davidb_ is now known as davidb
  194. # [23:57] * Joins: sicking (~sicking@public.cloak)
  195. # Session Close: Thu Jan 23 00:00:00 2014

The end :)