<?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>120675</bug_id>
          
          <creation_ts>2013-09-04 04:15:21 -0700</creation_ts>
          <short_desc>[GTK]  ghost cursor when mouse hovers over an image file in a tab</short_desc>
          <delta_ts>2013-09-09 00:30:43 -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>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Linux</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>0</everconfirmed>
          <reporter name="Sindhu S">sindhus</reporter>
          <assigned_to name="Claudio Saavedra">csaavedra</assigned_to>
          <cc>cgarcia</cc>
    
    <cc>commit-queue</cc>
    
    <cc>csaavedra</cc>
    
    <cc>mrobinson</cc>
    
    <cc>zan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>924353</commentid>
    <comment_count>0</comment_count>
    <who name="Sindhu S">sindhus</who>
    <bug_when>2013-09-04 04:15:21 -0700</bug_when>
    <thetext>I have epiphany built from git master today. There is an odd cursor appearing
when mouse pointer is on an image that is opened inside epiphany. If I take a
screenshot, in the screenshot the normal mouse pointer appears.

Epiphany maintainer confirms that this is reproducible on GtkLauncher and MiniBrowser</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>924356</commentid>
    <comment_count>1</comment_count>
    <who name="Claudio Saavedra">csaavedra</who>
    <bug_when>2013-09-04 04:19:42 -0700</bug_when>
    <thetext>Both the zoom-in and the zoom-out cursors seem to be corrupted somehow. I haven&apos;t checked the other custom cursos, though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>925213</commentid>
    <comment_count>2</comment_count>
    <who name="Claudio Saavedra">csaavedra</who>
    <bug_when>2013-09-05 14:23:39 -0700</bug_when>
    <thetext>After the patch in bug 118905 landed there is no &quot;ghost&quot; cursor anymore, but no cursor either.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>925523</commentid>
    <comment_count>3</comment_count>
      <attachid>210725</attachid>
    <who name="Claudio Saavedra">csaavedra</who>
    <bug_when>2013-09-06 06:01:34 -0700</bug_when>
    <thetext>Created attachment 210725
Test case.

I wrote this small test case from the code in CursorGtk.cpp, it shows that the cursor is always corrupted. Something has changed that is rendering the code useless.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>925613</commentid>
    <comment_count>4</comment_count>
    <who name="Claudio Saavedra">csaavedra</who>
    <bug_when>2013-09-06 09:05:11 -0700</bug_when>
    <thetext>So it was a GTK+ bug. I fixed it in GTK+ master already. However there is a method we should be using here to make this simpler. gdk_cursor_new_from_surface(). I&apos;ll cook a patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>925615</commentid>
    <comment_count>5</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2013-09-06 09:10:39 -0700</bug_when>
    <thetext>Is gdk_cursor_new_from_surface in GDK 3.6?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>925620</commentid>
    <comment_count>6</comment_count>
    <who name="Claudio Saavedra">csaavedra</who>
    <bug_when>2013-09-06 09:13:01 -0700</bug_when>
    <thetext>No, only 3.9. But I think we want to use it for hires display support.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>925622</commentid>
    <comment_count>7</comment_count>
    <who name="Claudio Saavedra">csaavedra</who>
    <bug_when>2013-09-06 09:22:20 -0700</bug_when>
    <thetext>If we&apos;re not going to bump to 3.9 for this, then I guess we can close this already.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>926175</commentid>
    <comment_count>8</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2013-09-07 03:44:14 -0700</bug_when>
    <thetext>(In reply to comment #7)
&gt; If we&apos;re not going to bump to 3.9 for this, then I guess we can close this already.

Why? We can use the new code when GTK version is &gt;= 3.9, no?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>926242</commentid>
    <comment_count>9</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2013-09-07 12:00:49 -0700</bug_when>
    <thetext>(In reply to comment #8)
&gt; (In reply to comment #7)
&gt; &gt; If we&apos;re not going to bump to 3.9 for this, then I guess we can close this already.
&gt; 
&gt; Why? We can use the new code when GTK version is &gt;= 3.9, no?

If we are interested in keeping backward compatibility, we can just write a version that targets &lt;= 3.6 and use it conditionally. It&apos;s just a question of whether or not we think it&apos;s useful / makes the code nicer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>926583</commentid>
    <comment_count>10</comment_count>
      <attachid>211011</attachid>
    <who name="Claudio Saavedra">csaavedra</who>
    <bug_when>2013-09-08 23:53:33 -0700</bug_when>
    <thetext>Created attachment 211011
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>926590</commentid>
    <comment_count>11</comment_count>
      <attachid>211011</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-09-09 00:30:41 -0700</bug_when>
    <thetext>Comment on attachment 211011
Patch

Clearing flags on attachment: 211011

Committed r155329: &lt;http://trac.webkit.org/changeset/155329&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>926591</commentid>
    <comment_count>12</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-09-09 00:30:43 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>210725</attachid>
            <date>2013-09-06 06:01:34 -0700</date>
            <delta_ts>2013-09-06 06:02:33 -0700</delta_ts>
            <desc>Test case.</desc>
            <filename>cursor-test.c</filename>
            <type>text/plain</type>
            <size>3126</size>
            <attacher name="Claudio Saavedra">csaavedra</attacher>
            
              <data encoding="base64">I2luY2x1ZGUgPGd0ay9ndGsuaD4KI2luY2x1ZGUgPGNhaXJvL2NhaXJvLmg+CiNpbmNsdWRlIDxn
ZGstcGl4YnVmL2dkay1waXhidWYuaD4KCi8qIE1PWl9DVVJTT1JfWk9PTV9JTiAqLwpzdGF0aWMg
Y29uc3QgdW5zaWduZWQgY2hhciBtb3pfem9vbV9pbl9iaXRzW10gPSB7CiAgMHhmMCwgMHgwMCwg
MHgwMCwgMHgwMCwgMHgwYywgMHgwMywgMHgwMCwgMHgwMCwgMHgwMiwgMHgwNCwgMHgwMCwgMHgw
MCwKICAweDYyLCAweDA0LCAweDAwLCAweDAwLCAweDYxLCAweDA4LCAweDAwLCAweDAwLCAweGY5
LCAweDA5LCAweDAwLCAweDAwLAogIDB4ZjksIDB4MDksIDB4MDAsIDB4MDAsIDB4NjEsIDB4MDgs
IDB4MDAsIDB4MDAsIDB4NjIsIDB4MDQsIDB4MDAsIDB4MDAsCiAgMHgwMiwgMHgwNCwgMHgwMCwg
MHgwMCwgMHgwYywgMHgwZiwgMHgwMCwgMHgwMCwgMHhmMCwgMHgxYywgMHgwMCwgMHgwMCwKICAw
eDAwLCAweDM4LCAweDAwLCAweDAwLCAweDAwLCAweDcwLCAweDAwLCAweDAwLCAweDAwLCAweGUw
LCAweDAwLCAweDAwLAogIDB4MDAsIDB4NDAsIDB4MDAsIDB4MDAsIDB4MDAsIDB4MDAsIDB4MDAs
IDB4MDAsIDB4MDAsIDB4MDAsIDB4MDAsIDB4MDAsCiAgMHgwMCwgMHgwMCwgMHgwMCwgMHgwMCwg
MHgwMCwgMHgwMCwgMHgwMCwgMHgw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rX3NjcmVlbl9nZXRfcm9vdF93aW5kb3cgKGdka19zY3JlZW5fZ2V0X2RlZmF1bHQo
KSksIGRlZmF1bHRfY3Vyc29yKTsKCglndGtfbWFpbigpOwoJcmV0dXJuIDA7Cn0K
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>211011</attachid>
            <date>2013-09-08 23:53:33 -0700</date>
            <delta_ts>2013-09-09 00:30:41 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-120675-20130909095331.patch</filename>
            <type>text/plain</type>
            <size>1842</size>
            <attacher name="Claudio Saavedra">csaavedra</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTU1MTE1CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggNDkzOTJlMDVjMmMzYmQ3
OTY5YzAyN2I5ODkyOTc4Mjc3MzM5MTFiZC4uM2RlOGJmMzA2MDFkNTBkMjU1MDE5OGNmZDFiZDdm
ODQwY2ZkM2E0MSAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE2IEBACisyMDEzLTA5LTA4ICBDbGF1
ZGlvIFNhYXZlZHJhICA8Y3NhYXZlZHJhQGlnYWxpYS5jb20+CisKKyAgICAgICAgW0dUS10gIGdo
b3N0IGN1cnNvciB3aGVuIG1vdXNlIGhvdmVycyBvdmVyIGFuIGltYWdlIGZpbGUgaW4gYSB0YWIK
KyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTEyMDY3NQor
CisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIE5vIG5ldyB0
ZXN0cywgY292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