D3E-Key spec allows to define Launch<ApplicaitonName> key names by each implementation. However, we should support only predefined key names. "LaunchWebBrowser", "LaunchCalendar", "LaunchMusicPlayer", "LaunchCalculator", "LaunchScreenSaver", "LaunchMyComputer", "LaunchMediaPlayer", "LaunchSpreadsheet", "LaunchWordProcessor", "LaunchWebCam"
Simply, mapping the key values and native virtual keycodes. Although, these keys may not be exposed to us and web apps actually. But this must be important for Gaia. https://dvcs.w3.org/hg/dom3events/raw-file/tip/html/DOM3Events-key.html#h3_keys-apps
Masayuki Nakano [:masayuki] (he/him)(JST, +0900)(Still struggling with the pain, but becoming better)Assignee
5 years ago
Attachment #8445219 - Flags: review?(nchen) → review+
Comment on attachment 8445219 [details] [diff] [review] Support "LaunchFoo" key values which launches specific application on GTK, Qt, Android and Gonk The AudioMedia keysym for "Launch media collection app" is more common than CD, Video, or Music, and so should be in here. LaunchMusicPlayer, I guess, but perhaps LaunchMediaPlayer - it is not clear.
Attachment #8445219 - Flags: review?(karlt) → review+
(In reply to Karl Tomlinson (needinfo?:karlt) from comment #2) > The AudioMedia keysym for "Launch media collection app" is more common than > CD, Video, or Music, and so should be in here. LaunchMusicPlayer, I guess, > but perhaps LaunchMediaPlayer - it is not clear. Could be also "MediaSelect"... Anyway, the explanation isn't clear... See also https://www.w3.org/Bugs/Public/show_bug.cgi?id=26141
I guess that GDK_AudioMedia's purpose is to launch a file list of multimedia files (and may be able to play it like WMP). So, I map it to "MediaSelect" this mapping is same as Windows. I'll create some environments of Linux on non-virtual machine. Then, I'll research how Linux handles multimedia keyboard's "media player" key.
FYI: I confirmed that: "LaunchApplication1": XF86XK_Documents "LaunchApplication2": XF86XK_Calculater "MediaSelect": XF86XK_Tools on Fedora 20 and Ubuntu 14.04. And they don't handle XF86XK_Documents and XF86XK_Tools. I.e., nothing is launched by pressing the keys.
Attachment #8445760 - Flags: review?(romaxa) → review+
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
You need to log in before you can comment on or make changes to this bug.