<?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>43994</bug_id>
          
          <creation_ts>2010-08-13 15:50:23 -0700</creation_ts>
          <short_desc>[GTK] GTK+ drawing idle starved</short_desc>
          <delta_ts>2010-08-16 10:52:59 -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>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://themaninblue.com/experiment/AnimationBenchmark/canvas/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Gtk</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gustavo Noronha (kov)">gustavo</reporter>
          <assigned_to name="Gustavo Noronha (kov)">gustavo</assigned_to>
          <cc>abarth</cc>
    
    <cc>eric</cc>
    
    <cc>mrobinson</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>264524</commentid>
    <comment_count>0</comment_count>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2010-08-13 15:50:23 -0700</bug_when>
    <thetext>The page at http://themaninblue.com/experiment/AnimationBenchmark/canvas/ is able to starve the idle that is responsible for redrawing in GTK+. We need to further fine tune the priorities we use in our various timeouts.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>264529</commentid>
    <comment_count>1</comment_count>
      <attachid>64383</attachid>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2010-08-13 15:59:24 -0700</bug_when>
    <thetext>Created attachment 64383
proposed fix

This fixes the issue with that site for me, even with the browser under great stress, such as playing flash videos, some chromeexperiments, the &quot;video blow up&quot; demo, and playing http://trailers.apple.com/movies/paramount/ironman2/ironman2-34rgrwt9-tlr2_720p.mov. The priority used is the one GTK+ uses for its redraw idle.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>264777</commentid>
    <comment_count>2</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2010-08-14 17:43:04 -0700</bug_when>
    <thetext>Wow! That was a fast fix. Maybe you should change the priority to GDK_PRIORITY_REDRAW? http://library.gnome.org/devel/gdk/stable/gdk-Events.html#GDK-PRIORITY-REDRAW:CAPS</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>265057</commentid>
    <comment_count>3</comment_count>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2010-08-16 06:12:39 -0700</bug_when>
    <thetext>I could, but then I&apos;d need to add the gdk include to this file, do you think it&apos;s worth it? =)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>265111</commentid>
    <comment_count>4</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2010-08-16 08:12:54 -0700</bug_when>
    <thetext>Hrm. My preference is either the GDK include or a comment explaining where the &quot;+ 20&quot; comes from.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>265154</commentid>
    <comment_count>5</comment_count>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2010-08-16 10:12:01 -0700</bug_when>
    <thetext>I landed this as r65438 adding the include. Thanks for the reviews!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>265162</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2010-08-16 10:52:59 -0700</bug_when>
    <thetext>http://trac.webkit.org/changeset/65438 might have broken SnowLeopard Intel Release (Tests)</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>64383</attachid>
            <date>2010-08-13 15:59:24 -0700</date>
            <delta_ts>2010-08-14 08:10:38 -0700</delta_ts>
            <desc>proposed fix</desc>
            <filename>0001-Fine-tune-priorities.patch</filename>
            <type>text/plain</type>
            <size>1530</size>
            <attacher name="Gustavo Noronha (kov)">gustavo</attacher>
            
              <data encoding="base64">RnJvbSBjZWNmNzYzNTU4OTQzNTVjOTExOWY2ODUwMmI5NGNhMTdiMTliYTU4IE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBHdXN0YXZvIE5vcm9uaGEgU2lsdmEgPGduc0Bnbm9tZS5vcmc+
CkRhdGU6IEZyaSwgMTMgQXVnIDIwMTAgMTk6NTU6NDQgLTAzMDAKU3ViamVjdDogW1BBVENIXSBG
aW5lIHR1bmUgcHJpb3JpdGllcy4KCi0tLQogV2ViQ29yZS9DaGFuZ2VMb2cgICAgICAgICAgICAg
ICAgICAgICAgIHwgICAxMyArKysrKysrKysrKysrCiBXZWJDb3JlL3BsYXRmb3JtL2d0ay9TaGFy
ZWRUaW1lckd0ay5jcHAgfCAgICAyICstCiAyIGZpbGVzIGNoYW5nZWQsIDE0IGluc2VydGlvbnMo
KyksIDEgZGVsZXRpb25zKC0pCgpkaWZmIC0tZ2l0IGEvV2ViQ29yZS9DaGFuZ2VMb2cgYi9XZWJD
b3JlL0NoYW5nZUxvZwppbmRleCA5MzE5MThkLi4yZmRlYmI5IDEwMDY0NAotLS0gYS9XZWJDb3Jl
L0NoYW5nZUxvZworKysgYi9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE2IEBACisyMDEw
LTA4LTEzICBHdXN0YXZvIE5vcm9uaGEgU2lsdmEgIDxndXN0YXZvLm5vcm9uaGFAY29sbGFib3Jh
LmNvLnVrPgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisg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9IGdfdGltZW91dF9hZGRf
ZnVsbChHX1BSSU9SSVRZX0hJR0hfSURMRSArIDIwLCBpbnRlcnZhbEluTVMsIHRpbWVvdXRfY2Is
IDAsIDApOwogfQogCiB2b2lkIHN0b3BTaGFyZWRUaW1lcigpCi0tIAoxLjcuMQoK
</data>
<flag name="review"
          id="52936"
          type_id="1"
          status="+"
          setter="kenneth"
    />
          </attachment>
      

    </bug>

</bugzilla>