<?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>29676</bug_id>
          
          <creation_ts>2009-09-23 04:21:28 -0700</creation_ts>
          <short_desc>[Qt] QWebPage::setView() changes incorrectly the viewport size of a QWebGraphicsItem</short_desc>
          <delta_ts>2009-09-23 18:02:14 -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>WebKit Qt</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</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>0</everconfirmed>
          <reporter name="J-P Nurmi">jpnurmi</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>149351</commentid>
    <comment_count>0</comment_count>
    <who name="J-P Nurmi">jpnurmi</who>
    <bug_when>2009-09-23 04:21:28 -0700</bug_when>
    <thetext>Prevent QWebPage::setView() from changing the viewport size on the fly in case the view doesn&apos;t actually change. QWebPage::setView() is called upon every QWebGraphicsItem::hoverMoveEvent(), which forces the viewport size to be equal to the size of the whole graphics view. The geometry of a single graphics item rarely matches the geometry of the whole graphics view.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>149353</commentid>
    <comment_count>1</comment_count>
      <attachid>39987</attachid>
    <who name="J-P Nurmi">jpnurmi</who>
    <bug_when>2009-09-23 04:28:28 -0700</bug_when>
    <thetext>Created attachment 39987
QWebPage::setView(): check if the view actually changes</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>149513</commentid>
    <comment_count>2</comment_count>
      <attachid>39987</attachid>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2009-09-23 14:40:49 -0700</bug_when>
    <thetext>Comment on attachment 39987
QWebPage::setView(): check if the view actually changes

r=me. Good catch :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>149598</commentid>
    <comment_count>3</comment_count>
      <attachid>39987</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2009-09-23 18:02:11 -0700</bug_when>
    <thetext>Comment on attachment 39987
QWebPage::setView(): check if the view actually changes

Clearing flags on attachment: 39987

Committed r48693: &lt;http://trac.webkit.org/changeset/48693&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>149599</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2009-09-23 18:02:14 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>39987</attachid>
            <date>2009-09-23 04:28:28 -0700</date>
            <delta_ts>2009-09-23 18:02:11 -0700</delta_ts>
            <desc>QWebPage::setView(): check if the view actually changes</desc>
            <filename>qwebpage.patch</filename>
            <type>text/plain</type>
            <size>1318</size>
            <attacher name="J-P Nurmi">jpnurmi</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYktpdC9xdC9DaGFuZ2VMb2cKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gV2ViS2l0L3F0L0NoYW5n
ZUxvZwkocmV2aXNpb24gNDg2NjkpCisrKyBXZWJLaXQvcXQvQ2hhbmdlTG9nCSh3b3JraW5nIGNv
cHkpCkBAI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Bjb3B5KQpAQCAtMTU1NSw4ICsxNTU1LDEwIEBAIFFX
ZWJIaXN0b3J5ICpRV2ViUGFnZTo6aGlzdG9yeSgpIGNvbnN0CiAqLwogdm9pZCBRV2ViUGFnZTo6
c2V0VmlldyhRV2lkZ2V0ICp2aWV3KQogewotICAgIGQtPnZpZXcgPSB2aWV3OwotICAgIHNldFZp
ZXdwb3J0U2l6ZSh2aWV3ID8gdmlldy0+c2l6ZSgpIDogUVNpemUoMCwgMCkpOworICAgIGlmIChk
LT52aWV3ICE9IHZpZXcpIHsKKyAgICAgICAgZC0+dmlldyA9IHZpZXc7CisgICAgICAgIHNldFZp
ZXdwb3J0U2l6ZSh2aWV3ID8gdmlldy0+c2l6ZSgpIDogUVNpemUoMCwgMCkpOworICAgIH0KIH0K
IAogLyohCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>