Closed
Bug 1300532
Opened 8 years ago
Closed 8 years ago
Contextual hint about offline bookmarks is displayed in normal view instead of reader view
Categories
(Firefox for Android Graveyard :: Reader View, defect, P1)
Tracking
(firefox49 wontfix, firefox50 verified, firefox51 fixed, firefox52 verified)
RESOLVED
FIXED
Firefox 51
People
(Reporter: TeoVermesan, Assigned: ahunt)
References
Details
(Keywords: regression, Whiteboard: [MobileAS][TPE-1])
Attachments
(3 files)
148.12 KB,
image/png
|
Details | |
58 bytes,
text/x-review-board-request
|
sebastian
:
review+
|
Details |
58 bytes,
text/x-review-board-request
|
sebastian
:
review+
ritu
:
approval-mozilla-aurora+
lizzard
:
approval-mozilla-beta-
|
Details |
Steps to reproduce: 1. Go to news.google.com and open 3 articles in different tabs 2. Tap the reader view icon from the URL Bar to enter reader view for each page Expected results: - After tapping the third reader view icon, the page enters reader view and a prompt is displayed: "Available offline. Bookmark Reader View items to read them offline. Add to Bookmarks" Actual results: Scenario 1. After tapping the third reader view icon, the page enters reader view. The prompt is not displayed. Tapping the back button, the page exits reader view and the prompt is displayed in normal view. Scenario 2. Tapping the reader view icon, the prompt is displayed. But the page does not enter reader view, it remains in normal view, with the reader view icon in the URL Bar.
Reporter | ||
Updated•8 years ago
|
status-firefox51:
--- → affected
Reporter | ||
Updated•8 years ago
|
Version: 49 Branch → Trunk
Updated•8 years ago
|
Priority: -- → P2
Whiteboard: [TPE-1]
Updated•8 years ago
|
QA Contact: teodora.vermesan
Assignee | ||
Comment 2•8 years ago
|
||
Wow, I realy messed this up (this may have happened during refactoring while switching to showing the prompt the first time readerview is used, instead of after 3 uses?).
Assignee: nobody → ahunt
Flags: needinfo?(ahunt)
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 6•8 years ago
|
||
(In reply to Andrzej Hunt :ahunt from comment #2) > Wow, I realy messed this up (this may have happened during refactoring while > switching to showing the prompt the first time readerview is used, instead > of after 3 uses?). Nope, this landed in the original patch in Bug 1247689 : (.
Status: NEW → ASSIGNED
Updated•8 years ago
|
Priority: P2 → P1
Whiteboard: [TPE-1] → [MobileAS][TPE-1]
Comment 7•8 years ago
|
||
mozreview-review |
Comment on attachment 8788684 [details] Bug 1300532 - Ensure old and new URL are ordered correctly to show prompt when entering ReaderView https://reviewboard.mozilla.org/r/77092/#review75936
Attachment #8788684 -
Flags: review?(s.kaspari) → review+
Comment 8•8 years ago
|
||
mozreview-review |
Comment on attachment 8788683 [details] Bug 1300532 - Post: Rename isEnteringReaderMode()'s parameters for more clarity https://reviewboard.mozilla.org/r/77090/#review75938
Attachment #8788683 -
Flags: review?(s.kaspari) → review+
Pushed by ahunt@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5c2e946c182a Ensure old and new URL are ordered correctly to show prompt when entering ReaderView r=sebastian https://hg.mozilla.org/integration/autoland/rev/ad0d6c3a73e1 Post: Rename isEnteringReaderMode()'s parameters for more clarity r=sebastian
Assignee | ||
Comment 10•8 years ago
|
||
Comment on attachment 8788684 [details] Bug 1300532 - Ensure old and new URL are ordered correctly to show prompt when entering ReaderView Approval Request Comment [Feature/regressing bug #]: Bug 1247689 [User impact if declined]: The reader View bookmarking prompt is shown when exiting reader view instead of entering reader view - this is confusing: this prompt is meant to let users know that they can save reader view content offline, and it should therefore be shown while showing reader view content. [Describe test coverage new/current, TreeHerder]: Manual testing. [Risks and why]: low: ordering of arguments supplied to the method that determines whether we are entering or exiting reader view has been swapped. [String/UUID change made/needed]: none. Note: this prompt is shown as part of a switchboard "experiment", this experiment is only enabled on nightly/aurora/beta, but not on release. It's not a huge problem if this doesn't make it into current beta (uplift is start of next week I believe), but uplifting would allow us to enable the experiment on 49's release if appropriate.
Attachment #8788684 -
Flags: approval-mozilla-beta?
Attachment #8788684 -
Flags: approval-mozilla-aurora?
Comment 11•8 years ago
|
||
I would rather keep this to 50 as we have a lot of last minute churn in 49.
status-firefox50:
--- → affected
Comment 12•8 years ago
|
||
Comment on attachment 8788684 [details] Bug 1300532 - Ensure old and new URL are ordered correctly to show prompt when entering ReaderView Too late for 49, but we could still potentially take this in 50.
Attachment #8788684 -
Flags: approval-mozilla-beta? → approval-mozilla-beta-
Comment 13•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5c2e946c182a https://hg.mozilla.org/mozilla-central/rev/ad0d6c3a73e1
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 51
Hello Teodora, could you please verify this issue is fixed as expected on a latest Nightly build? Thanks!
Flags: needinfo?(teodora.vermesan)
Keywords: regression
Comment on attachment 8788684 [details] Bug 1300532 - Ensure old and new URL are ordered correctly to show prompt when entering ReaderView Fixes a recent regression, Aurora50+
Attachment #8788684 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 16•8 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-aurora/rev/0bfcfe38984f https://hg.mozilla.org/releases/mozilla-aurora/rev/72689dcc8fe2
Reporter | ||
Comment 17•8 years ago
|
||
Tested using: Device: One A2001(Android 6.0) Build: Firefox for Android 52.0a1 (2016-09-19) 1. Load an article from news.google.com 2. Tap the reader view icon from the URL Bar => the page enters reader view and a prompt is displayed: "Available offline. Bookmark Reader View items to read them offline. Add to Bookmarks" 3. Tap the "Add to Bookmarks" button. => the second prompt is displayed: "Read offline. Find your Reader View items in Bookmarks, even offline. Go to Bookmarks". So, verified as fixed on latest Nightly.
status-firefox52:
--- → verified
Flags: needinfo?(teodora.vermesan)
Reporter | ||
Comment 18•8 years ago
|
||
Tested using: Device: One A2001 (Android 6.0) Build: Firefox for Android 50 Beta 1 After tapping the reader view icon from the URL Bar, the page enters reader view and a prompt is displayed: "Available offline. Bookmark Reader View items to read them offline. Add to Bookmarks" Tapping the "Add to Bookmarks" button, the second prompt is displayed: "Read offline. Find your Reader View items in Bookmarks, even offline. Go to Bookmarks".
Reporter | ||
Comment 19•8 years ago
|
||
Tested using: Device: One A2001 (Android 6.0) Build: Firefox for Android 51.0a2 (2016-09-21) After tapping the reader view icon from the URL Bar, the page enters reader view, but no prompt is displayed. If I open the menu and tap the bookmark icon, then "Read offline. Find your Reader View items in Bookmarks, even offline. Go to Bookmarks" prompt is displayed. But the prompt "Available offline. Bookmark Reader View items to read them offline. Add to Bookmarks" is never displayed.
Flags: needinfo?(s.kaspari)
Comment 20•8 years ago
|
||
ahunt, can you look at that ----^ If there's something left to fix then let's move this to a new bug.
Flags: needinfo?(s.kaspari) → needinfo?(ahunt)
Assignee | ||
Comment 21•8 years ago
|
||
It looks like we didn't enable the experiment on aurora (but it is enabled on nightly and beta), that'll need fixing on the switchboard side.
Flags: needinfo?(ahunt)
Comment 22•8 years ago
|
||
https://firefox.settings.services.mozilla.com/v1/buckets/fennec/collections/experiments/records Is this triple-readerview-bookmark-prompt? It should be enabled for "^org.mozilla.fennec|^org.mozilla.firefox_beta$" which includes Nightly (org.mozilla.fennec), Aurora (org.mozilla.fennec_aurora) and Beta (org.mozilla.firefox_beta).
Flags: needinfo?(ahunt)
Updated•8 years ago
|
Iteration: --- → 1.4
Assignee | ||
Comment 23•8 years ago
|
||
(In reply to Sebastian Kaspari (:sebastian) from comment #22) > https://firefox.settings.services.mozilla.com/v1/buckets/fennec/collections/ > experiments/records > > Is this triple-readerview-bookmark-prompt? It should be enabled for > "^org.mozilla.fennec|^org.mozilla.firefox_beta$" which includes Nightly > (org.mozilla.fennec), Aurora (org.mozilla.fennec_aurora) and Beta > (org.mozilla.firefox_beta). Yup. And yes, I'm not sure why that isn't working - in a self-built aurora, the following is returning false (app id is org.mozilla.fennec_ahunt, which in this case is equivalent to aurora) SwitchBoard.isInExperiment(browserApp, Experiments.TRIPLE_READERVIEW_BOOKMARK_PROMPT)
Flags: needinfo?(ahunt)
Assignee | ||
Comment 24•8 years ago
|
||
(In reply to Andrzej Hunt :ahunt from comment #23) > (In reply to Sebastian Kaspari (:sebastian) from comment #22) > > https://firefox.settings.services.mozilla.com/v1/buckets/fennec/collections/ > > experiments/records > > > > Is this triple-readerview-bookmark-prompt? It should be enabled for > > "^org.mozilla.fennec|^org.mozilla.firefox_beta$" which includes Nightly > > (org.mozilla.fennec), Aurora (org.mozilla.fennec_aurora) and Beta > > (org.mozilla.firefox_beta). > > Yup. And yes, I'm not sure why that isn't working - in a self-built aurora, > the following is returning false (app id is org.mozilla.fennec_ahunt, which > in this case is equivalent to aurora) > SwitchBoard.isInExperiment(browserApp, > Experiments.TRIPLE_READERVIEW_BOOKMARK_PROMPT) After some digging, it looks like our regex isn't actually matching, I've filed Bug 1312045 to address that.
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
•