Bug 79892

Summary: [KDE4] Print preview ignores page selection
Product: [Unmaintained] kdeprint Reporter: Philippe Fremy <phil>
Component: generalAssignee: KDEPrint Devel Mailinglist <kde-print-devel>
Status: CLOSED UNMAINTAINED    
Severity: wishlist CC: emrecio, jlayt, joerno, kdebugs, toby
Priority: NOR    
Version: 4.0   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Philippe Fremy 2004-04-18 16:51:38 UTC
Version:            (using KDE KDE 3.2.1)
Installed from:    Gentoo Packages

In print preview, it is possible to select the pages that are going to be printed or not with the small check box. However, whatever pages I select, all of them are printed.
Comment 1 Michael Goffioul 2004-04-19 10:39:40 UTC
Actually, selecting pages in the print preview has no effect because there's a lack of interoperability in kghostview part. I'm discussing it with kghostview maintainer how this can be solved. What's happening is that the kghostview part includes those check boxes, and from kdeprint, I cannot remove them and I cannot make any use of them (because I don't have access to). So I cannot do anything about it for the moment.
Comment 2 Philippe Fremy 2004-04-19 15:14:18 UTC
Isn't is possible to remove the checkboxes then ?

I don't mind not to be able to select the pages I want to print in the 
preview,  but I mind being mislead into believing that I can.

Comment 3 Michael Goffioul 2004-04-19 15:49:28 UTC
Unfortunately it is not possible. A part (in the KDE sense) is self-contained, and there's currently no interface to enhance the communications between kghostview and kdeprint. From the kdeprint point of view, the kghostview part is like a black-box: the only communication possible is "show this file". How it is shown is completely handled by kghostview.
Comment 4 Philippe Fremy 2004-04-19 16:45:53 UTC
dcop was invented to solve this problem IIRC :-)

Comment 5 Michael Goffioul 2004-04-20 09:01:10 UTC
kdeprint doesn't communicate with a standalone kghostview through dcop, it uses the kghostview part (KParts). There's no DCOP interface published by a KParts::ReadOnlyPart. The problem is that there's no specific interface defined for multipage viewing parts (like the parts for kpdf, kfax, kghostview...). This missing link is currently worked on by kghostview developers.
Comment 6 Felix Berger 2004-10-04 19:47:07 UTC
Isn't this report a duplicate of bug http://bugs.kde.org/show_bug.cgi?id=58879
?
Comment 7 Michael Goffioul 2004-10-05 10:15:55 UTC
Yes and no. Yes because it asks to select the page to print in the print preview. No because when bug #58897 appeared, the check boxes in the page list of the kghostview component didn't exist yet. Now those boxes exists but there's still no way to control/access them from the client application, because of a lack of interface API.
However, I'll merge both bur reports into one.
Comment 8 Michael Goffioul 2004-10-05 10:17:59 UTC
*** Bug 58879 has been marked as a duplicate of this bug. ***
Comment 9 Cristian Tibirna 2005-08-22 22:01:18 UTC
UNCONFIRMED (batch reassigning messed this)
Comment 10 David Anderson 2005-08-23 12:11:51 UTC
Given that the maintainer of the components has commented on the bug (comment #1) and described the problem, this should really be NEW and not UNCONFIRMED.
Comment 11 Michael Goffioul 2005-08-23 12:46:08 UTC
The status change is a side-effect of a batch operation, it wasn't intentional.
Comment 12 Kurt Pfeifle 2007-01-13 02:28:14 UTC
Duplicate to bug 80889...
Comment 13 Kurt Pfeifle 2007-01-13 02:29:36 UTC
*** Bug 80889 has been marked as a duplicate of this bug. ***
Comment 14 Kurt Pfeifle 2007-01-13 02:31:22 UTC
See also discussions about bug 80889 for some more details and examples....
Comment 15 Kurt Pfeifle 2007-01-13 03:01:48 UTC
*** Bug 75815 has been marked as a duplicate of this bug. ***
Comment 16 Kurt Pfeifle 2007-01-13 03:51:41 UTC
This is a duplicate of bug 59718. Please transfer your votes to 59718, if you care.
Comment 17 Tristan Miller 2007-08-28 03:26:28 UTC
Kurt, I don't see why this bug is a duplicate of Bug 59718.  They're about two separate issues, though for some reason Comment 12 and Comment 13 of that bug discuss this one.
Comment 18 John Layt 2009-01-03 01:46:16 UTC
KDEPrint in KDE3 is unmaintained and will have no more new features
implemented.  This request will never be implemented in KDEPrint as a result.  

In KDE4 the print preview uses the okular kpart which by default does not display a means of selecting pages

Closing.