Closed Bug 951259 Opened 11 years ago Closed 10 years ago

[B2G][Gallery] Screen goes black when scrolling through the gallery with APZ turned on

Categories

(Core :: Panning and Zooming, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 942750
blocking-b2g 1.3+
Tracking Status
b2g-v1.2 --- unaffected
b2g-v1.3 --- affected

People

(Reporter: KTucker, Unassigned)

Details

(Whiteboard: [apz_testrun])

Attachments

(3 files)

Description:
Parts of the screen appear black when scrolling through the gallery. This only occurs when APZ is turned on.

Repro Steps:
1)  Updated Buri to Build ID: 20131216140918
2)  Ensure the device has a lot of pictures saved in the gallery.
3)  Turn on APZ in developer settings.
4)  Tap on the "Gallery" app.
5)  Keep scrolling up and down through the thumbnails until encountering the issue.  

Actual:
Parts of the screen go black when scrolling through the thumbnails in the gallery when APZ is turned on.

Expected:
All thumbnails appear correctly on the screen when the user is scrolling through all their pictures in the gallery. 

Environmental Variables
Device: Buri v 1.3.0 Mozilla RIL 
Build ID: 20131216140918
Gecko: 55b75ce2263e7d2a8cbfdabc7e5206d9caa89f98/rev/
Gaia: 504cf9a988cd84760b4040706ccc41e508a97fd2
Platform Version: 28.0a2

Notes:
Repro frequency: 100%
See attached: video, logcat
This issue does not occur on Buri v 1.2.0 Mozilla RIL

Environmental Variables
Device: Buri v 1.2.0 Mozilla RIL
Build ID: 20131213004002
Gecko: http://hg.mozilla.org/releases/mozilla-b2g26_v1_2/rev/a2b69b561d9b
Gaia: 1aca7c4860e39b1a9969807d335dcf9f070ea9b3
Platform Version: 26.0

The screen does not go black when scrolling through the thumbnails in the gallery.
This is a duplicate of bug 942750. Basically for the moment you will see a lot of {{background-color}} flashing until this bug is resolved. This is especially noticeable on the gallery app since it is a bit more expensive to redraw it.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
(In reply to Vivien Nicolas (:vingtetun) (:21) from comment #4)
> This is a duplicate of bug 942750. Basically for the moment you will see a
> lot of {{background-color}} flashing until this bug is resolved. This is
> especially noticeable on the gallery app since it is a bit more expensive to
> redraw it.
> 
> *** This bug has been marked as a duplicate of bug 942750 ***

Talking with kats - these are separate problems actually. bug 942750 deals with checkerboarding, while this bug deals with low memory problems.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
blocking-b2g: --- → 1.3+
Component: Gaia::Gallery → Panning and Zooming
Product: Firefox OS → Core
Blocks: gaia-apzc
Adding video for typical stutters found in gallery scroll
(In reply to Jason Smith [:jsmith] from comment #6)
> (In reply to Vivien Nicolas (:vingtetun) (:21) from comment #4)
> > This is a duplicate of bug 942750. Basically for the moment you will see a
> > lot of {{background-color}} flashing until this bug is resolved. This is
> > especially noticeable on the gallery app since it is a bit more expensive to
> > redraw it.
> > 
> > *** This bug has been marked as a duplicate of bug 942750 ***
> 
> Talking with kats - these are separate problems actually. bug 942750 deals
> with checkerboarding, while this bug deals with low memory problems.

Really? I'm actually very surprised because I see this black behavior on my phone as well and by tweaking the rendering heuristics to do more pre-rendering (and consume more memory) the issue goes away.
I'll put needinfo on kats to explain this more.
Flags: needinfo?(bugmail.mozilla)
I looked through all the videos and descriptions again. There are definitely two different issues but I may have misspoke in bug 957925 comment 10. So:

bug 951259 comment 0 - could be either
bug 951259 comment 2 - looks like checkerboarding
bug 951259 comment 3 - has pmem errors, looks like OOM
bug 951259 comment 7 - looks like checkerboarding

I think the video in comment 2 is the most important thing here, so I'm going to classify bug 951259 as checkerboarding and dupe it back to 942750. Sorry for the confusion here.

Also for completeness:

bug 942750 comment 0 - sounds like checkerboarding
bug 942750 comment 9 - sounds like checkerboarding + some other issue
bug 942750 comment 19 - looks more like OOM than checkerboarding but it may be something else, since we shouldn't OOM on something that small

We'll use bug 942750 to track the checkerboarding problems, and I will open a new bug for the "not moving" issue that naoki pointed out in bug 942750 comment 9. I have seen this as well the first time I open the settings app on the Peak.

bug 957925 comment 0 - could be either
bug 957925 comment 4 - could be either
bug 957925 comment 6 - OOM issues

So I'm going to reopen bug 957925 and make it track OOM problems.
Status: REOPENED → RESOLVED
Closed: 11 years ago10 years ago
Flags: needinfo?(bugmail.mozilla)
Resolution: --- → DUPLICATE
No longer blocks: gaia-apzc
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: