Bug 326920 - "Print Screen" print dialog does not update list of printers
Summary: "Print Screen" print dialog does not update list of printers
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.11.2
Platform: Ubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: Konsole Developer
URL: http://i4.photobucket.com/albums/y131...
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-31 01:27 UTC by Bernard Gray
Modified: 2017-02-13 01:38 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Gray 2013-10-31 01:27:15 UTC
When I use the Print Screen option in konsole (ctrl+shift+P), the print dialog that appears does not show the physical printers I have installed on my system.

The URL attached shows that the only printers listed are the virtual PDF and PostScript printers in the konsole generated dialog, while the Rekonq print dialog shows the TestPrinter I have installed on the system (via the kde system-settings print manager).

Testing on KUbuntu 13.10

Reproducible: Always

Steps to Reproduce:
1. Install a printer on your system
2. Open konsole, press ctrl+shift+P or File -> Print Screen
3. Click the drop down list with the list of available printers
Actual Results:  
The printer you previously installed is not listed in the drop down list

Expected Results:  
The printer you previously installed should be listed in the drop down list
Comment 1 Burkhard Lück 2013-10-31 04:50:48 UTC
This is not reproducable here with:

1) Kubuntu 12.04
$ konsole --version                                                                                                                                                                 
Qt: 4.8.2                                                                                                                                                                                       
KDE: 4.11.1                                                                                                                                                                                     
Konsole: 2.11.1

2) stable compiled from sources 
$ konsole --version
Qt: 4.8.2
KDE: 4.11.2
Konsole: 2.11.3

3) master compiled from sources
$ konsole --version
xxQt: 4.8.2
KDE Development Platform: 4.11.2
xxxxKonsolexxxx: 2.11.999
xx
Comment 2 Bernard Gray 2013-10-31 05:31:28 UTC
Hi Burkhard, 
My testing was done on a fresh kubuntu 13.10 install - I suspect I may not have been completely accurate when describing my steps to reproduce - after receiving your reply, I tried a reboot of the vm and upon restart the printer appeared in the list.

I suspect I did the following:
1. Fresh install of kubuntu 13.10
2. started konsole, checked the print screen feature existed, left the konsole window open
3. Added a printer via the kde print dialog
4. Re-focussed the konsole window and hit PrintScreen again, and the printer was not in the list

Another step of testing I did was backporting the patch to konsole v2.9.5 on Ubuntu 12.10 (our current default build) and had the same issue after a fresh (livecd) boot. Diving deeper into this (after your reply), and it turns out if I start konsole immediately as the DE starts (i'm using ramdisk booted images, so it's fast), the printer list is unpopulated. If I close konsole and reopen it, the list is fully populated.

So this narrows the issue down a bit, and a more accurate description might be:
"The Print Screen dialog does not refresh the printer list after konsole has started"
or
"konsole must be restarted to show any new printers in the Print Screen dialog"
Comment 3 Yichao Yu 2013-10-31 05:41:56 UTC
In this case, I think that this may either be a minor bug or a feature request and it is definitely not konsole at all.
Comment 4 Bernard Gray 2013-10-31 05:49:34 UTC
Yep I agree with reassigning it to minor (and have done it), however it does still seem to be related to konsole, or at least whatever underlying print dialog it's referencing. If I go through the same 4 steps above, substituting rekonq for konsole, the new printers appear in rekonq without a restart.
Comment 5 Kurt Hindenburg 2014-02-10 16:35:49 UTC
I don't have an easy way of testing printers - perhaps using KdePrint::createPrintDialog might work better.