Closed Bug 1155177 Opened 9 years ago Closed 9 years ago

Reader View controls bar can be zoomed in if 'Request Desktop site' option is enabled

Categories

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

ARM
Android
defect
Not set
normal

Tracking

(firefox37 unaffected, firefox38 unaffected, firefox39 verified, firefox40 verified, fennec39+)

VERIFIED FIXED
Firefox 40
Tracking Status
firefox37 --- unaffected
firefox38 --- unaffected
firefox39 --- verified
firefox40 --- verified
fennec 39+ ---

People

(Reporter: cos_flaviu, Assigned: kats)

References

Details

(Keywords: regression)

Attachments

(2 files)

Environment: 
Device: Asus Transformer Tab (Android 4.2.1);
Build: Nightly 40.0a1 (2015-04-16);

Steps to reproduce:
1. Launch Fennec;
2. Go to a website (e.g.: http://en.wikipedia.org/wiki/Mozilla);
3. Enable 'Request Desktop Site from the options menu;
4. Enable Reader View;
5. Zoom in the reading content.

Expected result:
Reader View can not be zoomed in or out.

Actual result:
Zooming in the page in Reader View will also zoom in the Reader View controls bar.

Notes:
Please check the attached screenshot.
Keywords: regression
Inbound regression window:

Last good revision: 2d5eaa85e9da
First bad revision: 730f2da2e733
Pushlog:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=2d5eaa85e9da&tochange=730f2da2e733
kats, is there any way we can special-case reader view's viewport?
Blocks: 1106905
Flags: needinfo?(bugmail.mozilla)
Probably. What would you like the behaviour here to be - do you always want to render reader mode with a mobile viewport, even if the page was being viewed in desktop mode? Another alternative would be to render the reader view in desktop mode but just disable zooming.
Flags: needinfo?(margaret.leibovic)
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #3)
> Probably. What would you like the behaviour here to be - do you always want
> to render reader mode with a mobile viewport, even if the page was being
> viewed in desktop mode? Another alternative would be to render the reader
> view in desktop mode but just disable zooming.

I think we should just always render reader mode with a mobile viewport, since I don't see any benefit to "desktop mode" for reader view. The fact that reader view is an HTML page should just be an implementation detail - the user shouldn't think of it as part of the web.
Flags: needinfo?(margaret.leibovic)
tracking-fennec: --- → ?
Sounds good.
Assignee: nobody → bugmail.mozilla
Flags: needinfo?(bugmail.mozilla)
Attached patch PatchSplinter Review
Attachment #8593612 - Flags: review?(margaret.leibovic)
Comment on attachment 8593612 [details] [diff] [review]
Patch

Review of attachment 8593612 [details] [diff] [review]:
-----------------------------------------------------------------

Looks fine to me. Thanks for the quick fix!
Attachment #8593612 - Flags: review?(margaret.leibovic) → review+
https://hg.mozilla.org/mozilla-central/rev/6726887ce0d2
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 40
Comment on attachment 8593612 [details] [diff] [review]
Patch

Approval Request Comment
[Feature/regressing bug #]: bug 1106905
[User impact if declined]: when going into reader view while desktop mode is on, makes reader view render in desktop mode and be zoomable which is not nice
[Describe test coverage new/current, TreeHerder]: locally; no automated tests
[Risks and why]: fairly low risk, simple change
[String/UUID change made/needed]: none
Attachment #8593612 - Flags: approval-mozilla-aurora?
Verified as fixed in build 40.0a1 2015-04-20;
Device: Asus Transformer Tab (Android 4.2.1);
Comment on attachment 8593612 [details] [diff] [review]
Patch

Verified on Nightly. Let's get the fix onto Aurora. Aurora+
Attachment #8593612 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Verified as fixed in build 39.0a2 (2015-04-23);
Asus Transformer Tab (Android 4.2.1)
Status: RESOLVED → VERIFIED
tracking-fennec: ? → 39+
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

Creator:
Created:
Updated:
Size: