This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 22069 - Names for media keys should be organized
Summary: Names for media keys should be organized
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - DOM3 Events (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Travis Leithead [MSFT]
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-17 15:55 UTC by Gary Kacmarcik
Modified: 2013-08-25 18:09 UTC (History)
4 users (show)

See Also:


Attachments

Description Gary Kacmarcik 2013-05-17 15:55:56 UTC
Names for colored media keys
============================

The current names for the colored media function is simply 'Red', 'Green', ...

However, order is important for these keys and that should be reflected in the name. In addition, they should share a common prefix so that they are grouped together and easier to discover.

Instead of Red, Green, Yellow, Blue, Grey and Brown, we should use something like:
   MediaF0Red
   MediaF1Green
   MediaF2Yellow
   MediaF3Blue
   MediaF4Grey
   MediaF5Brown
Comment 1 Olli Pettay 2013-05-17 17:47:24 UTC
Those look really odd names.
Comment 2 Masayuki Nakano 2013-05-17 23:47:43 UTC
Note that Firefox 23 will ship the .key feature with "Red", "Green", "Yellow" and "Blue" key names in this August. If they will be renamed, please do it as soon as possible. Then, we can change them in the first implementation.
Comment 3 Gary Kacmarcik 2013-08-25 18:09:05 UTC
The latest ED has these media keys defined as:

ColorF0Red (VK_COLORED_KEY_0)
ColorF1Green (VK_COLORED_KEY_1)  
ColorF2Yellow (VK_COLORED_KEY_2)
ColorF3Blue (VK_COLORED_KEY_3)
ColorF4Grey (VK_COLORED_KEY_4)
ColorF5Brown (VK_COLORED_KEY_5)

These are based on the virtual key names given to the colored function keys in the media controller spec.