<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>21118</bug_id>
          
          <creation_ts>2013-02-26 07:08:20 +0000</creation_ts>
          <short_desc>Define power management related keys like &apos;Power&apos;</short_desc>
          <delta_ts>2013-08-01 08:37:56 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>HISTORICAL - DOM3 Events</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Masayuki Nakano">masayuki</reporter>
          <assigned_to name="Gary Kacmarcik">garykac</assigned_to>
          <cc>garykac</cc>
    
    <cc>mike</cc>
    
    <cc>www-dom</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>83706</commentid>
    <comment_count>0</comment_count>
    <who name="Masayuki Nakano">masayuki</who>
    <bug_when>2013-02-26 07:08:20 +0000</bug_when>
    <thetext>http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#key-values-list

In the key name list, &apos;Power&apos; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83776</commentid>
    <comment_count>1</comment_count>
    <who name="Masayuki Nakano">masayuki</who>
    <bug_when>2013-02-27 02:25:35 +0000</bug_when>
    <thetext>My suggestions are:

&apos;Standby&apos; as Device
&apos;PowerDown&apos; as Device
&apos;PowerOff&apos; as Device
&apos;WakeUp&apos; as Device
&apos;Sleep&apos; as Device
&apos;LogOff&apos; as General
&apos;Suspend&apos; as Device
&apos;Hibernate&apos; as Device</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91454</commentid>
    <comment_count>2</comment_count>
    <who name="Gary Kacmarcik">garykac</who>
    <bug_when>2013-07-31 13:02:57 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91497</commentid>
    <comment_count>3</comment_count>
    <who name="Masayuki Nakano">masayuki</who>
    <bug_when>2013-08-01 08:37:56 +0000</bug_when>
    <thetext>https://bugzilla.mozilla.org/show_bug.cgi?id=842927#c93

&gt; XF86keysym.h says PowerDown is to &quot;Deep sleep the system&quot; while PowerOff is to
&quot;Power off system entirely&quot;.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>