Please indicate unit of Margin.
Categories
(Toolkit :: Printing, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox82 | --- | unaffected |
firefox83 | --- | wontfix |
firefox84 | --- | wontfix |
firefox85 | --- | verified |
firefox86 | --- | verified |
People
(Reporter: alice0775, Assigned: sfoster)
References
Details
(Keywords: intl, nightly-community, Whiteboard: [print2020_v85])
Attachments
(2 files, 4 obsolete files)
Steps to reproduce:
- Ctrl+P > more settings > choose Custom of Margins dropdown
Actual results:
unit does not display.
It seems inch.
Expected results:
unit shou be shown.
And it should be in "mm" in Windows region is Japan
![]() |
Reporter | |
Updated•4 years ago
|
![]() |
Reporter | |
Updated•4 years ago
|
Comment 1•4 years ago
|
||
:alice0775, could you try to find a regression range in using for example mozregression?
![]() |
Reporter | |
Updated•4 years ago
|
![]() |
Reporter | |
Comment 2•4 years ago
|
||
(In reply to Release mgmt bot [:sylvestre / :calixte / :marco for bugbug] from comment #1)
:alice0775, could you try to find a regression range in using for example mozregression?
This is new tab modal print preview implementation bug.
![]() |
Reporter | |
Updated•4 years ago
|
Comment 3•4 years ago
|
||
This seems like the kind of thing we want to fix in 85, so tagging it for that.
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Updated•4 years ago
|
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 12•4 years ago
|
||
Assignee | ||
Comment 13•4 years ago
|
||
The margin units are in inches, and (currently at least) this is not user-selectable or variable by locale. My initial WIP patch tries to add the ".in" to the right of the unit input[type=number] value, but this gets quite awkward with RTL. We need the value and its unit to not get reversed but the number spinner controls should get reversed as normal in RTL.
I wonder if a better approach would be to put the unit in the margin type picker, ie. "Custom (inches)", which kinda acts as the label for this group.
A 3rd option would be to add it to the margin location lable, i.e. Top (inches), Bottom (inches) etc. But that seems like it will be repetitive and odd-looking.
Independent of how we label the unit, I wonder if we shouldn't make this millimeters (and convert behind the scenes when we update the printer setting) in an effort to be a bit more international-friendly. I can imagine most of the world trying to figure out how big 1/10 of an inch is, but even in N. America I think a mm is reasonably well understood, and a better pick for this size range anyhow?
Assignee | ||
Comment 14•4 years ago
|
||
I'll move forward with changing the "Custom" option value to read "Custom (inches)".
I wonder if the group of inputs for the top/bottom/left/right margin values should have a label using this string. In effect, this "Custom" option is the label, but I'm not sure if aria-labelled-by can point to an <option>?
Alternatively, I could have an offscreen label, but we've not done that yet in this UI so I'm hesitant to start now.
Comment 15•4 years ago
|
||
(In reply to Sam Foster [:sfoster] (he/him) from comment #14)
I'll move forward with changing the "Custom" option value to read "Custom (inches)".
I wonder if the group of inputs for the top/bottom/left/right margin values should have a label using this string. In effect, this "Custom" option is the label, but I'm not sure if aria-labelled-by can point to an <option>?
Alternatively, I could have an offscreen label, but we've not done that yet in this UI so I'm hesitant to start now.
Hi Sam, just saw your ping in the matrix:
- IMO the "Custom (inches)" name for select option is reasonable
- Currently each input for margins has the label such as "Top", "Bottom", ... we could enhance this by providing them all with
aria-describedby
that refers to a hidden label with the accessible nameinches
(not offscreen, since we don't want it in the a11y tree). - Also, looks like the select does not have a label, which it should. Currently "Margins" label is set to be for the
#margins-select
container, which has no effect (you can see this flagged as an issue if you try the accessibility panel in browser toolbox).
Updated•4 years ago
|
Comment 16•4 years ago
|
||
Pushed by mstriemer@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6cda2e086671 New string for the 'Custom (inches) option and hidden described-by labels for each margin edge. r=mstriemer,fluent-reviewers
Comment 17•4 years ago
|
||
bugherder |
Updated•4 years ago
|
Updated•4 years ago
|
Comment 18•4 years ago
|
||
Hello,
Confirming this a verified fixed on 86.0a1(20201218095607) and 85.0b3(20201217185930) with macOS 10.14.6, Win10x64 and Ubuntu 20.04
Description
•