Restore the state of the More settings twisty on load
Categories
(Toolkit :: Printing, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox87 | --- | fixed |
People
(Reporter: mstriemer, Assigned: emalysz, Mentored)
Details
(Whiteboard: [print2020_v87])
Attachments
(1 file)
Some users might frequently want to use features within the "More settings" section, to make that easier its open/closed state should be remembered.
This could be done by recording a pref like print.more-settings.open
defaulting to false, which gets set to the new open state any time the More settings section is opened or closed. This can then be restored when the More settings section is initially rendered.
The More settings section is handled by the TwistySummary
custom element [1], which could take the pref name in its markup [2].
[1] https://searchfox.org/mozilla-central/rev/8dae1cc76a6b45e05198bc0d5d4edb7bf1003265/toolkit/components/printing/content/print.js#2407
[2] https://searchfox.org/mozilla-central/rev/8dae1cc76a6b45e05198bc0d5d4edb7bf1003265/toolkit/components/printing/content/print.html#156
Assignee | ||
Updated•2 months ago
|
Assignee | ||
Comment 1•2 months ago
|
||
Assignee | ||
Updated•2 months ago
|
Pushed by emalysz@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/27a09dcb7962 save more settings state in a pref and honor value on subsequent prints r=sfoster
Comment 3•2 months ago
|
||
bugherder |
Description
•