https://bugs.kde.org/show_bug.cgi?id=436388

Bernie Innocenti <ber...@codewiz.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDSINFO                   |CONFIRMED
         Resolution|WAITINGFORINFO              |---
     Ever confirmed|0                           |1

--- Comment #8 from Bernie Innocenti <ber...@codewiz.org> ---
(In reply to Xavier Guillot from comment #6)
> I removed the printer because I don't have it anymore, and with only the
> "Print to file" printer, the field is no more unavailable.

Looks like QPrintDialogPrivate::selectPrinter() is not being called when there
are no physical printers (or it's being called with the wrong outputFormat):

https://invent.kde.org/qt/qt/qtbase/-/blob/dev/src/printsupport/dialogs/qprintdialog_unix.cpp#L742

> This field is well enabled in Evince, and we can not only select one, but
> many ranges like that : 1-2,5-6 which gives a pdf file with the requested
> pages.
> 
> But in Okular it doesn't work…

Would be good to see how GNOME handles this case. On Linux, Qt delegates
complex page range handling to CUPS, and thus it doesn't work for PDF:

  // 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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to