WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
58130
[EFL] Adjust dpi value to viewport computation
https://bugs.webkit.org/show_bug.cgi?id=58130
Summary
[EFL] Adjust dpi value to viewport computation
Gyuyoung Kim
Reported
2011-04-08 03:12:36 PDT
I make a patch, which adjusts dpi to viewport computation. But, I think this patch needs to be considered further. I'd like to listen comments.
Attachments
Prototype Patch
(2.17 KB, patch)
2011-04-08 03:17 PDT
,
Gyuyoung Kim
no flags
Details
Formatted Diff
Diff
Proposed Patch
(2.48 KB, patch)
2011-04-11 05:15 PDT
,
Gyuyoung Kim
kenneth
: review+
Details
Formatted Diff
Diff
Extended Width Page when EWebLauncher is not resized
(66.62 KB, image/png)
2011-04-11 16:24 PDT
,
Gyuyoung Kim
no flags
Details
Modified Patch
(1.32 KB, patch)
2011-04-11 18:47 PDT
,
Gyuyoung Kim
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Gyuyoung Kim
Comment 1
2011-04-08 03:17:32 PDT
Created
attachment 88790
[details]
Prototype Patch
Gyuyoung Kim
Comment 2
2011-04-11 05:15:07 PDT
Created
attachment 88993
[details]
Proposed Patch I adjust dpi value of device to viewport computation. And, I modified that EWebLauncher is also changed by the viewport's width / height.
Kenneth Rohde Christiansen
Comment 3
2011-04-11 05:45:49 PDT
Comment on
attachment 88993
[details]
Proposed Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=88993&action=review
> Tools/EWebLauncher/main.c:275 > + ecore_evas_resize(app->ee, app->viewport.w + 20, app->viewport.h + 20);
Seems unrelated
Gyuyoung Kim
Comment 4
2011-04-11 16:22:30 PDT
(In reply to
comment #3
)
> (From update of
attachment 88993
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=88993&action=review
> > > Tools/EWebLauncher/main.c:275 > > + ecore_evas_resize(app->ee, app->viewport.w + 20, app->viewport.h + 20); > > Seems unrelated
If EWebLauncher size isn't changed, viewport page (e.g, mobile page) is not rendered completely. Because width and height values are changed by dpi value
Gyuyoung Kim
Comment 5
2011-04-11 16:24:08 PDT
Created
attachment 89118
[details]
Extended Width Page when EWebLauncher is not resized
Gyuyoung Kim
Comment 6
2011-04-11 16:26:58 PDT
(In reply to
comment #5
)
> Created an attachment (id=89118) [details] > Extended Width Page when EWebLauncher is not resized
If EWebLauncher is not resized, EWebLauncher just shows part of page. Because, width and height is changed by dpi value. As you know, computeViewportAttributes() changes the values. I think it is better to resize EWebLauncher whenever viewport value is changed. How do you think about it ?
Gyuyoung Kim
Comment 7
2011-04-11 18:47:03 PDT
Created
attachment 89142
[details]
Modified Patch When I resize EWebLauncher's size, page size and device size are changed. Thus, computed viewport width, height values are also more larger because EWebLauncher is more bigger. Eventually, viewport page is not fit to EWebLauncher. Even though there is scroll bar in viewport page, for now, I'd like to add this patch. I'm going to make better solution for this.
WebKit Commit Bot
Comment 8
2011-04-11 20:41:26 PDT
Comment on
attachment 89142
[details]
Modified Patch Clearing flags on attachment: 89142 Committed
r83553
: <
http://trac.webkit.org/changeset/83553
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug