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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>24161</bug_id>
          
          <creation_ts>2009-02-25 09:35:12 -0800</creation_ts>
          <short_desc>listbox-deselect-scroll and listbox-selection-2 have mac specific code</short_desc>
          <delta_ts>2010-01-24 20:37:03 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</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>
          <dependson>33783</dependson>
    
    <dependson>33989</dependson>
    
    <dependson>33994</dependson>
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Scott Violet">sky</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>eric</cc>
    
    <cc>tkent</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>110972</commentid>
    <comment_count>0</comment_count>
    <who name="Scott Violet">sky</who>
    <bug_when>2009-02-25 09:35:12 -0800</bug_when>
    <thetext>At a minimum LayoutTests/fast/forms/listbox-deselect-scroll.html should swap meta/control in the events it created. It would be nice if the cell height wasn&apos;t hard coded either, but looked up from the option.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110973</commentid>
    <comment_count>1</comment_count>
    <who name="Scott Violet">sky</who>
    <bug_when>2009-02-25 09:36:04 -0800</bug_when>
    <thetext>My comment should read, &apos;swap meta/control when run on windows&apos;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111007</commentid>
    <comment_count>2</comment_count>
      <attachid>27978</attachid>
    <who name="Scott Violet">sky</who>
    <bug_when>2009-02-25 12:56:00 -0800</bug_when>
    <thetext>Created attachment 27978
Swaps meta/control when not run on a Mac.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111016</commentid>
    <comment_count>3</comment_count>
      <attachid>27978</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-02-25 13:11:28 -0800</bug_when>
    <thetext>Comment on attachment 27978
Swaps meta/control when not run on a Mac.

This seems like the wrong way to fix this?  Is this test already skipped on Apple&apos;s windows build?  LayoutTests/platform/win/Skipped

Maybe we already have a cleaner way to make these.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111023</commentid>
    <comment_count>4</comment_count>
    <who name="Scott Violet">sky</who>
    <bug_when>2009-02-25 13:39:19 -0800</bug_when>
    <thetext>The consensus seems to be to add a new method to event sending controller that simulates a meta click on a mac and control click on windows.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>181725</commentid>
    <comment_count>5</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2010-01-17 21:15:47 -0800</bug_when>
    <thetext>I&apos;m planing to change the following eventSender functions:
  - eventSender.mouseDown([buttonNumber [, modifiers]])
  - eventSender.mouseUp([buttonNumber [, modifiers]])

The modifiers parameter is similar to modifiers parameter of evenSender.keyDown().  It&apos;s an array of strings.  A string can be
  - a concrete modifier key name;  &quot;ctrlKey&quot;, &quot;shiftKey&quot;, &quot;altKey&quot;, or &quot;metaKey&quot;, or
  - a functional modifier name; &quot;addSelectionKey&quot;, or &quot;rangeSelectionKey&quot;.
 &quot;addSelectionKey&quot; should be an alias of &quot;metaKey&quot; on Mac, &quot;ctrlKey&quot; on Windows.
 &quot;rangeSelectionKey&quot; is an alias of &quot;shiftKey&quot;.

Comments?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>181745</commentid>
    <comment_count>6</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2010-01-17 23:17:22 -0800</bug_when>
    <thetext>(In reply to comment #5)
&gt; I&apos;m planing to change the following eventSender functions:
&gt;   - eventSender.mouseDown([buttonNumber [, modifiers]])
&gt;   - eventSender.mouseUp([buttonNumber [, modifiers]])
&gt; 
&gt; The modifiers parameter is similar to modifiers parameter of
&gt; evenSender.keyDown().  It&apos;s an array of strings.  A string can be
&gt;   - a concrete modifier key name;  &quot;ctrlKey&quot;, &quot;shiftKey&quot;, &quot;altKey&quot;, or
&gt; &quot;metaKey&quot;, or
&gt;   - a functional modifier name; &quot;addSelectionKey&quot;, or &quot;rangeSelectionKey&quot;.
&gt;  &quot;addSelectionKey&quot; should be an alias of &quot;metaKey&quot; on Mac, &quot;ctrlKey&quot; on
&gt; Windows.
&gt;  &quot;rangeSelectionKey&quot; is an alias of &quot;shiftKey&quot;.

I implemented it for Mac and works fine. I uploaded a patch on Bug#33783.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>184146</commentid>
    <comment_count>7</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2010-01-24 20:37:03 -0800</bug_when>
    <thetext>Now both of the tests should work well on non-Mac.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>27978</attachid>
            <date>2009-02-25 12:56:00 -0800</date>
            <delta_ts>2009-02-25 13:11:28 -0800</delta_ts>
            <desc>Swaps meta/control when not run on a Mac.</desc>
            <filename>24161.patch</filename>
            <type>text/plain</type>
            <size>1783</size>
            <attacher name="Scott Violet">sky</attacher>
            
              <data encoding="base64">SW5kZXg6IExheW91dFRlc3RzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBMYXlvdXRUZXN0cy9D
aGFuZ2VMb2cJKHJldmlza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
ICAgICAgPC9zY3JpcHQ+Cg==
</data>
<flag name="review"
          id="13627"
          type_id="1"
          status="-"
          setter="eric"
    />
          </attachment>
      

    </bug>

</bugzilla>