<?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>38656</bug_id>
          
          <creation_ts>2010-05-06 10:27:37 -0700</creation_ts>
          <short_desc>[GTK] [Qt] editing/selection/shift-click.html fails</short_desc>
          <delta_ts>2015-05-07 16:47:32 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>HTML Editing</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt, QtTriaged</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>45233</dependson>
    
    <dependson>45235</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ojan Vafai">ojan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>chinmaya</cc>
    
    <cc>diegohcg</cc>
    
    <cc>eric</cc>
    
    <cc>gustavo</cc>
    
    <cc>mrobinson</cc>
    
    <cc>ossy</cc>
    
    <cc>tonikitoo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>221787</commentid>
    <comment_count>0</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2010-05-06 10:27:37 -0700</bug_when>
    <thetext>As best I can tell from looking at the test results, it looks like shift+click is getting treated as a regular click. Skipping the test for now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>221791</commentid>
    <comment_count>1</comment_count>
      <attachid>55257</attachid>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2010-05-06 10:32:29 -0700</bug_when>
    <thetext>Created attachment 55257
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>221796</commentid>
    <comment_count>2</comment_count>
      <attachid>55257</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2010-05-06 10:39:24 -0700</bug_when>
    <thetext>Comment on attachment 55257
Patch

Ok, but please follow up with some of the Qt/Gtk folks by email to make sure this is how they&apos;d like this handled.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>221802</commentid>
    <comment_count>3</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2010-05-06 10:42:43 -0700</bug_when>
    <thetext>Committed r58896: &lt;http://trac.webkit.org/changeset/58896&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>221847</commentid>
    <comment_count>4</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2010-05-06 11:36:17 -0700</bug_when>
    <thetext>My intuition says this is related to the fact that GTK+ uses Mac editing behavior by default, but this test is checking the user-agent for Mac-specific strings.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>221938</commentid>
    <comment_count>5</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2010-05-06 13:41:42 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; My intuition says this is related to the fact that GTK+ uses Mac editing
&gt; behavior by default, but this test is checking the user-agent for Mac-specific
&gt; strings.

As best I can tell, that&apos;s not the case here. The test results don&apos;t match windows or mac editing behavior. They match the behavior of doing a regular click.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>221954</commentid>
    <comment_count>6</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2010-05-06 13:57:49 -0700</bug_when>
    <thetext>There are some other bugs with GTK+ EventSender around double-clicks. I have one patch for it and will try to get it ready for review tomorrow. I wouldn&apos;t be surprised if it&apos;s failing both because Qt and GTK+ use the Mac editing style and because of bugs in DRT. I&apos;ll try to follow up when I have a moment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>222309</commentid>
    <comment_count>7</comment_count>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2010-05-07 06:15:26 -0700</bug_when>
    <thetext>Coming from the email contact. I believe Martin is the GTK+ authority of choice for such issues, so I&apos;ll let him handle the case since he&apos;s already on it =D</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>236147</commentid>
    <comment_count>8</comment_count>
    <who name="Antonio Gomes">tonikitoo</who>
    <bug_when>2010-06-09 21:22:08 -0700</bug_when>
    <thetext>test is still failing on Gtk and Qt. Reopening.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>273550</commentid>
    <comment_count>9</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-09-02 13:54:30 -0700</bug_when>
    <thetext>Status?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>274391</commentid>
    <comment_count>10</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2010-09-04 15:23:17 -0700</bug_when>
    <thetext>This patch is failing on GTK+ for two reasons:
1. There is no support in the EventSender for mouseUp and mouseDown modifiers.
2. The test uses the user-agent to figure out the editing style.

I&apos;ll post patches soon.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>274398</commentid>
    <comment_count>11</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2010-09-04 15:52:24 -0700</bug_when>
    <thetext>From a quick look, it appears that number 1 is also an issue with the Qt DRT.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>356406</commentid>
    <comment_count>12</comment_count>
    <who name="Diego Gonzalez">diegohcg</who>
    <bug_when>2011-02-23 14:09:36 -0800</bug_when>
    <thetext>Still reproducible at r79447</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1092853</commentid>
    <comment_count>13</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2015-05-07 16:47:32 -0700</bug_when>
    <thetext>This doesn&apos;t seem to be an issue any longer.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>55257</attachid>
            <date>2010-05-06 10:32:29 -0700</date>
            <delta_ts>2010-09-07 09:38:08 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-38656-20100506103227.patch</filename>
            <type>text/plain</type>
            <size>1793</size>
            <attacher name="Ojan Vafai">ojan</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL0xheW91dFRlc3RzL0NoYW5nZUxvZyBiL0xheW91dFRlc3RzL0NoYW5nZUxv
ZwppbmRleCAyNjk4YjZiYmE0NGM1OTc0NWQwZTQzMGE4ZjRlYWJjZDkxM2ZlZjI0Li5iM2Q2NDA2
MWMwOGU4OWQ3MmQ0MjA1MGRmZjJiOTYyOTQ4ZGY2NTI2IDEwMDY0NAotLS0gYS9MYXlvdXRUZXN0
cy9DaGFuZ2VMb2cKKysrIGIvTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTYgQEAK
KzIwMTAtMDUtMDYgIE9qYW4gVmFmYWkgIDxvamFuQGNocm9taXVtLm9yZz4KKworICAgICAgICBS
ZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBlZGl0aW5nL3NlbGVjdGlvbi9z
aGlmdC1jbGljay5odG1sIGZhaWxzIG9uIEdUSyBhbmQgUVQKKyAgICAgICAgaHR0cHM6Ly9idWdz
LndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTM4NjU2CisKKyAgICAgICAgcjU4ODkyIGFkZGVk
IHRoaXMgdGVzdC4gSXQncyB0aGUgZmlyc3QgdGVzdCBmb3Igc2hpZnQrY2xpY2sgYmVoYXZpb3Is
CisgICAgICAgIHNvIGl0IGV4cG9zZWQgYnVncyBpbiBHVEsvUVQuIFNraXBwaW5nIHRvIGdyZWVu
IHRoZSBib3RzLgorCisgICAgICAgICog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