RESOLVED FIXED 70078
[EFL] Change the behavior of ewk_view_scale_set.
https://bugs.webkit.org/show_bug.cgi?id=70078
Summary [EFL] Change the behavior of ewk_view_scale_set.
Ryuan Choi
Reported 2011-10-13 17:37:15 PDT
As following Comment$6 of Bug 70004, I'd like to remove centering code of ewk_view_scale_set to call Page::setPageScaleFactor without any adjustment. And also, it makes DRT call setPageScaleFactor using this function.
Attachments
Patch (5.24 KB, patch)
2011-10-13 17:54 PDT, Ryuan Choi
no flags
Patch (5.21 KB, patch)
2011-10-13 18:09 PDT, Ryuan Choi
no flags
Patch (5.32 KB, patch)
2011-10-13 18:41 PDT, Ryuan Choi
no flags
Patch (5.38 KB, patch)
2011-10-14 05:40 PDT, Ryuan Choi
no flags
Patch (3.09 KB, patch)
2011-10-22 18:16 PDT, Ryuan Choi
no flags
Patch (2.14 KB, patch)
2011-12-19 16:31 PST, Ryuan Choi
no flags
Ryuan Choi
Comment 1 2011-10-13 17:54:34 PDT
Ryuan Choi
Comment 2 2011-10-13 18:09:27 PDT
Gyuyoung Kim
Comment 3 2011-10-13 18:11:49 PDT
Comment on attachment 110943 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=110943&action=review > Tools/ChangeLog:8 > + Change ewk_view_page_scale which is not merged to ewk_view_scale_set. I don't understand this description. Do you mean DRT use ewk_view_scale_set instead of ewk_view_page_scale ?
Ryuan Choi
Comment 4 2011-10-13 18:27:05 PDT
(In reply to comment #3) > (From update of attachment 110943 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=110943&action=review > > > Tools/ChangeLog:8 > > + Change ewk_view_page_scale which is not merged to ewk_view_scale_set. > > I don't understand this description. Do you mean DRT use ewk_view_scale_set instead of ewk_view_page_scale ? Yes. both are doing same thing - calling setPageScaleFactor. But ewk_view_page_scale is not merged. So I believe that DRT should use ewk_view_scale_set instead of ewk_view_page_scale.
Gyuyoung Kim
Comment 5 2011-10-13 18:28:59 PDT
(In reply to comment #4) > (In reply to comment #3) > > (From update of attachment 110943 [details] [details]) > > View in context: https://bugs.webkit.org/attachment.cgi?id=110943&action=review > > > > > Tools/ChangeLog:8 > > > + Change ewk_view_page_scale which is not merged to ewk_view_scale_set. > > > > I don't understand this description. Do you mean DRT use ewk_view_scale_set instead of ewk_view_page_scale ? > > Yes. both are doing same thing - calling setPageScaleFactor. > But ewk_view_page_scale is not merged. > > So I believe that DRT should use ewk_view_scale_set instead of ewk_view_page_scale. I mean you need to modify the description more clear.
Ryuan Choi
Comment 6 2011-10-13 18:41:07 PDT
Ryuan Choi
Comment 7 2011-10-13 18:45:58 PDT
(In reply to comment #5) > > I mean you need to modify the description more clear. OK, I added the comment little bit more.
Raphael Kubo da Costa (:rakuco)
Comment 8 2011-10-14 04:35:35 PDT
Comment on attachment 110949 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=110949&action=review LGTM once you fix these nitpicks of mine. > Source/WebKit/efl/ChangeLog:9 > + Remove center point basis zoom alignment from ewk_view_scale_set like WebCore > + did. I didn't understand this part: in what SVN revision did WebCore do what? > Tools/ChangeLog:10 > + but ewk_view_page_scale is not merged. I think it is more clear if you say ewk_page_scale is from a patch that was rejected.
Ryuan Choi
Comment 9 2011-10-14 05:40:36 PDT
Ryuan Choi
Comment 10 2011-10-14 05:43:21 PDT
(In reply to comment #8) > (From update of attachment 110949 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=110949&action=review > > LGTM once you fix these nitpicks of mine. > > > Source/WebKit/efl/ChangeLog:9 > > + Remove center point basis zoom alignment from ewk_view_scale_set like WebCore > > + did. > > I didn't understand this part: in what SVN revision did WebCore do what? > > > Tools/ChangeLog:10 > > + but ewk_view_page_scale is not merged. > > I think it is more clear if you say ewk_page_scale is from a patch that was rejected. Sorry, changed comment once more.
Ryuan Choi
Comment 11 2011-10-22 02:04:59 PDT
This is out-dated.
Raphael Kubo da Costa (:rakuco)
Comment 12 2011-10-22 08:35:47 PDT
Can you elaborate why?
Ryuan Choi
Comment 13 2011-10-22 18:16:12 PDT
Ryuan Choi
Comment 14 2011-10-22 18:29:50 PDT
(In reply to comment #12) > Can you elaborate why? Rebased. I closed as "Resolved later" because I just want to investigate more. This bug is still valid for me. I want not to bother you more for this. Thanks.
Raphael Kubo da Costa (:rakuco)
Comment 15 2011-10-22 20:09:43 PDT
Well, the patch as it stands looks good to me. Do you already have something else in mind which you can share with us?
Ryuan Choi
Comment 16 2011-10-22 21:56:00 PDT
(In reply to comment #15) > Well, the patch as it stands looks good to me. Do you already have something else in mind which you can share with us? No. I'll let you know if I have any progress.
Eric Seidel (no email)
Comment 17 2011-12-19 11:14:20 PST
Comment on attachment 112102 [details] Patch OK. rs=me.
Ryuan Choi
Comment 18 2011-12-19 16:31:13 PST
Ryuan Choi
Comment 19 2011-12-19 16:32:34 PST
Comment on attachment 119946 [details] Patch Thank you, Eric.
WebKit Review Bot
Comment 20 2011-12-19 17:13:57 PST
Comment on attachment 119946 [details] Patch Clearing flags on attachment: 119946 Committed r103288: <http://trac.webkit.org/changeset/103288>
WebKit Review Bot
Comment 21 2011-12-19 17:14:03 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.