Closed
Bug 778489
Opened 11 years ago
Closed 11 years ago
Implement nice transition to Reader Mode
Categories
(Firefox for Android Graveyard :: Reader View, defect, P1)
Tracking
(firefox17 fixed, firefox18 verified)
VERIFIED
FIXED
Firefox 18
People
(Reporter: pretzer, Unassigned)
References
Details
(Whiteboard: ui-responsiveness)
Attachments
(6 files, 1 obsolete file)
68.34 KB,
image/png
|
Details | |
4.80 KB,
patch
|
mfinkle
:
review+
akeybl
:
approval-mozilla-aurora+
akeybl
:
approval-mozilla-beta-
|
Details | Diff | Splinter Review |
6.18 KB,
patch
|
mfinkle
:
review+
akeybl
:
approval-mozilla-aurora+
akeybl
:
approval-mozilla-beta-
|
Details | Diff | Splinter Review |
8.36 KB,
patch
|
mfinkle
:
review+
akeybl
:
approval-mozilla-aurora+
akeybl
:
approval-mozilla-beta-
|
Details | Diff | Splinter Review |
6.34 KB,
patch
|
mfinkle
:
review+
akeybl
:
approval-mozilla-aurora+
akeybl
:
approval-mozilla-beta-
|
Details | Diff | Splinter Review |
1.58 KB,
patch
|
mfinkle
:
review+
akeybl
:
approval-mozilla-aurora+
akeybl
:
approval-mozilla-beta-
|
Details | Diff | Splinter Review |
When entering reader mode the awesomebar content changes from the site's title to the 'about:reader' url while loading the article (see screenshot). Once loading is finished the awesomebar content changes back to the site's title that was visible before. It would be nice if the title could stick while loading reader mode.
Comment 1•11 years ago
|
||
I confirm this bug.
Comment 2•11 years ago
|
||
The transition to reader mode should not feel clunky. I think have proper design for thetransition: not only title and favicon but also for the content area.
Priority: -- → P2
Comment 3•11 years ago
|
||
Renaming bug to cover wider topic of transitioning from page to reader mode. I have a prototype that makes the transition feel much better. What it does: - It doesn't show transitory URL on toolbar when loading - It doesn't show progress spinner before loading reader mode (just like about:home) - It keeps the page title stable on the transition (which makes sense given that reader mode is just a different presentation for the same page) - Fades Reader content in using a quick CSS transition This is subtle enough to not feel overdone and cool enough to feel, well, cool :-) Here's a test build: https://dl.dropbox.com/u/1187037/reader-transition.apk Ian, Madhava, what do you think? I have a kind of hacky patch right now but it shouldn't be hard to clean it up.
Summary: Reader Mode: Awesomebar shows ugly URL while loading the article in reader mode → Implement nice transition to Reader Mode
Comment 4•11 years ago
|
||
Ian, Madhava, feedback is welcome.
Comment 5•11 years ago
|
||
Hi Lucas, I tested it today and it works really well. Actually, the new mode seems to convert the page faster than before, so congratulations for this patch! Do you know when will you merge it? Cheers, Daniel
Comment 6•11 years ago
|
||
(In reply to Daniel Lombraña González from comment #5) > I tested it today and it works really well. Actually, the new mode seems to > convert the page faster than before, so congratulations for this patch! Do > you know when will you merge it? Interesting. This patch shouldn't really affect how fast reader mode starts. It will affect how you perceive the transition from page to reader though. Seems to be working then :-)
Updated•11 years ago
|
Whiteboard: ui-responsiveness
Comment 7•11 years ago
|
||
Maybe it seems to load faster because you do not actually see the transition in the URL bar. I mean, in the previous version when you fired the reader mode, the URL changed, and the spinner or throbber started, then you see the reader version. In this new one you go directly to this, so maybe this could be a possible cause. In any case, thanks a lot for this awesome work! I'm using it almost every day as it makes it really useful to read the web (I'm thinking that it will be "interesting" to have this mode by default to load pages or entire web sites like news papers, so you actually read :-D)
Comment 8•11 years ago
|
||
Attachment #659310 -
Flags: review?(mark.finkle)
Comment 9•11 years ago
|
||
Attachment #659312 -
Flags: review?(mark.finkle)
Comment 10•11 years ago
|
||
Attachment #659313 -
Flags: review?(mark.finkle)
Comment 11•11 years ago
|
||
FYI: I'll be sending the last patch to implement the fade-in animation in about:reader as soon as I figure out a way to work around for what seems to be a graphics/layout bug in Gecko. For now, these patches are self-contained and can be reviewed independently.
Updated•11 years ago
|
Attachment #659310 -
Flags: review?(mark.finkle) → review+
Updated•11 years ago
|
Attachment #659312 -
Flags: review?(mark.finkle) → review+
Comment 12•11 years ago
|
||
Comment on attachment 659313 [details] [diff] [review] Keep title and favicon when entering reader mode More thinking required. I am not in love with having these checks in so many places. Ripe for maintenance issues or breakage.
Comment 13•11 years ago
|
||
Hi again, Lucas, the graphics/layout issue is about a corrupted view in the phone? With the latest available build I have had sometimes an issue where instead of the web page I see broken pixels, like the GPU is not rendering well. Is this the issue you are describing? If not, I'll try to take a screenshot next time and create a new bug about it. Cheers, Daniel
Comment 14•11 years ago
|
||
(In reply to Daniel Lombraña González from comment #13) > Hi again, > > Lucas, the graphics/layout issue is about a corrupted view in the phone? > With the latest available build I have had sometimes an issue where instead > of the web page I see broken pixels, like the GPU is not rendering well. Is > this the issue you are describing? If not, I'll try to take a screenshot > next time and create a new bug about it. Looks like an unrelated issue. Please file a separate bug, thanks!
Comment 15•11 years ago
|
||
Here's a simpler and better approach. The whole state is handled inside Tab. The check in BrowserToolbar's setTitle is inevitable as we sometimes shortcut title changes directly in the toolbar. It's OK to have this check there as the code is now grep-friendly (isEnteringReaderMode public API in Tab) and we have other checks for about: pages there already.
Attachment #659313 -
Attachment is obsolete: true
Attachment #659313 -
Flags: review?(mark.finkle)
Attachment #659700 -
Flags: review?(mark.finkle)
Comment 16•11 years ago
|
||
Comment on attachment 659700 [details] [diff] [review] Keep title and favicon when entering reader mode Much nicer. Thanks.
Attachment #659700 -
Flags: review?(mark.finkle) → review+
Updated•11 years ago
|
Priority: P2 → P1
Comment 17•11 years ago
|
||
Attachment #660077 -
Flags: review?(mark.finkle)
Comment 18•11 years ago
|
||
Attachment #660078 -
Flags: review?(mark.finkle)
Comment 19•11 years ago
|
||
(In reply to Lucas Rocha (:lucasr) from comment #17) > Created attachment 660077 [details] [diff] [review] > Fade Reader content once article is loaded Sorry, patch has wrong commit message. This patch is just about improving the way we handle progress and error messages in the Reader UI. I'll work on the fade in animation in bug 790253.
Updated•11 years ago
|
Attachment #660077 -
Flags: review?(mark.finkle) → review+
Updated•11 years ago
|
Attachment #660078 -
Flags: review?(mark.finkle) → review+
Comment 20•11 years ago
|
||
Pushed: https://hg.mozilla.org/integration/mozilla-inbound/rev/ff9853a03d8e https://hg.mozilla.org/integration/mozilla-inbound/rev/110ae125057f https://hg.mozilla.org/integration/mozilla-inbound/rev/0fb1bb770b63 https://hg.mozilla.org/integration/mozilla-inbound/rev/9e35e2c4b0d2 https://hg.mozilla.org/integration/mozilla-inbound/rev/dfe4be63821b
Comment 21•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/ff9853a03d8e https://hg.mozilla.org/mozilla-central/rev/110ae125057f https://hg.mozilla.org/mozilla-central/rev/0fb1bb770b63 https://hg.mozilla.org/mozilla-central/rev/9e35e2c4b0d2 https://hg.mozilla.org/mozilla-central/rev/dfe4be63821b
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 18
Comment 22•11 years ago
|
||
Comment on attachment 659310 [details] [diff] [review] Use ReaderModeUtils to create about:reader urls [Approval Request Comment] User impact if declined: These patches together greatly improve the experience of entering reader mode. Without them, the user will see some distracting flickering on the URL bar after clicking on the reader mode button. It also improves the perceived performance of the switch. Testing completed (on m-c, etc.): Landed on m-c, no issues found. Risk to taking this patch (and alternatives if risky): Fairly low, only applies to about:reader pages and it shouldn't affect anything else. String or UUID changes made by this patch: None.
Attachment #659310 -
Flags: approval-mozilla-beta?
Attachment #659310 -
Flags: approval-mozilla-aurora?
Comment 23•11 years ago
|
||
Comment on attachment 659312 [details] [diff] [review] Don't show progress when entering about:reader [Approval Request Comment] User impact if declined: These patches together greatly improve the experience of entering reader mode. Without them, the user will see some distracting flickering on the URL bar after clicking on the reader mode button. It also improves the perceived performance of the switch. Testing completed (on m-c, etc.): Landed on m-c, no issues found. Risk to taking this patch (and alternatives if risky): Fairly low, only applies to about:reader pages and it shouldn't affect anything else. String or UUID changes made by this patch: None.
Attachment #659312 -
Flags: approval-mozilla-beta?
Attachment #659312 -
Flags: approval-mozilla-aurora?
Comment 24•11 years ago
|
||
Comment on attachment 659700 [details] [diff] [review] Keep title and favicon when entering reader mode [Approval Request Comment] User impact if declined: These patches together greatly improve the experience of entering reader mode. Without them, the user will see some distracting flickering on the URL bar after clicking on the reader mode button. It also improves the perceived performance of the switch. Testing completed (on m-c, etc.): Landed on m-c, no issues found. Risk to taking this patch (and alternatives if risky): Fairly low, only applies to about:reader pages and it shouldn't affect anything else. String or UUID changes made by this patch: None.
Attachment #659700 -
Flags: approval-mozilla-beta?
Attachment #659700 -
Flags: approval-mozilla-aurora?
Comment 25•11 years ago
|
||
Comment on attachment 660077 [details] [diff] [review] Fade Reader content once article is loaded [Approval Request Comment] User impact if declined: These patches together greatly improve the experience of entering reader mode. Without them, the user will see some distracting flickering on the URL bar after clicking on the reader mode button. It also improves the perceived performance of the switch. Testing completed (on m-c, etc.): Landed on m-c, no issues found. Risk to taking this patch (and alternatives if risky): Fairly low, only applies to about:reader pages and it shouldn't affect anything else. String or UUID changes made by this patch: None.
Attachment #660077 -
Flags: approval-mozilla-beta?
Attachment #660077 -
Flags: approval-mozilla-aurora?
Comment 26•11 years ago
|
||
Comment on attachment 660078 [details] [diff] [review] Fix misc aboutReader.css warnings [Approval Request Comment] User impact if declined: These patches together greatly improve the experience of entering reader mode. Without them, the user will see some distracting flickering on the URL bar after clicking on the reader mode button. It also improves the perceived performance of the switch. Testing completed (on m-c, etc.): Landed on m-c, no issues found. Risk to taking this patch (and alternatives if risky): Fairly low, only applies to about:reader pages and it shouldn't affect anything else. String or UUID changes made by this patch: None.
Attachment #660078 -
Flags: approval-mozilla-beta?
Attachment #660078 -
Flags: approval-mozilla-aurora?
Updated•11 years ago
|
Status: RESOLVED → VERIFIED
status-firefox18:
--- → verified
Comment 27•11 years ago
|
||
Comment on attachment 659310 [details] [diff] [review] Use ReaderModeUtils to create about:reader urls [Triage Comment] Approving for Aurora to get extra testing, but we can wait a bit to take this fix on Beta (go to build is Tuesday).
Attachment #659310 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•11 years ago
|
Attachment #659312 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•11 years ago
|
Attachment #659700 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•11 years ago
|
Attachment #660077 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•11 years ago
|
Attachment #660078 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 28•11 years ago
|
||
Comment on attachment 659310 [details] [diff] [review] Use ReaderModeUtils to create about:reader urls Ok, let's get this in before tomorrow's beta go to build.
Attachment #659310 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Updated•11 years ago
|
Attachment #659312 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Updated•11 years ago
|
Attachment #659312 -
Flags: approval-mozilla-beta+ → approval-mozilla-beta?
Comment 29•11 years ago
|
||
Comment on attachment 659310 [details] [diff] [review] Use ReaderModeUtils to create about:reader urls Just realized that these patches did not get landed to Aurora, removing the beta approvals I started to do. We wanted to see how this would go on Aurora before approving for Beta to ensure no unnecessary risk. Please land this to Aurora right away otherwise we're much less likely to accept it on a later Beta with no Aurora testing window.
Attachment #659310 -
Flags: approval-mozilla-beta+ → approval-mozilla-beta?
Comment 30•11 years ago
|
||
Pushed to aurora: https://hg.mozilla.org/releases/mozilla-aurora/rev/ba05e0e026d8 https://hg.mozilla.org/releases/mozilla-aurora/rev/dc82aa64358c https://hg.mozilla.org/releases/mozilla-aurora/rev/d0a8a8dda952 https://hg.mozilla.org/releases/mozilla-aurora/rev/187904a0cbfd https://hg.mozilla.org/releases/mozilla-aurora/rev/da83e72532da
Comment 31•11 years ago
|
||
Comment on attachment 659310 [details] [diff] [review] Use ReaderModeUtils to create about:reader urls This landed on Aurora too late to evaluate for Beta 4, and we don't take major forward change like this in Beta 5 or Beta 6. Risk to the new feature is enough to put this off till FF17.
Attachment #659310 -
Flags: approval-mozilla-beta? → approval-mozilla-beta-
Updated•11 years ago
|
Attachment #659312 -
Flags: approval-mozilla-beta? → approval-mozilla-beta-
Updated•11 years ago
|
Attachment #659700 -
Flags: approval-mozilla-beta? → approval-mozilla-beta-
Updated•11 years ago
|
Attachment #660077 -
Flags: approval-mozilla-beta? → approval-mozilla-beta-
Updated•11 years ago
|
Attachment #660078 -
Flags: approval-mozilla-beta? → approval-mozilla-beta-
Updated•11 years ago
|
status-firefox17:
--- → fixed
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•