Bug#497482: okular: Printing a PDF causes the file to be overwritten with a PS conversion, nothing printed

2008-11-06 Thread Brendon Higgins
Hi Pino,

Pino Toscano wrote (2008-11-07 7:12 am):
> > Confirming that the cause was the Qt 4.4.0 bug. the behaviour is fixed in
> > 4.4.1. (Though now my printer seems to complain about syntax errors in
> > what Okular sends it. I may get to searching for/submitting that bug at
> > some stage.)
>
> Now that Qt 4.4.3 is in Lenny, is the problem still there?

Printing seems to be fine, now. I can't reproduce any problem I was having. 
FWIW, I seem to be running Okular 0.7.1-1 (in sid, hasn't hit lenny yet.)

Peace,
Brendon


signature.asc
Description: This is a digitally signed message part.


Bug#497482: okular: Printing a PDF causes the file to be overwritten with a PS conversion, nothing printed

2008-11-06 Thread Pino Toscano
Hello Brendon,

> Confirming that the cause was the Qt 4.4.0 bug. the behaviour is fixed in
> 4.4.1. (Though now my printer seems to complain about syntax errors in what
> Okular sends it. I may get to searching for/submitting that bug at some
> stage.)

Now that Qt 4.4.3 is in Lenny, is the problem still there?

-- 
Pino Toscano


signature.asc
Description: This is a digitally signed message part.


Bug#497482: okular: Printing a PDF causes the file to be overwritten with a PS conversion, nothing printed

2008-09-04 Thread Brendon Higgins
Hi again,

Confirming that the cause was the Qt 4.4.0 bug. the behaviour is fixed in 
4.4.1. (Though now my printer seems to complain about syntax errors in what 
Okular sends it. I may get to searching for/submitting that bug at some 
stage.)

Peace,
Brendon

Brendon Higgins wrote (2008-09-03 10:34 am):
> Hi,
>
> Pino Toscano wrote (2008-09-03 1:00 am):
> > > Trying to print a PDF document fails. There is no error message, but
> > > after clicking "Print", Okular spends a bit of time doing some
> > > processing, after which no job is sent to the print queue.
> >
> > If you open the print dialog and select your printer, which
> > "Description:" do you get for it? Is it something like "Write PDF file"
> > or "Write PostScript file"?
>
> No, nothing like that. The printers listed are the usual list I would
> expect (lp for the printer in my office, and one for a printer in a nearby
> office). The "Location" and "Type" fields correspond to those printers,
> there's no other fields, and no indication anywhere that they are set to
> some write-to-file mode.
>
> Interestingly, though, it only lists the printers configured in CUPS, and
> doesn't have the extra options that KPDF has (like "Print to File
> (PDF)", "Send to Fax", etc). KPDF has no trouble printing, FWIW.
>
> Ah, new info: The file is only overwritten when it lives in the home
> directory. When the file is anywhere else (including subdirectories) it is
> not overwritten, however a file of the same name is created in ~.
>
> I've just had a poke around at upstream bugtracker. I suspect it might be
> related to this: https://bugs.kde.org/show_bug.cgi?id=162793 , which I
> notice you've already noticed. :-) Qt 4.4.1 is still in experimental,
> though. I could give it a try.
>
> Peace,
> Brendon



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#497482: okular: Printing a PDF causes the file to be overwritten with a PS conversion, nothing printed

2008-09-02 Thread Brendon Higgins
Hi,

Pino Toscano wrote (2008-09-03 1:00 am):
> > Trying to print a PDF document fails. There is no error message, but
> > after clicking "Print", Okular spends a bit of time doing some
> > processing, after which no job is sent to the print queue.
>
> If you open the print dialog and select your printer, which "Description:"
> do you get for it? Is it something like "Write PDF file" or "Write
> PostScript file"?

No, nothing like that. The printers listed are the usual list I would expect 
(lp for the printer in my office, and one for a printer in a nearby office). 
The "Location" and "Type" fields correspond to those printers, there's no 
other fields, and no indication anywhere that they are set to some 
write-to-file mode.

Interestingly, though, it only lists the printers configured in CUPS, and 
doesn't have the extra options that KPDF has (like "Print to File 
(PDF)", "Send to Fax", etc). KPDF has no trouble printing, FWIW.

Ah, new info: The file is only overwritten when it lives in the home 
directory. When the file is anywhere else (including subdirectories) it is 
not overwritten, however a file of the same name is created in ~.

I've just had a poke around at upstream bugtracker. I suspect it might be 
related to this: https://bugs.kde.org/show_bug.cgi?id=162793 , which I notice 
you've already noticed. :-) Qt 4.4.1 is still in experimental, though. I 
could give it a try.

Peace,
Brendon



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#497482: okular: Printing a PDF causes the file to be overwritten with a PS conversion, nothing printed

2008-09-02 Thread Pino Toscano
Hi,

> Trying to print a PDF document fails. There is no error message, but after
> clicking "Print", Okular spends a bit of time doing some processing, after
> which no job is sent to the print queue.

If you open the print dialog and select your printer, which "Description:" do 
you get for it? Is it something like "Write PDF file" or "Write PostScript 
file"?

Cheers,
-- 
Pino Toscano


signature.asc
Description: This is a digitally signed message part.


Bug#497482: okular: Printing a PDF causes the file to be overwritten with a PS conversion, nothing printed

2008-09-01 Thread Brendon Higgins
Package: okular
Version: 0.7-2
Severity: normal


FWIW, I'm running Okular on a primarily KDE 3 host, so this might be some kind 
of
incompatibility thing. I'm not sure.

Trying to print a PDF document fails. There is no error message, but after
clicking "Print", Okular spends a bit of time doing some processing, after
which no job is sent to the print queue. Okular then attempts to reload the
document and fails without an error message - just the default big blank grey
"no document loaded yet" panel.

What has happened is that something during this process has overwritten the
..pdf file with a postscript conversion. When Okular attempts to reload the
file, I guess it runs into #496669, tries the wrong backend, and fails.

Overwriting files like this is quite rude of Okular, IMO.

Peace,
Brendon


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.27-rc3.mykernel (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages okular depends on:
ii  kdebase-runtime4:4.1.0-2 runtime components from the offici
ii  kdelibs5   4:4.1.0-1 core libraries for all KDE 4 appli
ii  libc6  2.7-13GNU C Library: Shared libraries
ii  libfreetype6   2.3.7-2   FreeType 2 font engine, shared lib
ii  libjpeg62  6b-14 The Independent JPEG Group's JPEG 
ii  libokularcore1 0.7-2 libraries for the Okular document 
ii  libpoppler-qt4-3   0.8.4-1.1 PDF rendering library (Qt 4 based 
ii  libqca22.0.0-4   libraries for the Qt Cryptographic
ii  libqimageblitz41:0.0.4-4 QImageBlitz image effects library
ii  libqt4-dbus4.4.0-4   Qt 4 D-Bus module
ii  libqt4-qt3support  4.4.0-4   Qt 3 compatibility library for Qt 
ii  libqt4-xml 4.4.0-4   Qt 4 XML module
ii  libqtcore4 4.4.0-4   Qt 4 core module
ii  libqtgui4  4.4.0-4   Qt 4 GUI module
ii  libspectre10.2.0.ds-1Library for rendering Postscript d
ii  libstdc++6 4.3.1-9   The GNU Standard C++ Library v3
ii  zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime

okular recommends no packages.

Versions of packages okular suggests:
ii  okular-extra-backends 0.7-2  additional document format support

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]