Closed Bug 1663801 Opened 5 years ago Closed 4 years ago

Only call saveSettingsToPrefs in the frontend code when the user actually prints

Categories

(Toolkit :: Printing, defect, P3)

defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: jwatt, Unassigned)

References

Details

(Whiteboard: [print2020] [old-ui-] )

Now that bug 1653340 has landed, we shoud stop calling saveSettingsToPrefs in the frontend code. This arguably should have happened in bug 1653319. Prior to the fix for that bug it was necessary to save the settings in order to communicate them to the platform code. Now the platform code doesn't even read the saved settings when the pref for the new UI is enabled, so saving the prefs just messes up the saved settings unnecessarily.

Perhaps the code that uses settingFlags can also be simplified.

Hmm, I've noticed that Chrome does seem to save at least some settings that are chosen in its preview UI without requiring a Print/Save. So presumably their UI people thought that was desirable.

I'd also note bug 1627055.

See Also: → 1627055

:shorlander, can you confirm if the expectation is that any changes the user makes in the print UI should be persisted even when the user cancels -so they are restored next time the user opens the print UI?

Flags: needinfo?(shorlander)
Priority: P2 → P3
Summary: Stop calling saveSettingsToPrefs in the frontend code → Only call saveSettingsToPrefs in the frontend code when the user actually prints

Moving to 83.

Whiteboard: [print2020_v82][old-ui-] → [print2020_v83][old-ui-]
Whiteboard: [print2020_v83][old-ui-] → [print2020_v84][old-ui-]
Whiteboard: [print2020_v84][old-ui-] → [print2020_v85] [old-ui-]

(Moving bugs to 86, part 1.)

Whiteboard: [print2020_v85] [old-ui-] → [print2020_v86][old-ui-]

Moving things to 88, cause we're mostly on Proton these days…

Whiteboard: [print2020_v86][old-ui-] → [print2020_v88] [old-ui-]

Actually I've changed my mind on this. Forget I filed it. ;-)

Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(stephen)
Resolution: --- → WONTFIX
Whiteboard: [print2020_v88] [old-ui-] → [print2020] [old-ui-]
You need to log in before you can comment on or make changes to this bug.