[Bug 10910]
Karlt
10910 at bugs.launchpad.net
Fri Sep 25 01:25:43 UTC 2020
Comment on attachment 8620682
use GTK default paper size and orientation
(In reply to Robert O'Callahan (:roc) (Mozilla Corporation) from comment #89)
> So with this patch, do we still remember the user's paper size in some way?
Yes. The code removed here was not reading user's prefs. Those prefs
were never saved.
> How?
(In reply to Karl Tomlinson (ni?:karlt) from comment #85)
> These are subsequently overridden by prefs if any have been saved from
> a previous nsPrintSettingsGTK.
This happens in nsPrintOptions from InitPrintSettingsFromPrefs(), called after
InitPrintSettingsFromPrinter().
https://hg.mozilla.org/mozilla-central/annotate/9ebd530c5843/widget/nsPrintOptionsImpl.cpp#l542
https://hg.mozilla.org/mozilla-central/annotate/9ebd530c5843/dom/base/nsGlobalWindow.cpp#l7011
--
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/10910
Title:
Default page size for printing is letter
To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/10910/+subscriptions
More information about the Ubuntu-mozillateam-bugs
mailing list