Bug 99485 - [EFL][WK2][AC] Url bar should not be covered by the web view
Summary: [EFL][WK2][AC] Url bar should not be covered by the web view
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit EFL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-16 11:30 PDT by Yael
Modified: 2012-10-16 18:42 PDT (History)
7 users (show)

See Also:


Attachments
Patch (5.66 KB, patch)
2012-10-16 12:08 PDT, Yael
no flags Details | Formatted Diff | Diff
Patch (5.67 KB, patch)
2012-10-16 14:15 PDT, Yael
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yael 2012-10-16 11:30:17 PDT
When accelerated compositing is in use, the web view and its surface are not positioned correctly.
A patch is coming.
Comment 1 Yael 2012-10-16 12:08:35 PDT
Created attachment 168992 [details]
Patch
Comment 2 Viatcheslav Ostapenko 2012-10-16 13:27:52 PDT
Comment on attachment 168992 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=168992&action=review

> Source/WebKit2/UIProcess/API/efl/ewk_view.cpp:688
> +        needsNewSurface = priv->evasGlSurface;

Here flag is set under USE(COORDINATED_GRAPHICS) condition.

> Source/WebKit2/UIProcess/API/efl/ewk_view.cpp:707
> +    if (needsNewSurface) {

And here it is used under USE(ACCELERATED_COMPOSITING) .
I would move assignment out of USE(COORDINATED_GRAPHICS) at least.
Comment 3 Yael 2012-10-16 13:30:56 PDT
(In reply to comment #2)
> (From update of attachment 168992 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=168992&action=review
> 
> > Source/WebKit2/UIProcess/API/efl/ewk_view.cpp:688
> > +        needsNewSurface = priv->evasGlSurface;
> 
> Here flag is set under USE(COORDINATED_GRAPHICS) condition.
> 
> > Source/WebKit2/UIProcess/API/efl/ewk_view.cpp:707
> > +    if (needsNewSurface) {
> 
> And here it is used under USE(ACCELERATED_COMPOSITING) .
> I would move assignment out of USE(COORDINATED_GRAPHICS) at least.

I kept the flags as they are now. IMO, we should stick to one flag throughout the code, but I don't think that cleaning out the flags should be part of this patch.
Comment 4 Yael 2012-10-16 14:03:35 PDT
Created https://bugs.webkit.org/show_bug.cgi?id=99503 to fix the flags.
Comment 5 Yael 2012-10-16 14:15:16 PDT
Created attachment 169025 [details]
Patch

Update based on comment #2.
Comment 6 Laszlo Gombos 2012-10-16 18:26:01 PDT
Comment on attachment 169025 [details]
Patch

LGTM, r=me.
Comment 7 WebKit Review Bot 2012-10-16 18:42:10 PDT
Comment on attachment 169025 [details]
Patch

Clearing flags on attachment: 169025

Committed r131543: <http://trac.webkit.org/changeset/131543>
Comment 8 WebKit Review Bot 2012-10-16 18:42:15 PDT
All reviewed patches have been landed.  Closing bug.