Closed
Bug 856543
Opened 12 years ago
Closed 12 years ago
[Buri][UI][LOCK] wake-up display response very slow if setting a SD card picture as wallpaper
Categories
(Firefox OS Graveyard :: Gaia::Gallery, defect, P2)
Tracking
(blocking-b2g:tef+, b2g18 fixed, b2g18-v1.0.1 fixed)
People
(Reporter: sync-1, Assigned: rik)
References
Details
(Whiteboard: [madrid] QARegressExclude)
Attachments
(2 files, 1 obsolete file)
+++ This bug was initially created as a clone of Bug #432198 +++
From the Gallery application, set a picture as wallpaper. The picture needs to be large large enough (~ 2 Mb) for the bug to be obvious.
With such wallpaper, everytime the user switches-on the backlight there is a black screen during half a second or more, before the wallpaper is actually displayed.
Note that this issue doesn't happen when the wallpaper is set from the Homescreen application !
The difference between both cases is that setting the wallpaper from the Homescreen seems to rescale and crop the image, whereas the full image is kept when setting the wallpaper from the Gallery. This explains the additional processing time in the latter case.
Expected behavior:
The handset shall be as responsive as possible for a simple action such as switching the backlight on, and there shall be no transcient screen before the wallpaper is displayed. We suggest to store the croppped and scaled-down version of the wallpaper in every case.
DEFECT DESCRIPTION:
REPRODUCING PROCEDURES:
EXPECTED BEHAVIOUR:
ASSOCIATE SPECIFICATION:
TEST PLAN REFERENCE:
TOOLS AND PLATFORMS USED:
USER IMPACT:
REPRODUCING RATE:
For FT PR, Please list reference mobile's behavior:
++++++++++ end of initial bug #432198 description ++++++++++
CONTACT INFO (Name,Phone number):
DEFECT DESCRIPTION:
REPRODUCING PROCEDURES:
EXPECTED BEHAVIOUR:
ASSOCIATE SPECIFICATION:
TEST PLAN REFERENCE:
TOOLS AND PLATFORMS USED:
USER IMPACT:
REPRODUCING RATE:
For FT PR, Please list reference mobile's behavior:
Comment 2•12 years ago
|
||
>
> Note that this issue doesn't happen when the wallpaper is set from the
> Homescreen application !
>
> The difference between both cases is that setting the wallpaper from the
> Homescreen seems to rescale and crop the image, whereas the full image is
> kept when setting the wallpaper from the Gallery. This explains the
> additional processing time in the latter case.
>
David, could we do the same with the background when selected from the gallery?
blocking-b2g: tef? → tef+
Flags: needinfo?(dflanagan)
Updated•12 years ago
|
Assignee: nobody → mbudzynski
Comment 3•12 years ago
|
||
Gallery resizes images when they are picked.
This bug is about the share activity.
Gallery can't resize an image it is going to share because it doesn't know who it will be sharing with.
So the responsibility here is the wallpaper app that handles the share. It should resize the image. (And I'm actually surprised that it doesn't already.)
Flags: needinfo?(dflanagan)
Comment 4•12 years ago
|
||
See also 833738. The fix for this bug should fix that one as well, and if it does, please close both.
Blocks: 833738
Updated•12 years ago
|
status-b2g18:
--- → affected
status-b2g18-v1.0.1:
--- → affected
Comment 6•12 years ago
|
||
Attachment #736102 -
Flags: review?(dflanagan)
Flags: needinfo?(mbudzynski)
Comment 7•12 years ago
|
||
This is also a fix for #833738.
Comment 8•12 years ago
|
||
Comment on attachment 736102 [details]
patch
Michal: I think the math you use for cropping the image does not work for images with unusual aspect ratios. Please see my comments on github, which include a reference to Gallery code that does this same kind of resizing. I think you can find a good working example there.
Sorry this review took so long. Feel free to remind me next time that this is a TEF+ bug and I'll review more quickly!
Attachment #736102 -
Flags: review?(dflanagan) → review-
Assignee | ||
Comment 9•12 years ago
|
||
Stealing this as Michal is on holidays.
Assignee: mbudzynski → anthony
Updated•12 years ago
|
Whiteboard: [status: needs LOE estimate]
Assignee | ||
Comment 10•12 years ago
|
||
Pointer to Github pull-request
Assignee | ||
Updated•12 years ago
|
Attachment #738410 -
Flags: review?(dflanagan)
Assignee | ||
Updated•12 years ago
|
Attachment #736102 -
Attachment is obsolete: true
Assignee | ||
Updated•12 years ago
|
Whiteboard: [status: needs LOE estimate]
Updated•12 years ago
|
Whiteboard: [madrid]
Assignee | ||
Comment 11•12 years ago
|
||
Comment on attachment 738410 [details]
Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/9230
Redirecting the review to a european based reviewer.
Attachment #738410 -
Flags: review?(dflanagan) → review?(dale)
Updated•12 years ago
|
Target Milestone: --- → Madrid (19apr)
Comment 12•12 years ago
|
||
Comment on attachment 738410 [details]
Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/9230
Sorry for the delay, its working great, vivien has some comments in there as well as me, since addressing Viviens means a bit of a change ill clear the review and retest etc asap when the follow up patch comes
Attachment #738410 -
Flags: review?(dale)
Assignee | ||
Updated•12 years ago
|
Attachment #738410 -
Flags: review?(dale)
Comment 13•12 years ago
|
||
Comment on attachment 738410 [details]
Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/9230
Merged in: https://github.com/mozilla-b2g/gaia/commit/909cf502ada9de6f16443ef873d91f6b2b05c8fa
Forgot to remember to ask that the commit message be changed, but too late now, apologies
Attachment #738410 -
Flags: review?(dale) → review+
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 14•12 years ago
|
||
Followup cause I broke the linter tests :(
Both needs uplifting.
https://github.com/mozilla-b2g/gaia/commit/d763a4d81be710ede9c5fc43482759f6c2d523e0
Comment 15•12 years ago
|
||
Uplifted d763a4d81be710ede9c5fc43482759f6c2d523e0 to:
v1-train: 89e8d8e75bbd41e13c8da134daa289ba0ea89be8
v1.0.1: dea32b2268bdf0ac172f42ec52f29bc4d5a9eee4
Comment 16•12 years ago
|
||
Verified issue fixed on
Inari Build ID: 20130429070204
Kernel Date: Feb 21
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/45aa5ba0ed53
Gaia: cf2d4136f0ebc66039637fdbeb72ed184dfbc0f2
and on
Leo Build ID: 20130426070204
Kernel Date: Mar 15
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/6c2493de1441
Gaia: c9046a7acef33328977840176ff5574720d2c74c
When User sets a picture as wallpaper from the SD card the picture responds instantly
You need to log in
before you can comment on or make changes to this bug.
Description
•