<?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>23187</bug_id>
          
          <creation_ts>2009-01-08 10:03:27 -0800</creation_ts>
          <short_desc>[QT] in ChromeClientQt::repaint, view should be updated with the intersected rect, not whole windowRect</short_desc>
          <delta_ts>2009-01-13 12:44:23 -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>WebKit Qt</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</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>Qt</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yongjun Zhang">yongjun.zhang</reporter>
          <assigned_to name="Yongjun Zhang">yongjun.zhang</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>104890</commentid>
    <comment_count>0</comment_count>
    <who name="Yongjun Zhang">yongjun.zhang</who>
    <bug_when>2009-01-08 10:03:27 -0800</bug_when>
    <thetext>In ChromeClientQt::repaint, view should be updated with the intersected rect, not the whole windowRect;

This generally is not a problem for normal viewport setup where viewport size is the same as the qwebview widget size.  However, if we set the viewport size smaller than qwebkit widget, we will see unwanted painting outside the viewport.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104892</commentid>
    <comment_count>1</comment_count>
      <attachid>26525</attachid>
    <who name="Yongjun Zhang">yongjun.zhang</who>
    <bug_when>2009-01-08 10:06:50 -0800</bug_when>
    <thetext>Created attachment 26525
use intersected rect to update the view.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105551</commentid>
    <comment_count>2</comment_count>
      <attachid>26525</attachid>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2009-01-13 12:42:57 -0800</bug_when>
    <thetext>Comment on attachment 26525
use intersected rect to update the view.

Looks good to me, nice catch! I&apos;ll paste the description from the bug into the ChangeLog when landing to make it a bit clearer in the ChangeLog what your fix does.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105554</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2009-01-13 12:44:23 -0800</bug_when>
    <thetext>Landed in r39874</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>26525</attachid>
            <date>2009-01-08 10:06:50 -0800</date>
            <delta_ts>2009-01-13 12:42:57 -0800</delta_ts>
            <desc>use intersected rect to update the view.</desc>
            <filename>qt_clip_paint.patch</filename>
            <type>text/plain</type>
            <size>1212</size>
            <attacher name="Yongjun Zhang">yongjun.zhang</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYktpdC9xdC9DaGFuZ2VMb2cKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gV2ViS2l0L3F0L0NoYW5n
ZUxvZwkocmV2aXNpb24gMzk3MTApCisrKyBXZWJLaXQvcXQvQ2hhbmdlTG9nCSh3b3JraW5nIGNv
cHkpCkBAIC0xLDMgKzEsMTIgQEAKKzIwMDktMDEtMDggIFlvbmdqdW4gWmhhbmcgIDx5b25nanVu
LnpoYW5nQG5va2lhLmNvbT4KKworICAgICAgICBSZXZpZXdlZCBieSBTaW1vbiBIYXVzbWFubgor
ICAgICAgICAKKyAgICAgICAgVXBkYXRlIHdlYnZpZXcgd2l0aCB0aGUgaW50ZXJzZWN0ZWQgcm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bV93ZWJQYWdlLT5yZXBhaW50UmVxdWVzdGVkKHdpbmRv
d1JlY3QpOwogICAgIH0K
</data>
<flag name="review"
          id="12601"
          type_id="1"
          status="+"
          setter="hausmann"
    />
          </attachment>
      

    </bug>

</bugzilla>