Allow users to print non-contiguous page ranges (using commas and dashes)
Categories
(Toolkit :: Printing, enhancement, P1)
Tracking
()
People
(Reporter: box, Assigned: emmamalysz)
References
(Blocks 1 open bug)
Details
(Whiteboard: [print2020_v85][old-ui-])
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Comment 5•14 years ago
|
||
Updated•14 years ago
|
Updated•14 years ago
|
Comment 6•14 years ago
|
||
Comment 7•14 years ago
|
||
Updated•4 years ago
|
Comment 9•4 years ago
|
||
Marking this as P1 for now, since telemetry shows that the page range settings are the settings that users adjust the most.
Also moving to Toolkit. We can have bug 1661868 as the bug to cover the platform work.
Comment 10•4 years ago
|
||
(In reply to Jonathan Watt [:jwatt] from comment #9)
Also moving to Toolkit. We can have bug 1661868 as the bug to cover the platform work.
Some additional platform work (providing an API) will come in bug 1661868.
Also, I believe we're targeting 84 for this now --> adjusting whiteboard accordingly.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 11•4 years ago
|
||
A comma will separate the list of ranges, and a dash indicates a page range.
This patch is a WIP and here are things that are lacking:
- When selected, the page input does not show the large red border (only when
unselected) - Hover over errors are currently the custom validity messages.
- This does not send the updates to the platform code. There is a platform
bug blocking this, but we need to understand what sort of data the platform team
expects. - Need to do a sweep through the test suite to see if this affects other tests.
Comment 12•4 years ago
|
||
I have always used semicolons instead of commas. That is supported by the native GTK print dialog.
Assignee | ||
Comment 13•4 years ago
|
||
Moving to 85, as this requires string changes and potentially a platform fix (Bug 1679706)
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Comment 14•4 years ago
|
||
Comment 15•4 years ago
|
||
bugherder |
Updated•4 years ago
|
Comment 16•4 years ago
|
||
Verified the fix using latest Nightly 86.0a1 and Firefox 85.0b2 on Windows 10 x64, Ubuntu 18.04 x64 and macOS 10.13. The pages can be inserted and printed separately.
Comment 17•4 years ago
|
||
I am not sure if :emilio's update
Regressions: 1684952
addresses this, but the person who implemented the fix accidentally introduced Bug #1684952, which, while arguably not a defect, confuses the user and removes the option to print more sophisticated materials.
To whoever implemented the fix (:emalysz?), please review Bug #1684952 and consider fixing it (should be easy, just removing "redundant" code).
Sorry if this is a duplicate of :emilio's update above, I am not familiar with regressions.
Updated•4 years ago
|
Description
•