Bug 387491 - Okular print dialog does not provide a way to select a printer other than 4 displayed
Summary: Okular print dialog does not provide a way to select a printer other than 4 d...
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: printing (show other bugs)
Version: 1.1.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-01 10:42 UTC by Ilya Bizyaev
Modified: 2017-12-05 15:58 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
I have added 8 dummy printers (https://superuser.com/questions/304670/how-to-add-a-fake-dummy-null-printer-in-cups) and okular print dialog detected only 5 initially (84.25 KB, image/png)
2017-12-02 05:25 UTC, Kapil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Bizyaev 2017-12-01 10:42:57 UTC
Today I had to print a document in a network that had more than 4 printers. Okular seemed to find all of them successfully, but only display 4 (seemingly in an alphabetical order) with no way to choose the one I needed.
Comment 1 Kapil 2017-12-02 05:25:30 UTC
Created attachment 109169 [details]
I have added 8 dummy printers (https://superuser.com/questions/304670/how-to-add-a-fake-dummy-null-printer-in-cups) and okular print dialog detected only 5 initially

Okular print dialog detected only 5 printers initially but after i opened the print dialog again after running lpstat, it detected all 8 printers.

I tried this with 13 dummy printers also and it detected only 10 initially but after some time it detected all 13 printers.
Comment 2 Albert Astals Cid 2017-12-05 15:58:26 UTC
Okular doesn't have anything to do with the printing dialog, that is provided by upstream Qt, so i'm going to close this bug.

I guess you can reproduce this problem with other Qt apps like assistant for example, you should open a bug in qt bug tracker at https://bugreports.qt.io/ but take into account that at the moment there's not really a maintainer for the printing dialog.

FWIW I tried it adding 13 fake printers like you mentioned and i got them all, but on the other hand i have no network printers, so i guess the problem may lie in the networking side of it.