Closed
Bug 805666
Opened 13 years ago
Closed 13 years ago
[Clock] Clock takes a long time to repaint
Categories
(Firefox OS Graveyard :: Gaia::Clock, defect, P3)
Tracking
(blocking-basecamp:-)
VERIFIED
FIXED
| blocking-basecamp | - |
People
(Reporter: mossop, Assigned: sjochimek)
References
Details
(Keywords: b2g-testdriver, polish, unagi, Whiteboard: visual design)
The analog clock takes an age to paint itself. You can go in, open an alarm then close it and it takes around 2 seconds to fully draw the clock background.
Hey guys, are we using a CSS radial gradient for the background here?
Unfortunately, that's just about the slowest CSS primitive on ARM devices, and there's nothing we can do about it in the v1 timeframe :(. Pre-rasterizing the background is unfortunately the way we need to go. Ideally with a media query that only does it for low-resolution screens.
Comment 2•13 years ago
|
||
Yes, at current load speeds, I would deem this shippable. I will work with Peter to reduce the effects and increase the load performance.
Assignee: nobody → pla
Comment 3•13 years ago
|
||
(In reply to Patryk Adamczyk [:patryk] UX from comment #2)
> Yes, at current load speeds, I would deem this shippable.
I mean "unshippable" at current speeds.
I would recommend not changing the effect, but just producing a static .png or .jpg for HVGA resolution.
Comment 6•13 years ago
|
||
The following patch will improve the repainting time.
https://github.com/mozilla-b2g/gaia/pull/6082
Use small resolution(320x460) image on Ototro.
It will improve loading time for the background image.
Could we fix the issue by the pull request?
Updated•13 years ago
|
OS: Windows 7 → Gonk (Firefox OS)
Hardware: x86_64 → ARM
Summary: Clock takes a long time to repaint → [Clock] Clock takes a long time to repaint
Comment 7•13 years ago
|
||
The clock app also uses lots of SVG gradients. We have to stop that. Patryk can you supply bitmap images for the various clock parts please?
Comment 8•13 years ago
|
||
Since the pr https://github.com/mozilla-b2g/gaia/pull/6082 was merged,
I'm not sure that the repaint time is accepted or not.
Comment 9•13 years ago
|
||
Gordon and I will strip out the graphics and do a graphic swap next week to help the performance.
Updated•13 years ago
|
Priority: -- → P3
Updated•13 years ago
|
Component: Gaia → Gaia::Clock
Updated•13 years ago
|
Assignee: pla → samuel
Comment 10•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•