Zoom level badge is displayed in the address bar for default zoom level set to 110%
Categories
(Firefox :: Disability Access, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox72 | --- | unaffected |
firefox73 | --- | verified |
firefox74 | --- | verified |
People
(Reporter: ailea, Assigned: morgan)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
11.78 KB,
image/png
|
Details | |
47 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
Affected versions:
Nightly 74.0a1 (2020-01-20), Beta 73.0b7
Affected platforms:
ALL
Steps:
- Launch Firefox with a new profile and go to about:preferences.
- Under General, go to Zoom section and select 110% value from the "Default zoom" dropdown.
Actual result:
The zoom level badge is displayed next to the url bar.
Expected result:
The zoom level badge should be not displayed in the URL bar for default zoom level. It is displayed only when the default zoom is set to 110%. For any other value the badge is not displayed.
Comment 1•5 years ago
|
||
I'm guessing this is courtesy of double-precision floating value rounding...
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
:gijs you win a prize!
Assignee | ||
Comment 3•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Comment 5•5 years ago
|
||
bugherder |
Comment 6•5 years ago
|
||
This seems like a safe fix, want to request uplift for 73?
Reporter | ||
Comment 7•5 years ago
|
||
Verified - Fixed in latest Nightly build 74.0a1 (Build id: 20200122094859) using Windows 10, Mac OS 10.15 and Ubuntu 18.04
Assignee | ||
Comment 9•5 years ago
|
||
Comment on attachment 9122088 [details]
Bug 1610250: Ensure we compare rounded integer values when setting the hidden attribute of the URL bar's zoom button. r?gijs
Beta/Release Uplift Approval Request
- User impact if declined: Users will see inaccurate behavior in the URL bar; the zoom percentage will remain visible even when the page is scaled to the default zoom level set in preferences.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This patch contains a one line change which involves adding a rounding statement.
- String changes made/needed: N/A
Comment 10•5 years ago
|
||
Comment on attachment 9122088 [details]
Bug 1610250: Ensure we compare rounded integer values when setting the hidden attribute of the URL bar's zoom button. r?gijs
shakes his fist at floating point Approved for 73.0b9.
Comment 11•5 years ago
|
||
bugherder uplift |
Reporter | ||
Comment 12•5 years ago
|
||
Verified - Fixed in latest Beta 73.0b9 (Build id: 20200122212931). I will mark the flags accordingly.
Thanks.
Description
•