[okular] [Bug 266739] okular ignores the printer settings

2017-03-29 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=266739

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[print-manager] [Bug 378446] Moving print job to another printer fails

2017-04-04 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=378446

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[print-manager] [Bug 378446] New: Moving print job to another printer fails

2017-04-04 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=378446

Bug ID: 378446
   Summary: Moving print job to another printer fails
   Product: print-manager
   Version: unspecified
  Platform: Other
OS: Linux
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: dantt...@gmail.com
  Reporter: m.wegh...@posteo.de
  Target Milestone: ---

Moving a print job from one print queue to another one fails in print-manager.
I just retested with the current git version (master branch at commit
032be7246) on KDE neon.

Steps to reproduce:

* Make sure at least two printers are set up on the system. It is assumed that
they are called "firstprinter" and "secondprinter" in the following.
* Pause printer "firstprinter" (e.g. using the "Pause Printer" button in
print-manager's view of the queue or using the command "cupsdisable
firstprinter")
* create a print job for printer "firstprinter" (e.g. using the command "echo
hello | lp -d firstprinter")
* show the queue using print-manager, e.g. by opening the queue from the applet
or by directly using the command "kde-print-queue firstprinter"
* try to move the print job to the other printer "secondprinter":
  * right click on the print job in the list
  * Select "Move to" -> "secondprinter"

Actual Result:
A dialog pops up, saying that moving the print job failed: "Failed to move
'(stdin)' to 'secondprinter'". When clicking on the "Details" button, it says:
"The printer or class does not exist."

Expected result:
The print job should successfully be moved to the other printer and printed on
it.

I have worked on a solution quite a while ago and am planning to supply a patch
soon.

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

[print-manager] [Bug 378446] Moving print job to another printer fails

2017-04-04 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=378446

--- Comment #2 from Michael Weghorn <m.wegh...@posteo.de> ---
Created attachment 104886
  --> https://bugs.kde.org/attachment.cgi?id=104886=edit
Patch to fix moving print job to another queue (same as submitted to KDE review
board)

I am attaching the patch with the changes that I have also submitted to KDE's
review board.

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

[print-manager] [Bug 378446] Moving print job to another printer fails

2017-04-04 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=378446

--- Comment #1 from Michael Weghorn <m.wegh...@posteo.de> ---
I have now created a review request on KDE's review board:
https://git.reviewboard.kde.org/r/130063/

As I have never done this before, I am not sure whether I did everything
correctly. Please let me know in case something needs to be done differently or
anything is missing.

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

[okular] [Bug 364809] can't print file that contains invalid UTF-8 sequence

2017-07-18 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=364809

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

--- Comment #2 from Michael Weghorn <m.wegh...@posteo.de> ---
Do you still have the described problems?
I just tried to reproduce them with the Okular versions included in KDE neon
(Devedition gitstable) and in Debian testing and could not reproduce them.

Both, opening the file and printing, worked fine for me.

If the problems are still present: Can you please give some more information
about your system (e.g. which Linux distribution, what version,...) and the
output of the command `locale`?

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

[okular] [Bug 181352] background rendering: provide visual feedback there is computation going on

2017-07-18 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=181352

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 318078] PDF-links don't work as expected in text selection mode.

2017-07-18 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=318078

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 194805] Think if Okular selection drop down button discoverability can be improved

2017-07-18 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=194805

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 198566] Slow on some documents when using big zoom and search

2017-07-18 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=198566

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 319625] Bookmarks & annotations lost for renamed documents

2017-07-18 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=319625

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 365161] Can't select which pages to print

2017-07-18 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=365161

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 173896] Sent-to menu entry or send-via-email menu-entry

2017-07-18 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=173896

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 373133] 16.12.0 Okular duplex printing on but no duplex printing done

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=373133

--- Comment #20 from Michael Weghorn <m.wegh...@posteo.de> ---
I suppose that you are right that this is because the Qt 5 print dialog does no
more display all options from the PPD, but only selected ones at the moment
(like "Duplex").

In Firefox print dialog: Is the duplex option available in the "Page Settings"
tab under "Two-sided" or only in an "Advanced" tab under "Two-Sided Printing"
(or similar). The latter would confirm that it is handled as a "custom" PPD
option (rather than the default "Duplex" option which would be shown in the
"Page Settings" tab).

In case the vendor-specific keyword is actually the cause and this is therefore
the general problem with Qt 5's current printing dialog, I currently see no
"reasonable" way of adding support in Okular, rather than working on Qt itself.

For reference: Some discussion about printer-specific options in the Qt 5 print
dialog has also taken place on the Qt development mailing list in January and
February, s. thread "Printer-specific options in Qt5's print dialog (Linux,
CUPS)" at [1] and [2].


[1] http://lists.qt-project.org/pipermail/development/2017-January/thread.html
[2] http://lists.qt-project.org/pipermail/development/2017-February/thread.html

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

[okular] [Bug 343834] Okular doesn't print some form fields

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=343834

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 334733] Okular txt backend chokes on unicode text

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=334733

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 306855] Support Javascript

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=306855

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[kdelibs] [Bug 193337] multipage option doesn't work with pdf printer

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=193337

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 368670] request: optional printing command

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=368670

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 363788] Fit to page printing does incorrect scaling and unwanted offsetting

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=363788

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 363326] Cannot change printing settings

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=363326

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 351849] Margins often cut when printing

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=351849

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 358289] Okular not opens file in folders with accents or files with accents

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=358289

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

--- Comment #2 from Michael Weghorn <m.wegh...@posteo.de> ---
I just tried to reproduce the issue on a current KDE neon but was unable to do
so.

What I did:

1) put some PDF file under a path like yours:
'$HOME/Programación/Coursera/book_272_es4.pdf'
2) Open the directory in Dolphin (KDE's file manager)
3) Open the PDF file by double-clicking on it.

For me, the file opened fine and was displayed in Okular as expected.

I am not sure whether the steps I took are exactly the same ones that 
you took.
Can you possibly give some more information about that?

Are you also using Dolphin (KDE's file manager) or possibly another file 
manager?

What distribution and what version are you using?

What is the output of the command 'locale'?

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

[okular] [Bug 379260] double-side printing allways on short side

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=379260

--- Comment #4 from Michael Weghorn <m.wegh...@posteo.de> ---
(In reply to Noebian from comment #3)
> I tried to attach the file, but it doesn't work. Allways the same window
> appears "attach a new file". After I put in file and bug-id the same window
> appears again :(

The problem might be that PPD files in the directory '/etc/cups/ppd' are
normally not readable by normal users. Can you try to make a copy of the PPD
file with the respective permissions and then try to upload it again?

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

[okular] [Bug 356466] okular print graphing paper smaller than it should be

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=356466

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 361538] Text selection misses some characters

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=361538

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 343834] Okular doesn't print some form fields

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=343834

--- Comment #1 from Michael Weghorn <m.wegh...@posteo.de> ---
Created attachment 106757
  --> https://bugs.kde.org/attachment.cgi?id=106757=edit
The PDF form mentioned in the bug report

I am attaching the respective PDF file to avoid it might get lost should the
given URI no longer work at some point in time in the future.

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

[okular] [Bug 329740] Okular hangs in presentation mode when displaying PDFs when default printer is not accessible

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=329740

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 275466] [Wish] Brochure printing / Booklet printing

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=275466

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 252596] okular printing options not working when printing to file (pdf/ps)

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=252596

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 375566] Okular scale document when printing

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=375566

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 331697] can't fill out pdf form

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=331697

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

--- Comment #4 from Michael Weghorn <m.wegh...@posteo.de> ---
The link in the bug report no longer points to a valid PDF file.
Can the respective PDF form possibly be attached to the bug report?
Without the file, there is no way to reproduce the bug and thus to try fixing
it...

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

[okular] [Bug 306886] Merge selection and browse tool functionality

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=306886

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 307304] Javascript in forms not working correctly

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=307304

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

--- Comment #2 from Michael Weghorn <m.wegh...@posteo.de> ---
The URL in the bug report no longer points to a valid PDF file.
Can the respective PDF file possibly be attached to the bug report?
Without the file, there is no way to reproduce the bug and thus to try fixing
it...

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

[okular] [Bug 379260] double-side printing allways on short side

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=379260

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 379260] double-side printing allways on short side

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=379260

--- Comment #1 from Michael Weghorn <m.wegh...@posteo.de> ---
The following additional information might be helpful:

What printer are you using?

Can you please attach the PPD file of your printer, which is usually stored
under '/etc/cups/ppd/.ppd'?

This might be related to bug 373133.

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

[okular] [Bug 366098] Odd/even only page printing not working with multiple pages per sheet

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=366098

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 348172] Scaling options missing in print dialog

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=348172

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 263042] XFA Forms are not supported

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=263042

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 336617] Feature request: disable fit-to-page while printing.

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=336617

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 309385] Using PDF as a print job format

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=309385

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 315552] Allow save annotations directly to original pdf file

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=315552

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 185636] More printing options for page control

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=185636

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 339176] feature request: fit to page

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=339176

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 347794] landscape A3 page incorrectly scaled down to printout A4 paper size

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=347794

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 382011] SyncTeX 2017 upgrade

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=382011

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 373863] Regression Okular 1.0.0 (KDE Applications 16.12.0): Always prints duplex even if told not to.

2017-07-19 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=373863

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 373863] Regression Okular 1.0.0 (KDE Applications 16.12.0): Always prints duplex even if told not to.

2017-07-19 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=373863

--- Comment #4 from Michael Weghorn <m.wegh...@posteo.de> ---
In order to analyse the problem further, it would be very helpful to have the
PPD file of the printer in use. It is usually stored under
'/etc/cups/ppd/.ppd'.

In case it could be attached to this bug report, that might be very helpful.

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

[okular] [Bug 373133] 16.12.0 Okular duplex printing on but no duplex printing done

2017-07-19 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=373133

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

--- Comment #7 from Michael Weghorn <m.wegh...@posteo.de> ---
As for bug 373863:
In order to analyse the problem further, it would be very helpful to have the
PPD file of the printer in use. It is usually stored under
'/etc/cups/ppd/.ppd'.

In case it could be attached to this bug report, that might be very helpful.

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

[okular] [Bug 351670] Error opening arabic named PDFs

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=351670

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

--- Comment #15 from Michael Weghorn <m.wegh...@posteo.de> ---
Bug 358289 might describe the same issue.

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

[okular] [Bug 348171] Scaling problem during printing

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=348171

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 358289] Okular not opens file in folders with accents or files with accents

2017-07-20 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=358289

--- Comment #3 from Michael Weghorn <m.wegh...@posteo.de> ---
Bug 351670 might describe the same issue.

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

[okular] [Bug 373133] 16.12.0 Okular duplex printing on but no duplex printing done

2017-07-25 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=373133

--- Comment #22 from Michael Weghorn <m.wegh...@posteo.de> ---
(In reply to Gunter Ohrner from comment #21)
> [...]
> Konqueror works (using just the same print dialog as Okular).
> 
> LibreOffice works and shows the option as "Duplex" in its print settings
> dialog.
> 
> lpr on the command line works, using the "-o Duplex" setting:
> 
> * lpr -PDCP-7065DN -o media=A4 -o Duplex=None -o page-ranges=1-2 "$PSFILE"
>   This line prints one-sided, as expected.
> 
> * lpr -PDCP-7065DN -o media=A4 -o Duplex=DuplexNoTumble -o page-ranges=1-2
> "$PSFILE"
>   This line prints duplex / double-sided, as expected.
> 
> Chromium works and labels the option als "beidseitig" in its print page (no
> separate dialog). It also directly updates the print summary line (where it
> states how many pages will be printed in which mode) to reflect the setting.
> 
> Firefox works, here the setting is in the tab "Seite einrichten" in the
> print dialog. The setting is called "Beidseitig", and available options are
> called "Langer Rand (Vorgabe)", "Kurzer Rand (Umdrehen)" and "Einseitig", so
> it's fully translated.
> 
> 
> 
> Basically, I do not know about any other software than Okular which does NOT
> work.

Thank you for that additional information. The way the duplex option is handled
in your case differs from what I get when I use the attached PPD file.

Could you possibly attach your printer's PPD file as well? It should be located
under '/etc/cups/ppd/.ppd'.

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

[okular] [Bug 373133] 16.12.0 Okular duplex printing on but no duplex printing done

2017-07-25 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=373133

--- Comment #24 from Michael Weghorn <m.wegh...@posteo.de> ---
(In reply to Gunter Ohrner from comment #23)
> It's also a Brother printer (DCP 7065DN) but actually seems to use the
> standard Duplex keyword.

The fact that it uses the "Duplex" option seems to explain why it works so well
in other applications.
I just set up a dummy printer with that PPD and checked what options are passed
to CUPS when printing from Konqueror and Okular.
In my case, both options "Duplex" and "sides" were passed as expected for both
Okular and Konqueror (using current KDE neon gitstable), so I wonder a bit why
the two applications behave differently when printing to a real printer.
Does a user-specific default value as described in comment 9 possibly play a
role? (I did not have such a file '~/.cups/lpoptions'.)

In addition, CUPS's 'error_log' file with Debug level enabled might help, as
described in comment 12, point 1).

[As far as I understand this issue right now, different aspects might come into
play when using either the standardized "Duplex" keyword or a vendor-specific
one, so I think it might possibly make sense to split this up into two separate
bug reports in case this assumption is confirmed by your reply to the above
answers (to make it possible to better focus on the single aspects).]

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

[okular] [Bug 373133] 16.12.0 Okular duplex printing on but no duplex printing done

2017-07-19 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=373133

--- Comment #9 from Michael Weghorn <m.wegh...@posteo.de> ---
I had a look at this and have an idea what MIGHT be the reason:

Okular uses the options "sides=one-sided", "sides=two-sided-short-edge", and
"sides=two-sided-long-edge" to specify whether or not to do duplex printing.
Those options are passed to the "lpr" command.

On the other hand, PPD files have a standardized keyword "Duplex" that uses
values of "None", "DuplexTumble", and "DuplexNoTumble" to specify the same
option (s. PPD specification).

I made some tests and it seems to me like the PPD option "Duplex" takes
precedence over the "sides" option in case both are given.

Since Okular does not explicitly pass any value for the "Duplex" option, CUPS
uses the user's default value specified for the printer in
'$HOME/.cups/lpoptions' in case that exists.

Example content of a '$HOME/.cups/lpoptions' file that specifies that no
duplexing should be done:

~~~
$ cat .cups/lpoptions 
Default HL2280DW Duplex=None
~~~

So if that option is set, the duplex option set in Okular simply has no effect,
since it is overriden by the other value.


Could somebody of those who are affected verify whether the above assumption
matches their situation - in particular, whether the file
'$HOME/.cups/lpoptions' exists and has a respective value and whether the
problem goes away after renaming/deleting the file?

Additional note:  The attached PPD file uses the vendor-specific keyword
"BRDuplex" instead of "Duplex", but the situation might still be the same.

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

[okular] [Bug 373133] 16.12.0 Okular duplex printing on but no duplex printing done

2017-07-19 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=373133

--- Comment #12 from Michael Weghorn <m.wegh...@posteo.de> ---
(In reply to Robby Engelmann from comment #10)
> The very file existed here, but was empty. I removed it anyway and still,
> printing is done with duplex no matter whether "None" or "Long Side" is set
> in okular printing dialog

Thank you very much for testing.

Is the behaviour for you right now exactly the opposite as it was when you
initially opened the bug report? As far as I understand your first comment, all
pages were printed on single pages back then and are now always printed duplex,
no matter what value is set in Okular's print dialog for that option. Did I
understand that correctly?


The following two things might help in further narrowing down the issue:

1) Provide information from CUPS's log file:

* increase log level by setting Directive 'LogLevel debug' in CUPS's config
file '/etc/cups/cupsd.conf'
* restart CUPS, e.g. by running 'sudo systemctl restart cups'
* try printing from Okular again, setting the respective options in the print
dialog
  * It would be particularly helpful if you could do this once for every
available option for duplex printing ("None", "Long Side", "Short Side")
* attach the log file '/var/log/cups/error.log' (or relevant parts of it) to
this bug report, in particular the line containing "[Job ] argv[5]"
is relevant, as it contains the options passed to CUPS.

2) Try with modified PPD file that uses the default keyword "Duplex" for the
duplex option

Is the result still the same when you use the modified PPD file
"hl4150cdn_MODIFIED.ppd" that I have attached to this bug? (The only
modification is that I have replaced the vendor-specific keyword "BRDuplex"
with the standard keyword "Duplex", which might change how this is handled in
Qt and/or Okular).

In order to use the modified PPD, you can run the following command in the
directory where the modified PPD is located:
 lpadmin -p  -P  hl4150cdn_MODIFIED.ppd

The same command with the previous PPD file given will reassign that PPD again.

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

[okular] [Bug 373863] Regression Okular 1.0.0 (KDE Applications 16.12.0): Always prints duplex even if told not to.

2017-07-19 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=373863

--- Comment #5 from Michael Weghorn <m.wegh...@posteo.de> ---
I have had a look at the situation and have posted an idea about a possible
cause in bug 373133 where the underlying cause might be the same:
https://bugs.kde.org/show_bug.cgi?id=373133#c9

I would be very thankful in case somebody who is affected by the bug could test
and give feedback whether my assumption there is true for their situation. (I
do not own any of the mentioned printers by myself...)

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

[okular] [Bug 373133] 16.12.0 Okular duplex printing on but no duplex printing done

2017-07-19 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=373133

--- Comment #11 from Michael Weghorn <m.wegh...@posteo.de> ---
Created attachment 106724
  --> https://bugs.kde.org/attachment.cgi?id=106724=edit
modified PPD file that uses the standardized "Duplex" keyword

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

[okular] [Bug 330820] Scaling to fit print margins incorrectly scales cropped page

2017-07-19 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=330820

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[kdelibs] [Bug 329253] KDE Print Dialog does not obey even/odd page setting when printing to file

2017-07-19 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=329253

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 368758] Printing with grayscale option do not work

2017-07-19 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=368758

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 351670] Error opening arabic named PDFs

2017-07-22 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=351670

--- Comment #16 from Michael Weghorn <m.wegh...@posteo.de> ---
(In reply to Michael Weghorn from comment #15)
> Bug 358289 might describe the same issue.

That one has been closed as "Resolved" now.

Is the problem that Okular can't open PDFs with Arabic names still present or
is that problem gone now as well?

In case the problem is still present:
What distribution and what version are you using now (still Manjaro KDE-Next
2015.08?)?
What is the output of the command 'locale'?

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

[okular] [Bug 373133] 16.12.0 Okular duplex printing on but no duplex printing done

2017-07-19 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=373133

--- Comment #16 from Michael Weghorn <m.wegh...@posteo.de> ---
Thank you for providing more information.

I think that the problem (or at least a part of it) is that the PPD uses the
vendor-specific "BRDuplex" keyword instead of the standardized "Duplex" one and
the printer possibly ignores the "Duplex" options in the modified PPD.

The log file shows that the option "sides=one-sided" is even present for the
case where you chose "long sided" in the Okular print dialog (which in my
expectation should have resulted in "sides=two-sided-long-edge"). From a quick
glance, this might be because Qt only handles the "Duplex" keyword to decide
whether a printer supports duplex.

When I try with the modified PPD file, I can see that the option
"sides=two-sided-long-edge" is set as expected in the CUPS log (with no real
printer available, I don't get any output however). Since you said that this
does not work either, the proprietary Brother printer driver ignores it as it
only handles its own vendor-specific option...

Are there other applications where setting the duplex option in the print
dialog does work as expected?
(I just came across
https://askubuntu.com/questions/766471/non-standard-keywords-in-postscript-printer-driver-ppd-break-integration-with)
where somebody else describes problems with the Brother-specific keywords.)

Is it possible that you had previously changed the system-wide setting for the
duplex option and this is now back to the default since you used the original
PPD file again (since duplex is deactivated again)?

Is duplex enabled again for the printouts when you run 'lpoptions -p
 -o BRDuplex=DuplexNoTumble' (and disabled after running
'lpoptions -p  -o BRDuplex=None')?
(This writes the respective value to '$HOME/.cups/lpoptions' and is basically
what my assumption in comment 9 was, but there seems to be more to it in
conjunction with the vendor-specific keyword.)

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

[okular] [Bug 383139] printing to cups printer silently failing (error on console - lpr: The printer or class does not exist)

2017-08-05 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=383139

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 383155] Okular open path or URI contains chinese error

2017-08-05 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=383155

--- Comment #2 from Michael Weghorn <m.wegh...@posteo.de> ---
(In reply to Michael Weghorn from comment #1)
> Some questions that might help to narrow down the issue:
> 
> 1) Does this work if you use a "plain" file path instead of a URI, i.e.
> 
> okular file: /home/stardiviner/Org/Wiki/Thought/Data/Books/国学拾遗.epub
> 

Sorry, I forgot to properly remove everything; what I meant was:

okular /home/stardiviner/Org/Wiki/Thought/Data/Books/国学拾遗.epub

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

[okular] [Bug 383155] Okular open path or URI contains chinese error

2017-08-05 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=383155

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

--- Comment #1 from Michael Weghorn <m.wegh...@posteo.de> ---
Some questions that might help to narrow down the issue:

1) Does this work if you use a "plain" file path instead of a URI, i.e.

okular file: /home/stardiviner/Org/Wiki/Thought/Data/Books/国学拾遗.epub

2) Does it work if you rename the file so that it no longer contains Chineses
characters, but only ASCII characters, e.g. if you make a copy of the file
called "myfile.epub" and then use the following command:

okular file:///home/stardiviner/Org/Wiki/Thought/Data/Books/myfile.epub

3) Can you post the output of the command 'locale'?

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

[okular] [Bug 364809] can't print file that contains invalid UTF-8 sequence

2017-07-30 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=364809

--- Comment #7 from Michael Weghorn <m.wegh...@posteo.de> ---
Can you provide the output of the command 'locale' run from command line?

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

[okular] [Bug 364809] can't print file that contains invalid UTF-8 sequence

2017-07-30 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=364809

--- Comment #8 from Michael Weghorn <m.wegh...@posteo.de> ---
I just experimented a bit. When I use an invalid locale, I can reproduce the
message given in the bug report when printing: 

$ export LC_ALL=foobar
bash: warning: setlocale: LC_ALL: cannot change locale (foobar): No such file
or directory
$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_GB.utf8
LANGUAGE=en_GB:en
LC_CTYPE="foobar"
LC_NUMERIC="foobar"
LC_TIME="foobar"
LC_COLLATE="foobar"
LC_MONETARY="foobar"
LC_MESSAGES="foobar"
LC_PAPER="foobar"
LC_NAME="foobar"
LC_ADDRESS="foobar"
LC_TELEPHONE="foobar"
LC_MEASUREMENT="foobar"
LC_IDENTIFICATION="foobar"
LC_ALL=foobar
$ okular kindergeldänderung3.pdf
[...]
lpr: Bad job-name value: "job-name": Bad name value "Ver�nderungsmitteilung" -
bad UTF-8 sequence (RFC 2911 section 4.1.2).


As mentioned in my previous comment, the output of the 'locale' command might
be very helpful to see whether the problem you are experiencing might also have
to do with incorrect locale settings.

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

[okular] [Bug 383155] Okular open path or URI contains chinese error

2017-08-05 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=383155

--- Comment #4 from Michael Weghorn <m.wegh...@posteo.de> ---
Thank you for your quick reply. This sounds like your problem might be
unrelated to the actual file name, so I suggest to use the file without special
characters for now.

Can you post the output shown on the command line when you run okular from the
command line?

okular /home/stardiviner/Org/Wiki/Thought/Data/Books/kk.epub

Are there any other error messages or warnings shown in Okular that might give
a hint about the problem?

Can you open other epub files in Okular?

The "Platform" field in this bug report indicates that you are using Arch
Linux. Is that correct? Are you using the Okular version that comes packaged
with Arch?
(I haven't checked yet, but it might be that Arch builds Okular without support
for epub files.)

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

[okular] [Bug 271728] Okular does not calculate in PDF forms

2017-09-18 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=271728

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 382859] Okular does not execute JavaScript of PDF forms

2017-09-18 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=382859

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 382860] Okular does not execute any basic PDF form action

2017-09-18 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=382860

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 305915] Submit button not displayed in PDF form opened in Okular

2017-09-18 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=305915

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 382857] PDF form bug in displaying dependent radiobuttons

2017-09-18 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=382857

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 382863] Okular does not submit PDF form content

2017-09-18 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=382863

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 385423] Okular print dialog doesn't offer "landscape" nor "portrait" options for paper rotation

2017-10-14 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=385423

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 385456] Okular do not print PDF containing vertical direction document.

2017-10-14 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=385456

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 169847] split view feature

2017-10-14 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=169847

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 331697] can't fill out pdf form

2017-10-11 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=331697

--- Comment #9 from Michael Weghorn <m.wegh...@posteo.de> ---
Created attachment 108282
  --> https://bugs.kde.org/attachment.cgi?id=108282=edit
another sample PDF from which shows the same problem, cause a bit different

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

[okular] [Bug 331697] can't fill out pdf form

2017-10-11 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=331697

--- Comment #6 from Michael Weghorn <m.wegh...@posteo.de> ---
Created attachment 108278
  --> https://bugs.kde.org/attachment.cgi?id=108278=edit
given sample file, "cleaned" using "mutool"

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

[okular] [Bug 331697] can't fill out pdf form

2017-10-11 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=331697

--- Comment #7 from Michael Weghorn <m.wegh...@posteo.de> ---
Created attachment 108279
  --> https://bugs.kde.org/attachment.cgi?id=108279=edit
given sample file with removed "DA" entry for field "Startbahnhof"

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

[okular] [Bug 331697] can't fill out pdf form

2017-10-11 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=331697

--- Comment #10 from Michael Weghorn <m.wegh...@posteo.de> ---
I analysed the problem with the attached PDF form. As far as I understand it so
far, the root cause is basically an "incorrect" PDF file, not Poppler.

For easier analysis in a text editor, I created a "cleaned" version of the
document using the command "mutool clean -d -a bug331697.pdf" which makes
binary streams being ASCII encoded and decompresses streams. The resulting PDF
document is attached as file "bug331697_MUTOOL_CLEANED.pdf".


The PDF specification
(https://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdf_reference_1-7.pdf)
describes how appearance streams for variable text must be created, s. p.
677ff; extract:

[Start quote]

"For non-rich text fields, the appearance stream—which, like all appearance
streams, is a form XObject—has the contents of its form dictionary initialized
as
follows:
• The resource dictionary ( Resources ) is created using resources from the
inter-
active form dictionary’s DR entry (see Table 8.67); see also implementation
note
118 in Appendix H.
• The lower-left corner of the bounding box ( BBox ) is set to coordinates (0,
0) in
the form coordinate system. The box’s top and right coordinates are taken from
the dimensions of the annotation rectangle (the Rect entry in the widget anno-
tation dictionary).
• All other entries in the appearance stream’s form dictionary are set to their
default values (see Section 4.9, “Form XObjects”).

[...]

The default appearance string ( DA ) contains any graphics state or text state
oper-
ators needed to establish the graphics state parameters, such as text size and
color,
for displaying the field’s variable text. Only operators that are allowed
within text
objects may occur in this string (see Figure 4.1 on page 197). At a minimum,
the
string must include a Tf (text font) operator along with its two operands, font
and
size . The specified font value must match a resource name in the Font entry of
the
default resource dictionary (referenced from the DR entry of the interactive
form
dictionary; see Table 8.67).

[End quote]


The corresponding object for the first form field in the ("cleaned") PDF file,
"Startbahnhof", is the following widget annotation:

~~~
417 0 obj
<<
  /DA (/Helvetica 10 Tf 0 g)
  /F 4
  /FT /Tx
  /Ff 12582912
  /MK 473 0 R
  /P 370 0 R
  /Rect [ 98.7881 466.621 430.018 482.513 ]
  /StructParent 5
  /Subtype /Widget
  /T (S1F4)
  /TU (Startbahnhof)
  /Type /Annot
  /V <>
>>
endobj
~~~

It contains a "DA" (default appearance) entry of "/Helvetica 10 Tf 0 g"

As described in the quote above, the "DR" entry from the interactive form
dictionary is used to initialize the resources in the appearance stream to be
constructed. The interactive form dictionary is the following object:

~~~
411 0 obj
<<
  /DA (/Helv 0 Tf 0 g )
  /DR <<
/Encoding <<
  /PDFDocEncoding 91 0 R
>>
/Font <<
  /Helv 90 0 R
  /ZaDb 435 0 R
>>
  >>
  /Fields [ 89 0 R 50 0 R 87 0 R 88 0 R 62 0 R 63 0 R 81 0 R 82 0 R
  66 0 R 67 0 R 40 0 R 41 0 R 68 0 R 414 0 R 415 0 R 416 0 R
  418 0 R 417 0 R 419 0 R 420 0 R 421 0 R 69 0 R 422 0 R 423 0 R
  424 0 R 425 0 R 426 0 R 51 0 R 52 0 R 70 0 R 64 0 R 43 0 R
  65 0 R 427 0 R 447 0 R 446 0 R 445 0 R 444 0 R 443 0 R 442 0 R
  441 0 R 440 0 R 439 0 R 438 0 R 437 0 R 436 0 R 434 0 R
  433 0 R 432 0 R 431 0 R 430 0 R 429 0 R 428 0 R 71 0 R 38 0 R ]
  /SigFlags 2
>>
endobj
~~~

The contained default resources ("DR" entry) do contain a font called
"Helvetica" as it is used in the "DA" entry of the form field (only one called
"Helv").
For that reason, the appearance stream is not "properly" created, which leads
to the text not being shown in the filled in form.

The interactive form dictionary also contains a default appearance ("DA")
entry. That one uses the font "Helv", which is specified in the resources. As
explained on p. 673 in the PDF spec, that (optional) "DA" serves as a
document-wide default value for the DA attribute of variable text fields.
However, since the text field has its own value, the default value is not used
for the form element in the given PDF file and the mismatch as described above
occurs.


For testing purposes, I removed the "DA" entry in the form field element for
"Startbahnhof" (line 11622) (and had "mutool" fix the xref afterwards). The
resulting PDF file is attached as "bug331697_removedDA.pdf".
With that modified file, the default DA entry specified in the interactive form
dictionary is used, the font name "Helv" used there does match and the
appearance stream is constructed as desired. The text is shown in Okular in the
fi

[okular] [Bug 331697] can't fill out pdf form

2017-10-12 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=331697

--- Comment #13 from Michael Weghorn <m.wegh...@posteo.de> ---
(In reply to Nate Graham from comment #12)
> So that would mean, for bugs like these, we would close the bug against
> Okular and re-open it against Poppler saying "Poppler should better handle
> the following case of the PDF file being malformed."

Thank you for your quick reply. I have now opened a bug report against Poppler:
https://bugs.freedesktop.org/show_bug.cgi?id=103245

I do not see how I could close this bug report here (against Okular), so I am
possibly missing the respective permissions.
Could somebody else possibly close it instead (or tell me how I can close it)?

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

[okular] [Bug 331697] can't fill out pdf form

2017-10-12 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=331697

--- Comment #15 from Michael Weghorn <m.wegh...@posteo.de> ---
(In reply to Nate Graham from comment #14)
> Ah, you don't have close permission because you're not the originator of the
> ticket. I'll close it for you, and let's continue to track the upstream bug:
> https://bugs.freedesktop.org/show_bug.cgi?id=103245

Thanks!

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

[okular] [Bug 301774] Wish: New option to save embedded annotation upon change/document close

2017-10-12 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=301774

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 151614] store annotations with documents

2017-10-12 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=151614

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 362996] Okular does not prompt to save form data

2017-10-16 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=362996

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 267350] filling out a PDF form saves data to some file i ~/.kde/share/apps/okular/docdata/

2017-10-16 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=267350

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 317346] Okular overwrites PDF form data without asking

2017-10-16 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=317346

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 314755] "Color options" from "Print Dialog -> Properties -> Advanced" override "Color options" from "Print Dialog -> Options -> Options"

2017-08-21 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=314755

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 286825] Okular should generate PDFs when printing instead of GhostScript

2017-08-21 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=286825

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 59025] no feedback given while preparing print output

2017-08-21 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=59025

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 360603] Markdown (.md) support

2017-08-21 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=360603

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 331697] can't fill out pdf form

2017-10-11 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=331697

--- Comment #8 from Michael Weghorn <m.wegh...@posteo.de> ---
Created attachment 108281
  --> https://bugs.kde.org/attachment.cgi?id=108281=edit
new version of the form from website of "Deutsche Bahn", works fine with Okular

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

[okular] [Bug 233806] I can't verify digital signature(s) in PDF files

2017-12-16 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=233806

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 387665] Hiding comments

2017-12-16 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=387665

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 378186] annotations created by okular display wrongly in adobe reader

2017-12-16 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=378186

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 335033] [Forms][Checkbox] Printing shows a 4 instead of a checkmark

2017-12-16 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=335033

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 283477] Missing language specific characters when filling in forms

2017-12-16 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=283477

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

[okular] [Bug 288042] Option to reset forms (PDF)

2017-12-16 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=288042

Michael Weghorn <m.wegh...@posteo.de> changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

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

  1   2   3   4   5   >