<?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>62712</bug_id>
          
          <creation_ts>2011-06-15 03:20:16 -0700</creation_ts>
          <short_desc>[EFL] Remove ewk_view_scrolls_process.</short_desc>
          <delta_ts>2011-06-15 17:46:49 -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 EFL</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</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>
          
          <blocked>62688</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="Ryuan Choi">ryuan.choi</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>antognolli+webkit</cc>
    
    <cc>gyuyoung.kim</cc>
    
    <cc>gyuyoung.kim</cc>
    
    <cc>hyuki.kim</cc>
    
    <cc>leandro</cc>
    
    <cc>lucas.de.marchi</cc>
    
    <cc>rakuco</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>421157</commentid>
    <comment_count>0</comment_count>
    <who name="Ryuan Choi">ryuan.choi</who>
    <bug_when>2011-06-15 03:20:16 -0700</bug_when>
    <thetext>I don&apos;t know ewk_view_tiled too much,
but, I don&apos;t know why _ewk_view_tiled_smart_zoom_set calls ewk_view_scrolls_process.
evas_object_smart_calculate(sd-&gt;self) will do same thing.

I think that ewk_view_scrolls_process looks no needed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>421164</commentid>
    <comment_count>1</comment_count>
      <attachid>97269</attachid>
    <who name="Ryuan Choi">ryuan.choi</who>
    <bug_when>2011-06-15 03:33:58 -0700</bug_when>
    <thetext>Created attachment 97269
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>421235</commentid>
    <comment_count>2</comment_count>
    <who name="Rafael Antognolli">antognolli+webkit</who>
    <bug_when>2011-06-15 06:49:49 -0700</bug_when>
    <thetext>Hello Ryuan,

(In reply to comment #0)
&gt; I don&apos;t know ewk_view_tiled too much,
&gt; but, I don&apos;t know why _ewk_view_tiled_smart_zoom_set calls ewk_view_scrolls_process.
&gt; evas_object_smart_calculate(sd-&gt;self) will do same thing.

It doesn&apos;t do the same thing, since ewk_view_scrolls_process(sd) will call _ewk_view_tiled_smart_scrolls_process(sd), which does more than just processing offset changes in the backing store. It gets scroll requests stored in the view (sr = ewk_view_scroll_requests_get(sd-&gt;_priv, &amp;count)), and add them to the backing store. Then yes, the backing store could process these scroll requests normally.

It also adds these scroll requests, when they are not scrolls of the entire page, as repaint requests, as you can see in the code of this function. Please take a look at it, I think you can&apos;t just remove this call without having more problems later when mixing scroll with zoom.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>421667</commentid>
    <comment_count>3</comment_count>
    <who name="Ryuan Choi">ryuan.choi</who>
    <bug_when>2011-06-15 17:46:20 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; Hello Ryuan,
&gt; 
&gt; (In reply to comment #0)
&gt; &gt; I don&apos;t know ewk_view_tiled too much,
&gt; &gt; but, I don&apos;t know why _ewk_view_tiled_smart_zoom_set calls ewk_view_scrolls_process.
&gt; &gt; evas_object_smart_calculate(sd-&gt;self) will do same thing.
&gt; 
&gt; It doesn&apos;t do the same thing, since ewk_view_scrolls_process(sd) will call _ewk_view_tiled_smart_scrolls_process(sd), which does more than just processing offset changes in the backing store. It gets scroll requests stored in the view (sr = ewk_view_scroll_requests_get(sd-&gt;_priv, &amp;count)), and add them to the backing store. Then yes, the backing store could process these scroll requests normally.
&gt; 
&gt; It also adds these scroll requests, when they are not scrolls of the entire page, as repaint requests, as you can see in the code of this function. Please take a look at it, I think you can&apos;t just remove this call without having more problems later when mixing scroll with zoom.

Hello, rafael.
Thanks for your kindness and I almost understand.
I wish to simplify them, but I understand that this patch is not way go.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>97269</attachid>
            <date>2011-06-15 03:33:58 -0700</date>
            <delta_ts>2011-06-15 17:46:49 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-62712-20110615193347.patch</filename>
            <type>text/plain</type>
            <size>1519</size>
            <attacher name="Ryuan Choi">ryuan.choi</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogODg5MDUKZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJLaXQvZWZs
L0NoYW5nZUxvZyBiL1NvdXJjZS9XZWJLaXQvZWZsL0NoYW5nZUxvZwppbmRleCA3YzBlMWQ4MmY2
MWI1NWVmMzYxMjFjYWYzYTQ2NjVjMTI1NjZkNTE3Li5mZmNiZmIwMzgyMzI5YjQ5ZmJhYzkxMzA1
NWE4MTM4MjZjODgzOTk2IDEwMDc1NQotLS0gYS9Tb3VyY2UvV2ViS2l0L2VmbC9DaGFuZ2VMb2cK
KysrIGIvU291cmNlL1dlYktpdC9lZmwvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTYgQEAKKzIwMTEt
MDYtMTUgIFJ5dWFuIENob2kgIDxyeXVhbi5jaG9pQHNhbXN1bmcuY29tPgorCisgICAgICAgIFJl
dmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIFtFRkxdIFJlbW92ZSBld2tfdmll
d19zY3JvbGxzX3Byb2Nlc3MuCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3df
Y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