Bug 21118 - Define power management related keys like 'Power'
Summary: Define power management related keys like 'Power'
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - DOM3 Events (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Gary Kacmarcik
QA Contact: public-webapps-bugzilla
Depends on:
Reported: 2013-02-26 07:08 UTC by Masayuki Nakano
Modified: 2013-08-01 08:37 UTC (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Masayuki Nakano 2013-02-26 07:08:20 UTC

In the key name list, 'Power' is defined. However, some platforms support other power management related keys:

GTK              Qt                   Windows
GDK_Standby      Qt::Key_Standby
GDK_PowerDown    Qt::Key_PowerDown
GDK_PowerOff     Qt::Key_Suspend
GDK_WakeUp       Qt::Key_WakeUp
GDK_Sleep        Qt::Key_Sleep        VK_SLEEP
GDK_LogOff       Qt::Key_LogOff
GDK_Suspend      Qt::Key_Suspend
GDK_Hibernate    Qt::Key_Hibernate

I think that D3E should define key names for them.
Comment 1 Masayuki Nakano 2013-02-27 02:25:35 UTC
My suggestions are:

'Standby' as Device
'PowerDown' as Device
'PowerOff' as Device
'WakeUp' as Device
'Sleep' as Device
'LogOff' as General
'Suspend' as Device
'Hibernate' as Device
Comment 2 Gary Kacmarcik 2013-07-31 13:02:57 UTC
Fixed in latest ED

The following keys were added:
* Standby
* PowerDown
* PowerOff
* WakeUp
* Sleep
* LogOff
* Suspend
* Hibernate

I added a note to PowerOff that we should clarify how this key differs from PowerDown.
Comment 3 Masayuki Nakano 2013-08-01 08:37:56 UTC

> XF86keysym.h says PowerDown is to "Deep sleep the system" while PowerOff is to
"Power off system entirely".