Closed Bug 809077 Opened 12 years ago Closed 12 years ago

The memory limit of image decoding will cause the image loading with twinkling

Categories

(Firefox OS Graveyard :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(blocking-basecamp:+)

RESOLVED DUPLICATE of bug 807143
blocking-basecamp +

People

(Reporter: johnshih.bugs, Unassigned)

References

Details

Attachments

(1 file)

With the memory limit of image decoding which is added by
releases-mozilla-aurora: 380077b562e6af7ba12f2375e36cbc8ffc8bf32b
(https://github.com/mozilla/releases-mozilla-aurora/commit/380077b562e6af7ba12f2375e36cbc8ffc8bf32b)

The image loading will encounter the twinkling problem
blocking-basecamp: --- → ?
Blocks: 807143
Blocks: 804055
Blocks: 799711
Can you describe "twinkling"?
I think the basic problem is combining a low limit here with 

  pref("content.image.allow_locking", false);

I don't think we can have both a low limit and locking disabled.  But maybe Joe has another idea.
twinkling = flicker from what I just heard from someone else.
Thanks Naoki, that's exactly what I mean (more precise is "appear and disappear)
and it also cause some other problems (please see depended bugs)
Ian, let's start lowering the visual impact by removing this line

https://github.com/mozilla-b2g/gaia/blob/master/apps/clock/style/clock.css#L7

The diagonal pattern is nice, but it brings more harm than good now...
(In reply to Justin Lebar [:jlebar] from comment #2)
> I think the basic problem is combining a low limit here with 
> 
>   pref("content.image.allow_locking", false);
> 
> I don't think we can have both a low limit and locking disabled.  But maybe
> Joe has another idea.

The two, AFAICT, are orthogonal. The cache limit only applies to those images that are unused.
(In reply to Joe Drew (:JOEDREW! \o/) from comment #6)
> The two, AFAICT, are orthogonal. The cache limit only applies to those
> images that are unused.

The cache limit applies to those images which are discardable.  If image locking is disabled, then all images are discardable, no?
Consolidating this discussion...
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
blocking-basecamp: ? → +
(In reply to Justin Lebar [:jlebar] from comment #7)
> (In reply to Joe Drew (:JOEDREW! \o/) from comment #6)
> > The two, AFAICT, are orthogonal. The cache limit only applies to those
> > images that are unused.
> 
> The cache limit applies to those images which are discardable.  If image
> locking is disabled, then all images are discardable, no?

Sorry, misread which size was changed in the link in comment 0. Ignore me.
Comment on attachment 679519 [details]
Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/6274

To lower the visual impact fot Clock APP.
Modify CSS only.
Attachment #679519 - Flags: review?(timdream+bugs)
(In reply to Ian Liu [:ianliu] from comment #11)
> Comment on attachment 679519 [details]
> Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/6274
> 
> To lower the visual impact fot Clock APP.
> Modify CSS only.

According comment 5, the patch will lower the visual impact and improve visual during launch Clock APP.
Comment on attachment 679519 [details]
Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/6274

This looks good to me, but please file a Gaia bug for that so we could land this in the name of that bug. You would have to update the commit message also. We are not landing a patch with a DUP bug number.

Please write the commit message based on the solution rather than the comment.
Attachment #679519 - Flags: review?(timdream+bugs)
(In reply to Tim Guan-tin Chien [:timdream] (MoCo-TPE) from comment #13)
> Comment on attachment 679519 [details]
> Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/6274
> 
> This looks good to me, but please file a Gaia bug for that so we could land
> this in the name of that bug. You would have to update the commit message
> also. We are not landing a patch with a DUP bug number.
> 
> Please write the commit message based on the solution rather than the
> comment.

Let's do the improvement in Bug 810756 - Lower the visual impact during launch Clock APP.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: