Bug 144906

Summary: REGRESSION(r176631): [EFL] Fullscreen feature doesn't work correctly on MiniBrowser
Product: WebKit Reporter: Gyuyoung Kim <gyuyoung.kim>
Component: WebKit EFLAssignee: daegyu.lee <daegyu.lee>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, lucas.de.marchi
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 139109    
Bug Blocks:    
Attachments:
Description Flags
screenshot
none
patch none

Gyuyoung Kim
Reported 2015-05-12 00:44:33 PDT
I don't know when this feature doesn't work correctly though, I'm sure we have to fix this problem ASAP. Reproduce site : http://robnyman.github.io/fullscreen/
Attachments
screenshot (60.94 KB, image/png)
2015-05-12 00:48 PDT, Gyuyoung Kim
no flags
patch (1.79 KB, patch)
2015-05-12 22:19 PDT, daegyu.lee@navercorp.com
no flags
Gyuyoung Kim
Comment 1 2015-05-12 00:48:46 PDT
Created attachment 252948 [details] screenshot
daegyu.lee@navercorp.com
Comment 2 2015-05-12 19:39:29 PDT
I've checked that this issue depends on 139109. Without 139109 patch, Fullscreen feature doesn't work correctly on MiniBrowser.
daegyu.lee@navercorp.com
Comment 3 2015-05-12 19:39:55 PDT
Sorry, Without 139109 patch, Fullscreen feature works correctly on MiniBrowser.
Gyuyoung Kim
Comment 4 2015-05-12 19:57:20 PDT
(In reply to comment #3) > Sorry, > Without 139109 patch, Fullscreen feature works correctly on MiniBrowser. Oh, this bug is a regression caused by r176631. Thank you for finding it !. Anyway, Daegyu, will you upload a patch to fix this issue ? If not, I will do.
daegyu.lee@navercorp.com
Comment 5 2015-05-12 22:19:39 PDT
Gyuyoung Kim
Comment 6 2015-05-12 22:47:31 PDT
Comment on attachment 253021 [details] patch IIRC, if m_hadUserInteraction is true, I made this function returns false as below, bool PageViewportController::updateMinimumScaleToFit(bool userInitiatedUpdate) { if (m_viewportSize.isEmpty() || m_contentsSize.isEmpty() || !m_initiallyFitToViewport || m_hadUserInteraction) return false; In this case, however, applyScaleAfterRenderingContents() sometimes needs to be called when m_hadUserInteraction is false. Daegyu, did you run DISABLED_ewk_view_scale_with_fixed_layout() in test_ewk2_view.cpp ? I wonder this patch can fix the disabled API test as well. LGTM. r=me.
daegyu.lee@navercorp.com
Comment 7 2015-05-13 01:27:11 PDT
I've checked the DISABLED_ewk_view_scale_with_fixed_layout() is failed with or without this patch.
Gyuyoung Kim
Comment 8 2015-05-13 01:29:14 PDT
(In reply to comment #7) > I've checked the DISABLED_ewk_view_scale_with_fixed_layout() is failed with > or without this patch. Thank you for the check.
WebKit Commit Bot
Comment 9 2015-05-13 02:15:08 PDT
Comment on attachment 253021 [details] patch Clearing flags on attachment: 253021 Committed r184283: <http://trac.webkit.org/changeset/184283>
WebKit Commit Bot
Comment 10 2015-05-13 02:15:12 PDT
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.