diff options
| author | Alexander Stippich <a.stippich@gmx.net> | 2025-02-26 20:46:04 +0100 |
|---|---|---|
| committer | Alexander Stippich <a.stippich@gmx.net> | 2025-03-23 13:12:17 +0000 |
| commit | 2428cbf44e3e2aa4eaf00c9548ac5a74685101c4 (patch) | |
| tree | d3632981f65a94230afa7a419f8b1a2f88729629 /src/concurrent/doc/snippets/code | |
| parent | f4dd7e29a68c4439e3da40db4eb2d67999d316b0 (diff) | |
rely on CUPS for multiple page ranges in unix version of QPrintDialog
Since the introduction of QPageRanges with Qt6, multiple/arbitrary page
ranges are broken in the unix implementation of QPrintDialog due to a
possible double application of the page ranges: on the application side
and on the server side with CUPS. Reason for this is that the
QPrinter::PrintRange is set to PageRange instead of AllPages.
The latter is needed when relying on the CUPS server-side page range.
However, the server-side page range is always applied later on.
Restore the behavior of Qt5 and set the PrintRange to AllPages for
multiple/arbitrary page ranges and rely on the server-side filtering
with CUPS.
Pick-to: 6.9 6.8
Change-Id: I1b85552a8cf2509b11a81db028f957584043f3ee
Reviewed-by: Albert Astals Cid <aacid@kde.org>
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/concurrent/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions
