The default page margin should be at least the unwriteable section, but not added on top.
Categories
(Core :: Printing: Setup, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox82 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
Details
(Whiteboard: [print2020_v82])
Attachments
(3 files)
Assignee | ||
Comment 1•4 years ago
|
||
They're dereferenced without checking below, so checking here is just
confusing.
Assignee | ||
Comment 2•4 years ago
|
||
We should always have sane print settings by then. This avoids other
confusing checks elsewhere.
Depends on D89792
Assignee | ||
Comment 3•4 years ago
|
||
We were adding the unwriteable to the default margin. I was going to
consider not painting the headers / footers if they overlapped with the
content box of the page, but turns out our default configuration
overlaps slightly at the bottom, so I just punted on that.
Users can remove the headers / footers quite easily anyhow.
Depends on D89793
Comment 4•4 years ago
|
||
(In reply to Emilio Cobos Álvarez (:emilio) from comment #2)
We should always have sane print settings by then. This avoids other
confusing checks elsewhere.
Am I right in thinking that the settings for a given printer should be the source of truth for default margin values?
On the front-end, we currently get these these from the default settings (printer.createDefaultSettings(printerName)
) - as distinct from the regular settings which have the user pref values merged into them.
Assignee | ||
Comment 5•4 years ago
|
||
(In reply to Sam Foster [:sfoster] (he/him) from comment #4)
Am I right in thinking that the settings for a given printer should be the source of truth for default margin values?
On the front-end, we currently get these these from the default settings (printer.createDefaultSettings(printerName)
) - as distinct from the regular settings which have the user pref values merged into them.
Yes, I think that's fair to say (though I think that we have some bugs on the area). Anyhow what the actual settings are is a bit unrelated to that patch :)
Updated•4 years ago
|
Comment 7•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/21ec1a46de89
https://hg.mozilla.org/mozilla-central/rev/bfb181efe0f2
https://hg.mozilla.org/mozilla-central/rev/19383932e3bf
Description
•