Bug 103745

Summary: [EFL][AC] MiniBrowser starts with a black empty view before painting a web page
Product: WebKit Reporter: Joone Hur <joone>
Component: WebKit EFLAssignee: Joone Hur <joone>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, commit-queue, gyuyoung.kim, kenneth, lucas.de.marchi, mikhail.pozdnyakov, ostap73, rakuco, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 103105, 111543    
Attachments:
Description Flags
Patch
none
Patch
none
Patch
kenneth: review+, commit-queue: commit-queue-
Patch none

Joone Hur
Reported 2012-11-30 07:26:59 PST
Launch MiniBrowser, you will see the black view before loading google.com.
Attachments
Patch (2.73 KB, patch)
2013-03-22 17:40 PDT, Joone Hur
no flags
Patch (2.52 KB, patch)
2013-03-27 09:14 PDT, Joone Hur
no flags
Patch (2.56 KB, patch)
2013-03-27 11:56 PDT, Joone Hur
kenneth: review+
commit-queue: commit-queue-
Patch (2.56 KB, patch)
2013-04-17 13:20 PDT, Joone Hur
no flags
Joone Hur
Comment 1 2013-03-22 17:40:05 PDT
Mikhail Pozdnyakov
Comment 2 2013-03-25 01:43:12 PDT
Comment on attachment 194668 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=194668&action=review > Source/WebKit2/UIProcess/API/efl/EwkView.cpp:554 > + evas_object_show(sd->image); think this snippet could be a static function accepting 'sd' > Source/WebKit2/UIProcess/API/efl/EwkView.h:165 > + bool isAccelerated() { return m_isAccelerated; } We actually do not need this getter, m_isAccelerated is still accessed within the class only
Joone Hur
Comment 3 2013-03-25 16:01:28 PDT
Comment on attachment 194668 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=194668&action=review >> Source/WebKit2/UIProcess/API/efl/EwkView.cpp:554 >> + evas_object_show(sd->image); > > think this snippet could be a static function accepting 'sd' Do you mean the above 3 lines of code could be a staic function? If so, it could be only used 2 times. >> Source/WebKit2/UIProcess/API/efl/EwkView.h:165 >> + bool isAccelerated() { return m_isAccelerated; } > > We actually do not need this getter, m_isAccelerated is still accessed within the class only Okay, I will fix this.
Mikhail Pozdnyakov
Comment 4 2013-03-26 00:25:10 PDT
(In reply to comment #3) > (From update of attachment 194668 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=194668&action=review > > >> Source/WebKit2/UIProcess/API/efl/EwkView.cpp:554 > >> + evas_object_show(sd->image); > > > > think this snippet could be a static function accepting 'sd' > > Do you mean the above 3 lines of code could be a staic function? If so, it could be only used 2 times. yeah, I mean those 3 lines. Think it will improve code-readability.
Joone Hur
Comment 5 2013-03-27 09:14:10 PDT
Kenneth Rohde Christiansen
Comment 6 2013-03-27 09:26:24 PDT
Comment on attachment 195338 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=195338&action=review > Source/WebKit2/UIProcess/API/efl/EwkView.cpp:561 > + // Make Evas objects visible here in order not to paint empty Evas objects with black color. > + showEvasObjects(sd); Isn't it more a showEvasObjectsIfNeeded(), I suppose those methods does nothing if already visible...
Joone Hur
Comment 7 2013-03-27 10:44:18 PDT
(In reply to comment #6) > (From update of attachment 195338 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=195338&action=review > > > Source/WebKit2/UIProcess/API/efl/EwkView.cpp:561 > > + // Make Evas objects visible here in order not to paint empty Evas objects with black color. > > + showEvasObjects(sd); > > Isn't it more a showEvasObjectsIfNeeded(), I suppose those methods does nothing if already visible... showEvasObjectsIfNeeded makes more sense. I will update the patch soon.
Joone Hur
Comment 8 2013-03-27 11:56:26 PDT
Kenneth Rohde Christiansen
Comment 9 2013-03-27 13:20:54 PDT
You need an owner to sign this one off
Benjamin Poulain
Comment 10 2013-04-16 15:02:47 PDT
Comment on attachment 195372 [details] Patch I sign off on this for WebKit2.
WebKit Commit Bot
Comment 11 2013-04-16 16:02:01 PDT
Comment on attachment 195372 [details] Patch Rejecting attachment 195372 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.appspot.com', '--bot-id=webkit-cq-01', 'apply-attachment', '--no-update', '--non-interactive', 195372, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Last 500 characters of output: ource/WebKit2/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. patching file Source/WebKit2/UIProcess/API/efl/EwkView.cpp Hunk #1 succeeded at 130 (offset 2 lines). Hunk #2 FAILED at 559. Hunk #3 succeeded at 1133 (offset -14 lines). 1 out of 3 hunks FAILED -- saving rejects to file Source/WebKit2/UIProcess/API/efl/EwkView.cpp.rej Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Kenneth Rohde Christiansen']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Full output: http://webkit-queues.appspot.com/results/32149
Joone Hur
Comment 12 2013-04-17 13:20:31 PDT
Joone Hur
Comment 13 2013-04-17 13:49:41 PDT
(In reply to comment #12) > Created an attachment (id=198601) [details] > Patch Patch rebased on master
WebKit Commit Bot
Comment 14 2013-04-17 13:50:13 PDT
Comment on attachment 198601 [details] Patch Clearing flags on attachment: 198601 Committed r148633: <http://trac.webkit.org/changeset/148633>
Note You need to log in before you can comment on or make changes to this bug.