Closed
Bug 811844
Opened 12 years ago
Closed 12 years ago
Weird background when hiding Cost Control settings
Categories
(Firefox OS Graveyard :: General, defect, P4)
Tracking
(blocking-basecamp:-)
RESOLVED
FIXED
blocking-basecamp | - |
People
(Reporter: salva, Unassigned)
References
Details
(Keywords: perf)
Attachments
(1 file)
636 bytes,
patch
|
Details | Diff | Splinter Review |
How to reproduce:
1. Open Cost Control application
2. Tap on the gear to open settings
3. Tap on Done to hide settings
Expected:
Settings smoothly goes down and discover the background view
Currently:
Settings goes down discovering a blank screen that suddenly, disappears.
Reporter | ||
Comment 1•12 years ago
|
||
See the patch attached to see how rare is this bug.
Updated•12 years ago
|
Component: General → Gaia
Comment 2•12 years ago
|
||
Can you provide video file or image file for this issue? Thanks.
Flags: needinfo?(salva)
Comment 3•12 years ago
|
||
Can you provide video file or image file for this issue? Thanks.
Reporter | ||
Comment 4•12 years ago
|
||
Excuse me. Here is a video:
http://www.youtube.com/watch?v=CLtmXrNF9Tk
Flags: needinfo?(salva)
Comment 5•12 years ago
|
||
blocking- - this is cleaning up a transition.
Reporter | ||
Comment 6•12 years ago
|
||
What is that? Have you seen how it is solved? I think this is a bug in the platform.
Reporter | ||
Comment 7•12 years ago
|
||
May be you have not seen the patch but the solution is to turn the iframe's opacity to 99%. Why this is happening when the iframe is almost visible and not when it is completely opaque?
This is why I think it is a platform bug.
Flags: needinfo?
Reporter | ||
Comment 8•12 years ago
|
||
May be you have not seen the patch but the solution is to turn the iframe's opacity to 99%. Why this is happening when the iframe is almost visible and not when it is completely opaque?
This is why I think it is a platform bug.
Updated•12 years ago
|
Component: Gaia → Gaia::Cost Control
Comment 9•12 years ago
|
||
Looks like a performance bug, as the background is not being drawn fast enough.
Updated•12 years ago
|
Whiteboard: visual design
Reporter | ||
Comment 10•12 years ago
|
||
Ok, could it be with a opacity of .99% the background is always being repainted. Thanks for the clues.
Reporter | ||
Updated•12 years ago
|
Assignee: nobody → salva
blocking-basecamp: --- → ?
Updated•12 years ago
|
Assignee: salva → nobody
Component: Gaia::Cost Control → General
Comment 11•12 years ago
|
||
Changing the opacity affects changes how we retain Layers for the background graphics. Always retaining Layers will affect memory usage and may not be desirable in this case.
Comment 12•12 years ago
|
||
This would be good to fix but we can't block on it. Marking as a "soft blocker" (P4/blocking-).
blocking-basecamp: ? → -
Priority: -- → P4
Reporter | ||
Comment 13•12 years ago
|
||
The solution patch will land when fixing bug #834696
I've used the following schema to do transitions. The view has the following CSS rules:
.view {
/* non related rules */
transition: transform .3s ease;
}
And when I want to move it to the bottom I use:
.view[data-viewport="bottom"] {
transform: translateY(100%);
}
Then I set or unset the data-viewport property. Setting it, causes the view to be moved to the bottom. Removing it causes the view to return to the original position.
For some reason, when setting the data-viewport to bottom, those behind the view is temporally covered by this strange blank overlay for a 100ms and then disappear. I don't know why but If I change the default position rule to:
.view {
/* non related rules */
transform: translate(0, 0); /* this has been explicitly set */
transition: transform .3s ease;
}
Reporter | ||
Comment 14•12 years ago
|
||
If I change the default position rule to:
.view {
/* non related rules */
transform: translate(0, 0); /* this has been explicitly set */
transition: transform .3s ease;
}
It is solved!
(I don't know what happen with the previous commentary)
Reporter | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•