[okular] [Bug 422626] Allow multiple pages ranges to print in Okular
Bernie Innocenti
bugzilla_noreply at kde.org
Wed Apr 28 17:40:55 BST 2021
https://bugs.kde.org/show_bug.cgi?id=422626
--- Comment #10 from Bernie Innocenti <bernie at codewiz.org> ---
(In reply to Bernie Innocenti from comment #9)
> This happens also with a range ("2-3") and also in Kate (so the component
> should be changed to some framework?)
The correct component is probably Qt:
https://invent.kde.org/qt/qt/qtbase/-/blob/dev/src/printsupport/dialogs/qprintdialog_unix.cpp#L820
A similar bug was fixed in Qt long ago:
https://bugreports.qt.io/browse/QTBUG-77351
The commit message of the fix reads:
Unix: Disable complex page ranges widget when printing to pdf
It doesn't work since it relies on cups to do the heavy lifting and cups
is not used when printing to PDF
The code is still present in the Qt 5.15 branch:
// Disable complex page ranges widget when printing to pdf
// It doesn't work since it relies on cups to do the heavy lifting and cups
// is not used when printing to PDF
options.pagesRadioButton->setEnabled(outputFormat != QPrinter::PdfFormat);
Yet, the radio button remains enabled for me. So perhaps it's not working as
intended.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Kde-windows
mailing list