Closed Bug 787416 Opened 12 years ago Closed 12 years ago

Reader Mode toolbar has layout issues

Categories

(Firefox for Android Graveyard :: Reader View, defect, P1)

ARM
Android
defect

Tracking

(firefox18 verified)

VERIFIED FIXED
Firefox 18
Tracking Status
firefox18 --- verified

People

(Reporter: xti, Assigned: BenWa)

References

Details

(Keywords: regression)

Attachments

(4 files)

Attached image screenshot
Firefox 18.0a1 (2012-08-31)
Device: Galaxy Note
OS: Android 4.0.4

Steps to reproduce:
1. Open Fennec
2. Open http://goo.gl/ycxWw in a tab where Desktop Site option is enabled
3. Tap on Reader Mode icon
4. Tap on the Layout Options button ("Aa")
* If the issue doesn't occur, go forward with the following steps:
5. Exit Reader Mode by tapping the back button
6. Repeat steps 3-4

Expected result:
There are no Reader Mode toolbar issues after steps 4 and 6.

Actual result:
Reader Mode toolbar has layout issues as you can see in the attached screenshot.
Attached image toolbar transparency
Sometimes, after I go to reader mode, when I tap on screen to trigger the reader mode toolbar, it seems to have a high transparency as you can see in this screenshot. However, the buttons are working properly.
Cristian, does this happen in Aurora and/or Beta?
(In reply to Lucas Rocha (:lucasr) from comment #2)
> Cristian, does this happen in Aurora and/or Beta?

On IRC, he said it didn't happen in Aurora. This leads me to believe it may be a regression from bug 785333, but I hope not :( Will wait for the range.
Priority: -- → P1
Attached image Nightly 08/30
I am still not sure about the regression window here. 

On 08/31 is the first bad build where this issue occurs.

On 08/30 Nightly when I tap on Layout options, a black line is triggered just above the Reader Mode toolbar (see attached screenshot). Is it related to this issue? If yes, a possible regression range is: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=418955e7c3a9&tochange=706174d31a02

On 08/29 Nightly, the Reader Mode toolbar is broken and on the 08/28 it's not reproducible at all.

If the issue noticed on 30th is not related, then the possible regression range is: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=706174d31a02&tochange=fcc533f691e9
(In reply to Cristian Nicolae (:xti) from comment #4)
> Created attachment 657826 [details]
> Nightly 08/30
> 
> I am still not sure about the regression window here. 
> 
> On 08/31 is the first bad build where this issue occurs.
> 
> On 08/30 Nightly when I tap on Layout options, a black line is triggered
> just above the Reader Mode toolbar (see attached screenshot). Is it related
> to this issue? If yes, a possible regression range is:
> http://hg.mozilla.org/mozilla-central/
> pushloghtml?fromchange=418955e7c3a9&tochange=706174d31a02
> 
> On 08/29 Nightly, the Reader Mode toolbar is broken and on the 08/28 it's
> not reproducible at all.
> 
> If the issue noticed on 30th is not related, then the possible regression
> range is:
> http://hg.mozilla.org/mozilla-central/
> pushloghtml?fromchange=706174d31a02&tochange=fcc533f691e9

I've seen the black line artifact before layout issues started happening in Nightly so I think they are unrelated.
(In reply to Lucas Rocha (:lucasr) from comment #5)
> 
> I've seen the black line artifact before layout issues started happening in
> Nightly so I think they are unrelated.

Then I will narrow down the 2nd regression range using the tinderbox inbound builds. In this case the build from 08/30 is the last known good build and the one from 08/31 is the first bad build.
Blocks: 751916
I found the problem. My patch in bug 751916 assumes that changing the format of a layer requires us to recreate/invalidate it and this isn't the case. Investigating if it's an assumption we want or if I need to fix my code to copy the image data when changing the format.
Attached patch patchSplinter Review
Follow up to my previous patch. If we change format we invalidate the whole layer instead of trying to support it tile by tile.
Assignee: nobody → bgirard
Status: NEW → ASSIGNED
Attachment #658166 - Flags: review?(joe)
Attachment #658166 - Flags: review?(joe) → review+
Target Milestone: --- → Firefox 18
https://hg.mozilla.org/mozilla-central/rev/9619aab9a050
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
This issue is fixed on the latest Nightly. Closing bug as verified fixed on:

Firefox 18.0a1 (2012-09-10)
Device: Galaxy Note
OS: Android 4.0.4
Status: RESOLVED → VERIFIED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: