Closed
Bug 946999
Opened 11 years ago
Closed 11 years ago
[Homescreen] With APZ turned on the homescreen is not rendered until you touch the screen in certain conditions
Categories
(Core :: Panning and Zooming, defect)
Core
Panning and Zooming
Tracking
()
People
(Reporter: vingtetun, Assigned: vingtetun)
References
Details
Attachments
(1 file, 1 obsolete file)
2.09 KB,
patch
|
kats
:
review+
|
Details | Diff | Splinter Review |
With APZ turned on, when I use the device with the lockscreen disabled (via Settings -> Lock -> Lockscreen) and when the device starts the homescreen does not repaint until a finger is touching the screen.
I think I'm seeing a similar issue with the call screen once it has been minimized with the home button and then when it is reopened by either clicking on it or hitting the home button.
Assignee | ||
Comment 1•11 years ago
|
||
Milan, can we fix this one before turning the pref on? It looks very bad on the device, mostly concerned about the call screen.
Flags: needinfo?(milan)
Updated•11 years ago
|
Assignee | ||
Comment 2•11 years ago
|
||
Seems like we are missing a content repaint request at http://mxr.mozilla.org/mozilla-central/source/gfx/layers/ipc/AsyncPanZoomController.cpp#1450
Assignee | ||
Comment 3•11 years ago
|
||
First issue is that we don't check the viewport height at: http://mxr.mozilla.org/mozilla-central/source/gfx/layers/ipc/AsyncPanZoomController.cpp#1455
Second issue seems to be that we are over zealous to ignore paint request in http://mxr.mozilla.org/mozilla-central/source/gfx/layers/ipc/AsyncPanZoomController.cpp#1246
Digging into it to understand why.
Assignee | ||
Comment 4•11 years ago
|
||
Let's be less zealous and more open to viewport changes.
Attachment #8345296 -
Flags: review?(bugmail.mozilla)
Comment 5•11 years ago
|
||
Wrong patch ^
Assignee | ||
Comment 6•11 years ago
|
||
Sigh...
Assignee | ||
Comment 7•11 years ago
|
||
Let's see if this one is correct!
Attachment #8345296 -
Attachment is obsolete: true
Attachment #8345296 -
Flags: review?(bugmail.mozilla)
Attachment #8345328 -
Flags: review?(bugmail.mozilla)
Comment 8•11 years ago
|
||
Comment on attachment 8345328 [details] [diff] [review]
bug946999.patch
Review of attachment 8345328 [details] [diff] [review]:
-----------------------------------------------------------------
r=me with the comments addressed
::: gfx/layers/ipc/AsyncPanZoomController.cpp
@@ +1273,5 @@
> fabsf(mLastPaintRequestMetrics.mScrollOffset.y -
> mFrameMetrics.mScrollOffset.y) < EPSILON &&
> + mFrameMetrics.mZoom == mLastPaintRequestMetrics.mZoom &&
> + mFrameMetrics.mViewport.width == mLastPaintRequestMetrics.mViewport.width &&
> + mFrameMetrics.mViewport.height == mLastPaintRequestMetrics.mViewport.height) {
mViewport has floats, so you should do the fabsf(..) < EPSILON comparison
@@ +1474,1 @@
> needContentRepaint = true;
Add braces here since you're touching the code anyway
Attachment #8345328 -
Flags: review?(bugmail.mozilla) → review+
Assignee | ||
Comment 9•11 years ago
|
||
Comment 10•11 years ago
|
||
Hey Milan, did you really wanted to mark this bug blocking/depend on 942746 - that was a update for shockwave :)
Assignee | ||
Comment 11•11 years ago
|
||
I spent time on this thinking there was a missed UpdateDimensions call but I found that this is actually a Gaia 1.3 regression (bug 949044)
Assignee | ||
Comment 12•11 years ago
|
||
Assignee: bgirard → 21
Status: NEW → ASSIGNED
blocking-b2g: --- → 1.3+
Target Milestone: --- → mozilla28
Updated•11 years ago
|
Blocks: gaia-apzc-2
Updated•11 years ago
|
No longer blocks: gaia-apzc-2
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: mozilla28 → mozilla29
Comment 14•11 years ago
|
||
status-b2g-v1.3:
--- → fixed
status-firefox27:
--- → wontfix
status-firefox28:
--- → fixed
status-firefox29:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•