[okular] [Bug 492358] Values of some form fields are not shown in non-forms mode

2024-11-01 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=492358

--- Comment #3 from Oliver Sander  ---
I opened a corresponding poppler issue with some additional information at
https://gitlab.freedesktop.org/poppler/poppler/-/issues/1529.  However, it is
not clear at this point whether this is really a poppler problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 494343] PDF misrendered

2024-10-09 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=494343

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #2 from Oliver Sander  ---
This is likely to be a poppler bug.  (Poppler is the library used by Okular to
do the actual rendering).

Can you try to convert your file to png using the pdftoppm tool?  If this also
shows the misrendering then please close the bug here and open another one at
https://gitlab.freedesktop.org/poppler/poppler/-/issues

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 493623] After digitally signing, Okular window shows "doesn't react"

2024-10-03 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=493623

--- Comment #1 from Oliver Sander  ---
It seems like
https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/1611 fixes
this.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 493622] Signing a small pdf document increases its size tremendously

2024-10-03 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=493622

--- Comment #8 from Oliver Sander  ---
Thank you Sune! I tested the patch and it does indeed solve the issue for me!

Incidentally, it also seems to fix https://bugs.kde.org/show_bug.cgi?id=493623
for me (where Okular wouldn't react for a while after signing).  Maybe it was
embedding all those fonts that make Okular unresponsive.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 493622] Signing a small pdf document increases its size tremendously

2024-10-01 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=493622

--- Comment #3 from Oliver Sander  ---
Is that intentional? Is that necessary? All of a sudden Thunderbird warns me
when I want to send a signed one-page text document, because the file is so
big.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 493622] Signing a small pdf document increases its size tremendously

2024-10-01 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=493622

--- Comment #5 from Oliver Sander  ---
The original document is the one attached to this bug report.

~/tmp> pdffonts hallo-welt.pdf 
name type  encoding emb sub
uni object ID
 -  --- ---
--- -
BA+LiberationSerif   TrueType  WinAnsi  yes yes
yes 11  0
~/tmp>

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 493623] New: After digitally signing, Okular window shows "doesn't react"

2024-09-25 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=493623

Bug ID: 493623
   Summary: After digitally signing, Okular window shows "doesn't
react"
Classification: Applications
   Product: okular
   Version: unspecified
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: PDF backend
  Assignee: okular-devel@kde.org
  Reporter: oliver.san...@tu-dresden.de
  Target Milestone: ---

With the new signing UX, after I have clicked on the "finish signing" button,
Okular becomes unresponsive for a few seconds.  During that time, the entire
Okular window fades to grey and the window title says "Okular reagiert nicht
(Okular doesn't react)".

I guess that this is simply the time it takes Okular to do the actual signing.
A better progress indicator would be appreciated, but the real problem is that
Okular doesn't come back properly.  After a few seconds, the new signature
appears together with the "this document is digitally signed" message. 
However, the window remains grey, and the "doesn't react" message does not go
away. Only after I switch the focus to another window and then back Okular does
everything go back to normal.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.10.9-amd64 (64-bit)
Graphics Platform: offscreen
Processors: 8 × Intel® Core™ i7-8565U CPU @ 1.80GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 493622] Signing a small pdf document increases its size tremendously

2024-09-25 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=493622

--- Comment #1 from Oliver Sander  ---
I can't attach the signed test file (it's too big), but you can download it
from https://datashare.tu-dresden.de/s/XDjHYGzpdd2jtCo .

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 493622] New: Signing a small pdf document increases its size tremendously

2024-09-25 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=493622

Bug ID: 493622
   Summary: Signing a small pdf document increases its size
tremendously
Classification: Applications
   Product: okular
   Version: unspecified
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: PDF backend
  Assignee: okular-devel@kde.org
  Reporter: oliver.san...@tu-dresden.de
  Target Milestone: ---

Created attachment 174060
  --> https://bugs.kde.org/attachment.cgi?id=174060&action=edit
Test file

Signing a small pdf file increases its size a lot.  The attached test file goes
from 24KB to 17MB.  I guess a bit of size increase is expected, but not that
much.


SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.10.9-amd64 (64-bit)
Graphics Platform: offscreen
Processors: 8 × Intel® Core™ i7-8565U CPU @ 1.80GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 369111] please add option to build mobile or not in CMakeLists.txt

2024-09-25 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=369111

Oliver Sander  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED
 CC||oliver.san...@tu-dresden.de

--- Comment #1 from Oliver Sander  ---
I see such an option in the current CMakeLists.txt. Please open a new, more
specific bug report if that option doesn't do what it is supposed to.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

2024-09-25 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=286825

Oliver Sander  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED

--- Comment #20 from Oliver Sander  ---
The patch

   https://invent.kde.org/graphics/okular/-/merge_requests/1046 

got merged recently.  With this, Okular really does now send the pdf file
directly to the printer in a lot of important cases.

With this, let's consider the bug fixed.  Please reopen if you disagree.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 492358] Values of some form fields are not shown in non-forms mode

2024-08-31 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=492358

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #2 from Oliver Sander  ---
pdftoppm does not show the date either.  Is this rather a poppler bug, then?

pdftoppm prints

Syntax Error: Unknown font tag 'Helvetica'
Syntax Error (315229): No font in show

This may be where to start looking.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 491780] Autoplay does not work for movies in Screen annotations

2024-08-22 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=491780

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #3 from Oliver Sander  ---
Thanks for the patch.  Can you please submit it as a merge request at
https://invent.kde.org/graphics/okular/-/merge_requests ?

It makes reviewing it much easier.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 486681] Display comments created by latex pdfcomment

2024-05-06 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=486681

--- Comment #3 from Oliver Sander  ---
Thank you!  Please also attach the LaTeX source file.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 486681] Display comments created by latex pdfcomment

2024-05-06 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=486681

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #1 from Oliver Sander  ---
Please provide a simple test file.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 482363] Checkboxes on forms do not show as checked even though they are checked

2024-03-06 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=482363

--- Comment #11 from Oliver Sander  ---
Is this maybe a font issue?  Because I do see the checkmark in the box even
with disabled 'forms' mode.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 482363] Checkboxes on forms do not show as checked even though they are checked

2024-03-06 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=482363

--- Comment #8 from Oliver Sander  ---
Do you have access to Adobe professional? Then you could try to strip the
problematic of all the confidential parts.  Really, the/a file is needed to fix
this.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 482363] Checkboxes on forms do not show as checked even though they are checked

2024-03-05 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=482363

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #6 from Oliver Sander  ---
You can find the word processor that generated your particular document by
looking at "File -> Properties".

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 478540] Can't edit form field after entering invalid character

2024-01-03 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=478540

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #1 from Oliver Sander  ---
Is this possibly a duplicate of https://bugs.kde.org/show_bug.cgi?id=474889 ?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Re: Removing import Postscript as PDF feature?

2023-11-24 Thread Oliver Sander

I'm also trying to flip it around a  bit. If this was proposed today where we
have a postscript generator in okular, would we accept this feature?


Also, don't you get the same functionality by loading the postscript as 
postscript,
and then printing it to a file (at least in principle)?  I'd consider that way
of converting postscript to pdf more natural.

Best,
Oliver


smime.p7s
Description: S/MIME Cryptographic Signature


[okular] [Bug 474889] New: Form field misuse leads to 'NaN' which won't disappear

2023-09-26 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=474889

Bug ID: 474889
   Summary: Form field misuse leads to 'NaN' which won't disappear
Classification: Applications
   Product: okular
   Version: 23.08.1
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: PDF backend
  Assignee: okular-devel@kde.org
  Reporter: oliver.san...@tu-dresden.de
  Target Milestone: ---

Created attachment 161880
  --> https://bugs.kde.org/attachment.cgi?id=161880&action=edit
The problematic document

I have a pdf document with a form field that should (I guess) only accept
numbers.  By deliberate entering a non-digit I can make it show NaN. 
Afterwards, it is not possible to remove this NaN again.

STEPS TO REPRODUCE
1. Open the attached document; click on 'show forms'
2. Click on the top left square (below "70 Liter")
3. Enter the letter X
4. Click outside of that square --> the X changes to NaN
5. Click into the square again --> the NaN changes back to X
6. Replace the X by a 2
7. Click on "hide forms"

OBSERVED RESULT

Instead of the number "2" the "NaN" is shown again.

EXPECTED RESULT

I am not quite sure what to expect.  Should I be prevented from entering
non-digits in the first place?  At the very least I would expect to see a "2"
at the end of the seven steps, not NaN.

SOFTWARE/OS VERSIONS
Betriebssystem: Debian GNU/Linux 12
KDE-Plasma-Version: 5.27.5
KDE-Frameworks-Version: 5.103.0
Qt-Version: 5.15.8

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 474888] Signing requires (empty) password in document that has password-restriction for modification

2023-09-26 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=474888

--- Comment #1 from Oliver Sander  ---
Created attachment 161879
  --> https://bugs.kde.org/attachment.cgi?id=161879&action=edit
Acrobat security settings

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 474888] New: Signing requires (empty) password in document that has password-restriction for modification

2023-09-26 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=474888

Bug ID: 474888
   Summary: Signing requires (empty) password in document that has
password-restriction for modification
Classification: Applications
   Product: okular
   Version: unspecified
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: PDF backend
  Assignee: okular-devel@kde.org
  Reporter: oliver.san...@tu-dresden.de
  Target Milestone: ---

Created attachment 161878
  --> https://bugs.kde.org/attachment.cgi?id=161878&action=edit
The problematic document

The attached pdf file contains a signature form field.  However, when trying to
sign it I am asked for a password.  Using the empty string as the password
allows me to sign the document.

The reason is apparently that in this document the *modification* of the
document is password-restricted.   Please see the attached Acrobat security
settings (German only, sorry. The blue line says: "Admissible changes:
Filling-out form fields and signing existing signature fields".)

SOFTWARE/OS VERSIONS
Betriebssystem: Debian GNU/Linux 12
KDE-Plasma-Version: 5.27.5
KDE-Frameworks-Version: 5.103.0
Qt-Version: 5.15.8

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 465055] All PDFs are shown stretched in y-axis

2023-08-23 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=465055

--- Comment #24 from Oliver Sander  ---
I would still be interested to see what your Utils::realDpi method does.  Have
you been able to get your local Okular to link yet?

Looking at the code again I see that if the system reports different dpi for x
and y (which are then ignored) it issues a warning:

  qCDebug(OkularCoreDebug) << "QScreen calculation returned a non square dpi."
<< res << ". Falling back";

Do you see this message when you enable Okular debug output with kdebugdialog5?
(KDE gurus: please correct me if something else is needed to enable the
warning).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 471422] Okular crashes when opening specific PDF files

2023-06-25 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=471422

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de
 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

--- Comment #1 from Oliver Sander  ---
Backtrace:

#0  getCertificateInfoFromCERT (cert=0x5679e5e0)
at /home/sander/poppler/poppler/NSSCryptoSignBackend.cc:619
#1  0x7fffa946d674 in NSSSignatureVerification::getCertificateInfo
(this=0x567776a0)
at /home/sander/poppler/poppler/NSSCryptoSignBackend.cc:658
#2  0x7fffa934bf29 in FormFieldSignature::validateSignature
(this=0x55bade30, 
doVerifyCert=doVerifyCert@entry=true,
forceRevalidation=forceRevalidation@entry=false, 
validationTime=-1, ocspRevocationCheck=,
enableAIA=enableAIA@entry=false)
at /home/sander/poppler/poppler/Form.cc:2419
#3  0x7fffa934bfd8 in FormWidgetSignature::validateSignature
(this=this@entry=0x567789b0, 
doVerifyCert=doVerifyCert@entry=true,
forceRevalidation=forceRevalidation@entry=false, 
validationTime=, ocspRevocationCheck=, 
enableAIA=enableAIA@entry=false) at
/home/sander/poppler/poppler/Form.cc:578
#4  0x7fffbda685ff in Poppler::FormFieldSignature::validate
(this=this@entry=0x567779b0, 
opt=opt@entry=1, validationTime=...) at
/home/sander/poppler/qt5/src/poppler-form.cc:1021
#5  0x7fffbda688f1 in Poppler::FormFieldSignature::validate
(this=0x567779b0, 
opt=Poppler::FormFieldSignature::ValidateVerifyCertificate)
at /home/sander/poppler/qt5/src/poppler-form.cc:971
#6  0x7fffbdb11d9d in PopplerFormFieldSignature::PopplerFormFieldSignature
(this=0x56786fc0, 
field=std::unique_ptr = {...})
at /home/sander/kde-invent/okular/generators/poppler/formfields.cpp:400
#7  0x7fffbdafe571 in PDFGenerator::getFormFields (this=0x55aaba90,
popplerPage=0x567782c0)
at /home/sander/kde-invent/okular/generators/poppler/generator_pdf.cpp:1934
#8  0x7fffbdaf8603 in PDFGenerator::loadPages (this=0x55aaba90,
pagesVector=..., rotation=0, 
clear=false) at
/home/sander/kde-invent/okular/generators/poppler/generator_pdf.cpp:873
--Type  for more, q to quit, c to continue without paging--c
#9  0x7fffbdaf7cca in PDFGenerator::init (this=0x55aaba90,
pagesVector=..., password=...)
at /home/sander/kde-invent/okular/generators/poppler/generator_pdf.cpp:734
#10 0x7fffbdaf789a in PDFGenerator::loadDocumentWithPassword
(this=0x55aaba90, filePath=..., 
pagesVector=..., password=...)
at /home/sander/kde-invent/okular/generators/poppler/generator_pdf.cpp:678
#11 0x7fffe8207abb in Okular::DocumentPrivate::openDocumentInternal
(this=0x557d8c40, 
offer=..., isstdin=false, docFile=..., filedata=..., password=...)
at /home/sander/kde-invent/okular/core/document.cpp:942
#12 0x7fffe8211571 in Okular::Document::openDocument (this=0x557af760,
docFile=..., url=..., 
_mime=..., password=...) at
/home/sander/kde-invent/okular/core/document.cpp:2460
#13 0x7fffe04d1184 in Okular::Part::doOpenFile (this=0x556254f0,
mimeA=..., 
fileNameToOpenA=..., isCompressedFile=0x7fffd077)
at /home/sander/kde-invent/okular/part/part.cpp:1465
#14 0x7fffe04d20e6 in Okular::Part::openFile (this=0x556254f0)
at /home/sander/kde-invent/okular/part/part.cpp:1599
#15 0x77f50785 in ?? () from /lib/x86_64-linux-gnu/libKF5Parts.so.5
#16 0x77f5187e in KParts::ReadOnlyPart::openUrl(QUrl const&) ()
   from /lib/x86_64-linux-gnu/libKF5Parts.so.5
#17 0x7fffe04d3a86 in Okular::Part::openUrl (this=0x556254f0, _url=..., 
swapInsteadOfOpening=false) at
/home/sander/kde-invent/okular/part/part.cpp:1825
#18 0x7fffe04d363a in Okular::Part::openUrl (this=0x556254f0, url=...)
at /home/sander/kde-invent/okular/part/part.cpp:1773
#19 0x55572980 in Shell::openUrl (this=0x5578d2c0, url=...,
serializedOptions=...)
at /home/sander/kde-invent/okular/shell/shell.cpp:418
#20 0x555724e0 in Shell::openDocument (this=0x5578d2c0, url=...,
serializedOptions=...)
at /home/sander/kde-invent/okular/shell/shell.cpp:362
#21 0x5556e290 in Okular::main (paths=..., serializedOptions=...)
at /home/sander/kde-invent/okular/shell/okular_main.cpp:216
#22 0x5556b4fc in main (argc=2, argv=0x7fffdc08)
at /home/sander/kde-invent/okular/shell/main.cpp:97
(gdb)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 470734] Printing is extremely slow (Win10)

2023-06-07 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=470734

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #2 from Oliver Sander  ---
> Assumption: Okular sends (large) rendered bitmaps to the printer (sub system 
> of Windows) where Acrobat Reader sends (small) texts.

That's essentially correct.  The code is in the method PDFGenerator::print in
the file generator_pdf.cpp.

Improving the situation is not particularly difficult, but it needs somebody
with both the time to do it and a Windows machine.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Re: Feature request/enquiry: Overprint support

2023-06-02 Thread Oliver Sander

No problems, I've reached out to a company we've previously had
discussions with - if that's not fruitful, do you have any specific
recommendations? (Happy if you'd prefer to email me directly/off list)


My employer has hired KDAB [CCed] several times for Okular/Poppler work,
and we have always been very satisfied with the results.


smime.p7s
Description: S/MIME Cryptographic Signature


[okular] [Bug 126942] Kghostview can't show any overprint preview

2023-06-01 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=126942

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #3 from Oliver Sander  ---
Can you please attach an example file?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Re: Feature request/enquiry: Overprint support

2023-06-01 Thread Oliver Sander

Hi Bernard,


Turns out, there was already a bug raised in 2006(!):
https://bugs.kde.org/show_bug.cgi?id=126942


thanks for finding this.


I've added links back to this mailing list thread - is there any way I
am able to raise the profile of this ticket to get it looked at
(beyond having this discussion)?


to be honest I think you need professional support for this.
Overprint support is a bit exotic, and you are very unlikely to find
a volunteer with the motivation, the time and the skills to implement this.
In a previous email you mentioned that you write on behalf
of a company.  I strongly suggest that you ask them for money to hire
one of the companies that offers professional Okular support.

Best,
Oliver


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Feature request/enquiry: Overprint support

2023-05-30 Thread Oliver Sander

Bernard, can you explain more precisely what it is that you need?
Without it I don't think you will get a better answer.


Sorry for this: I just found your last email which gives more information.
Let me digest those first.


Maybe open a feature request at bugs.kde.org -- that's more easily kept track 
of.


That I think is still a good idea.

Best,
Oliver



Cheers,
Oliver


On 29.05.23 21:49, Laura David Hurka wrote:

Hi Bernard,

I don’t know exactly what overprinting is, or what your requirements are.
I understand it as a feature similar to PDF layers.
Okular has a side panel for layers, you can try it with the last page of what
a quick internet search gave me:

https://www.edcfiresafe.org/wp-content/uploads/2015/12/Using-Layerd-PDFs-with-Sample-Map.pdf

I assume your requirement is to display the document correctly, only on your
screen of your local desktop computer.

My conclusion is that Poppler (the PDF library normally used by Okular) will
need to support “overprinting”.
If a user interface is necessary, that should be a sensible addition to
Okular, similar to how layers already have a user interface.

Cheers, David


Hi everyone,

We are currently supporting a very old version of 32 bit adobe reader on
our ubuntu 22.04/kde desktops, due to the requirement for support for a PDF
feature called "Overprint" which is used by our label printing supplier (I
work for an Australian winery)

[...]

Is this feature something Okular would be interested in developing?






smime.p7s
Description: S/MIME Cryptographic Signature


Re: Feature request/enquiry: Overprint support

2023-05-30 Thread Oliver Sander

Hi,

poppler does have overprinting support (to a certain extent).  See for example
the manpage of pdftops.

Bernard, can you explain more precisely what it is that you need?
Without it I don't think you will get a better answer.

Maybe open a feature request at bugs.kde.org -- that's more easily kept track 
of.

Cheers,
Oliver


On 29.05.23 21:49, Laura David Hurka wrote:

Hi Bernard,

I don’t know exactly what overprinting is, or what your requirements are.
I understand it as a feature similar to PDF layers.
Okular has a side panel for layers, you can try it with the last page of what
a quick internet search gave me:

https://www.edcfiresafe.org/wp-content/uploads/2015/12/Using-Layerd-PDFs-with-Sample-Map.pdf

I assume your requirement is to display the document correctly, only on your
screen of your local desktop computer.

My conclusion is that Poppler (the PDF library normally used by Okular) will
need to support “overprinting”.
If a user interface is necessary, that should be a sensible addition to
Okular, similar to how layers already have a user interface.

Cheers, David


Hi everyone,

We are currently supporting a very old version of 32 bit adobe reader on
our ubuntu 22.04/kde desktops, due to the requirement for support for a PDF
feature called "Overprint" which is used by our label printing supplier (I
work for an Australian winery)

[...]

Is this feature something Okular would be interested in developing?






smime.p7s
Description: S/MIME Cryptographic Signature


[okular] [Bug 470108] Touchscreen zoom not working as expected

2023-05-22 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=470108

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #1 from Oliver Sander  ---
See https://invent.kde.org/graphics/okular/-/merge_requests/134

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 465055] All PDFs are shown stretched in y-axis

2023-05-17 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=465055

--- Comment #21 from Oliver Sander  ---
Did you get Okular to build and link on your computer in the meantime?  My
apologies,  but I am not the one who can help with linker problems.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 461371] PDFs digitally signed with Okular become locked in Adobe Acrobat so no one else can sign it

2023-05-03 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=461371

--- Comment #5 from Oliver Sander  ---
I asked the colleague I mentioned above to test this, and it seems that the
issue is indeed fixed for us as well.  Thank you!

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 469044] Crash when closing an PDF file with digital sign

2023-04-27 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=469044

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #1 from Oliver Sander  ---
Can you try this with a very new poppler and Okular?  The signature code is
being worked on and your problem may have been fixed already.

Also, does this happen with every document with a signature?

Can you share such a document?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 468819] The application's title bar is set to the title in the PDF doc, instead of the filename

2023-04-22 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=468819

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #3 from Oliver Sander  ---
The sixth option in settings --> okular settings --> general

(actual names may differ, my Okular UI is not English)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 468112] Use Cairo backend for Poppler wrapper used in Okular

2023-04-03 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=468112

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #2 from Oliver Sander  ---
See https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/546

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 468017] Percentage value not localised

2023-04-02 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=468017

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #1 from Oliver Sander  ---
Is this fixed by your patch
https://invent.kde.org/graphics/okular/-/merge_requests/675 ?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Re: segmentation fault 22.04.3

2023-03-19 Thread Oliver Sander

Thank you Albert. The pdf file is not relevant here though. Not when other 
viewers such as xpdf handle the file without a problem.


The pdf file is certainly relevant.  It is very difficult to fix a crash
in a particular file without having the file.

Please open an issue on bugs.kde.org and attach the file.

Best,
Oliver


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Digital signature: font & content of the rectangle

2023-03-16 Thread Oliver Sander

Hi Guillaume,

most of what is missing has been implemented in

  https://invent.kde.org/graphics/okular/-/merge_requests/537

Best,
Oliver

On 15.03.23 18:31, Guillaume Gheysen wrote:

Dear Okular developers,

I am using Okular to e-sign documents (using Belgian Eid) and I really 
appreciate your work. However, I don't find the options to configure the 
signature drawn on the pdf (font, content, etc.) and I need to make a huge 
rectangle to have a visible signature (which is not often possible). It is 
possible to have information about this configuration or do you know when this 
feature will be available ? Thank you.

Best regards,

Guillaume Gheysen


smime.p7s
Description: S/MIME Cryptographic Signature


[okular] [Bug 467328] Okular mismanages fonts embedded in PDF document when printing

2023-03-16 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=467328

--- Comment #13 from Oliver Sander  ---
1) Yes, poppler is used

2) On Windows, rasterization resolution follows the printer.  Elsewhere, 300dpi
is hardcoded.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 467328] Okular mismanages fonts embedded in PDF document when printing

2023-03-15 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=467328

--- Comment #6 from Oliver Sander  ---
I fully agree that `force rasterization` is only a workaround.

Okular currently converts pdf files to postscript and sends that to the printer
(I forgot why exactly). Presumably it is the conversion step that goes wrong in
your case.  If you want to have a look at the code: That's at
`generator_pdf.cpp:1366`.

There used to be a patch that made Okular send the pdf file straight to the
printer, but I can't seem to find it right now.

And then there's the official Qt way of printing: Render everything to a
`QPrinter` object.  Code for that is at
https://invent.kde.org/graphics/okular/-/merge_requests/411 , but that has its
own set of problems.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 467328] Okular mismanages fonts embedded in PDF document when printing

2023-03-14 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=467328

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #4 from Oliver Sander  ---
Printing in Okular is a bit special.

I conjecture that you can print your document if you select the 'force
rasterization' option in the print dialog.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 459174] okular crashes after signature checking

2023-03-09 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=459174

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #8 from Oliver Sander  ---
Without having tried this myself: There has been a great number of bug reports
similar to this one, and they have all been solved by updating to newer
versions.  Please try to get the latest flatpack version of Okular or build it
from source and report back if the bug is still there.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 465055] All PDFs are shown stretched in y-axis

2023-02-03 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=465055

--- Comment #15 from Oliver Sander  ---
Building Okular is described at https://okular.kde.org/build-it/

> But I guess, when I compile my own okular, it will display a circle - 
> murphy's law :-)

That's possible.  But then you will have free time to fix some other Okular bug
if you are interested.  There are lot's. :-)

BTW, have you checked whether your issue persists if you change from X11 to
Wayland or vice versa?

I don't think hidden config files have anything to do with this, but I may be
wrong.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 465055] All PDFs are shown stretched in y-axis

2023-02-03 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=465055

--- Comment #13 from Oliver Sander  ---
Relax.  This is just very difficult to debug without being able to reproduce it
locally.

Access to dpi information is gathered in the method `realDpi` in the file
`utils.cpp`.  Are you able to build your own Okular (it is not very difficult)?
If so, this is the place to start looking.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 465055] All PDFs are shown stretched in y-axis

2023-02-02 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=465055

--- Comment #8 from Oliver Sander  ---
What happens when you swap the monitors?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 465055] All PDFs are shown stretched in y-axis

2023-02-02 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=465055

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #6 from Oliver Sander  ---
Well, even if it is, it must be something subtle, because most people see a
rendering of the circle in just the way it should be.  Albert and me, for
example.

Is your setup a laptop with a built-in screen?  Can you reproduce the problem
if you use another screen?  Another computer?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 464716] Very slow render time on restaurant menu

2023-01-24 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=464716

Oliver Sander  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED
 CC||oliver.san...@tu-dresden.de

--- Comment #1 from Oliver Sander  ---
I can confirm the multi-second pauses, even with the recent efficiency
improvements in PagePainter.

The document is indeed a single page, with custom size 452 x 2529 m.  It
contains a single image with 2312 x 12943 pixels.  Okular apparently renders
only the visible parts, and that seems to take a while.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 443403] Reduce the size of the digital signature display

2022-12-16 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=443403

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #15 from Oliver Sander  ---
This is probably fixed by
https://invent.kde.org/graphics/okular/-/merge_requests/537

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 423360] Viewport blinks (flashes, disappears) while scrolling or dragging at moderate or high zoom levels

2022-12-08 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=423360

--- Comment #9 from Oliver Sander  ---
Is this still an issue now that
https://invent.kde.org/graphics/okular/-/merge_requests/665 has been merged?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 460681] Laggy scrolling on high DPI display - profiling indicates excessive copying in PagePainter::paintCroppedPageOnPainter

2022-12-08 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=460681

Oliver Sander  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED

--- Comment #4 from Oliver Sander  ---
Fixed by merging https://invent.kde.org/graphics/okular/-/merge_requests/665 .

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 462579] the barcodes disappear in the printed edition under okular

2022-12-05 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=462579

Oliver Sander  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |FIXED
 CC||oliver.san...@tu-dresden.de
 Status|NEEDSINFO   |RESOLVED

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 457739] Okular handbook confused on annotations

2022-12-01 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=457739

Oliver Sander  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/grap
   ||hics/okular/commit/0136eddb
   ||12151530bd162fd9b8862926a55
   ||007e3
 Resolution|--- |FIXED

--- Comment #7 from Oliver Sander  ---
Git commit 0136eddb12151530bd162fd9b8862926a55007e3 by Oliver Sander, on behalf
of Paul Worrall.
Committed on 01/12/2022 at 15:29.
Pushed by sander into branch 'master'.

Handbook: Select Browse to edit/delete annotations

Minor change to handbook to say that the Browse tool has to be selected before
you can edit or delete annotations

M  +2-2doc/index.docbook

https://invent.kde.org/graphics/okular/commit/0136eddb12151530bd162fd9b8862926a55007e3

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 462304] Okular and other poppler related tools cannot handle some pdf pages

2022-11-28 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=462304

--- Comment #7 from Oliver Sander  ---
Yes please.  You should be able to reproduce the bug with the `pdftoppm` tool
(which is part of poppler).  That way, your bug report becomes independent from
Okular.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 462304] Okular and other poppler related tools cannot handle some pdf pages

2022-11-27 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=462304

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #5 from Oliver Sander  ---
Can you post a poppler bug for this, please?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 436742] Involuntary scrolling when annotations encounter edge of page

2022-11-15 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=436742

Oliver Sander  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/grap
   ||hics/okular/commit/e6002e79
   ||8d06cf52a71d9d35716c4d0b9c2
   ||82d99
 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED

--- Comment #4 from Oliver Sander  ---
Git commit e6002e798d06cf52a71d9d35716c4d0b9c282d99 by Oliver Sander, on behalf
of Nikola Nikolic.
Committed on 15/11/2022 at 13:30.
Pushed by sander into branch 'master'.

Fix: Involuntary scrolling when annotations encounter the edge of the page

There are three reasons why scrolling happens (first two cases of scrolling are
actually due to
viewport transition that is triggered by annotation being traslated/created):

1. VisiblePageRect are NormalizedRect and should be represented by four values
in [0, 1] interval.
   Due to rounding errors caused by using QRect, they only reach the [0, 0.999]
interval.
   That means that right and bottom edge of the page are never visible so if
annotation
   is translated along the right/bottom edge viewport transition occurs (fixed
in
   PageView::slotRequestVisiblePixmaps)

2. For freehand line there are some constants (dX, dY) that make a line to be
drawn outside
   the page borders causing viewport transition. Removing these constants
solves the problem (fixed
   in SmoothPathEngine::event)

3. Browse mode is activated as soon as the cursor is moved outside the
viewport.
   Instead, we should forward the move event to the annotation which than can
ignore the event (fixed
   in PageView::mouseMoveEvent)

M  +8-10   part/annotationtools.cpp
M  +11   -6part/pageview.cpp

https://invent.kde.org/graphics/okular/commit/e6002e798d06cf52a71d9d35716c4d0b9c282d99

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 315930] Ability to sign a PDF with my scanned signature (i.e. picture file) like in Adobe Acrobat

2022-11-10 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=315930

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #11 from Oliver Sander  ---
It's in the pipeline:
https://invent.kde.org/graphics/okular/-/merge_requests/537

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 461371] PDFs digitally signed with Okular become locked in Adobe Acrobat so no one else can sign it

2022-11-04 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=461371

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de
 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1

--- Comment #1 from Oliver Sander  ---
A colleague of mine just confirmed this.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 460681] Laggy scrolling on high DPI display - profiling indicates excessive copying in PagePainter::paintCroppedPageOnPainter

2022-10-18 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=460681

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #1 from Oliver Sander  ---
Some of the calls to `setDevicePixelRatio` where probably introduced by me. The
deep-copying was not intentional.  I am not very proficient in Qt programming,
and I wasn't even aware that these calls trigger a deep copy.

Does https://invent.kde.org/graphics/okular/-/merge_requests/612 fix your issue
by any chance?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 458723] PDF document isn't shown - "Please wait ..." message is shown instead

2022-09-06 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=458723

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #7 from Oliver Sander  ---
I haven't checked this particular case, but documents that show this warning
message typically contain XFA forms. These forms are described in a document
several hundred pages long, and nobody has ever had the nerve to start an open
implementation.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 458722] Bad rendering of data matrix code in Okular (blurry in some conditions)

2022-09-05 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=458722

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #5 from Oliver Sander  ---
xpdf does not use poppler.  Instead, poppler is a (partial) fork of xpdf. The
two codes are similar but not identical.

To convince yourself that poppler is the culprit try to render the file with
`pdftoppm`.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 455115] Show pop-up notes text more directly

2022-06-13 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=455115

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #6 from Oliver Sander  ---
>From reading the description of your workflow it seems that your last
suggestion (having the annotation texts visible/accessible from the review
pane, in the side bar) seems most helpful.  In an ideal world you would even be
able to navigate there with the keyboard alone, for increased speed.

Would you be able to code such a feature?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Re: Please fix one thing about Okular ..

2022-05-16 Thread Oliver Sander

Hi John-Albert,

for me, highlighting only goes off if I *right*-click
in the document.  Left- and middle-clicks keep the highlighter
selected.

Do you happen to use a fairly old version of Okular?
The annotation GUI got a big rewrite a while ago.
Please get a recent version of Okular and try that.

Best regards,
Oliver


On 13.05.22 03:49, John-Albert Eadie wrote:

Long time since I developed anything but I *love*
Okular for yellow highlighting and saving .pdfs of
research.  However for me there is one BIG PROBLEM ...

If I click on the document in any way *including the
right mouse button*, highlighting goes off and I have
to go up and choose Yellow Highlighter again.  Very
annoying.  Because I'm slighty shaky, it happens
many times during my edit.

I recommend switching off the Yellow Highlighter
only when left mouse click happens, not any
mouse click turning it off.  Even better,
only left mouse click on Yellow
Highlighter itself.

Please.  Thanks,

-jae

Ps: I am a million miles (50 years) away from
     coding but would it be possible to compile a
     version of my own?  How massive?

     Thanks again.
--

¯\_(ツ)_/¯

*both.and.e...@gmail.com*

  ‘King of Spaghetti Code’




smime.p7s
Description: S/MIME Cryptographic Signature


[okular] [Bug 449717] When zooming with 2 fingers on a touchscreen, Okular also scrolls through the document, causing me to lose my place.

2022-04-01 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=449717

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #4 from Oliver Sander  ---
I reckon this is fixed by
https://invent.kde.org/graphics/okular/-/merge_requests/134

Somebody would need to finish that.

-- 
You are receiving this mail because:
You are the assignee for the bug.

D10455: Add RTL support for search, copy & paste in pdf

2022-03-17 Thread Oliver Sander
sander added a comment.


  Step 1 would be to open a merge request at 
https://invent.kde.org/graphics/okular/-/merge_requests .  Can you do that?

REPOSITORY
  R223 Okular

REVISION DETAIL
  https://phabricator.kde.org/D10455

To: fahadalsaidi, #okular, aacid, ltoscano
Cc: sander, guysoft, davidhurka, yaron, okular-devel, chfanzil, ngraham, 
anaumann, johnzh, andisa, siddharthmanthan, maguirre, fbampaloukas, joaonetto, 
kezik, darcyshen, aacid


[okular] [Bug 383651] Custom/image stamp annotations are not saved into the PDF file in a way that can be printed or that other readers can see

2022-03-11 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=383651

--- Comment #33 from Oliver Sander  ---
If all you need is printing, then enabling 'force rasterization' in the print
dialog will probably circumvent the problem for you.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 450887] Change font for plain text files

2022-02-26 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=450887

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #1 from Oliver Sander  ---
You can do that.  It's under "preferences -> set up display modules -> text" 
(or something like that, I'm translating from my German UI).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 449808] butt caps shown as rounded

2022-02-08 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=449808

Oliver Sander  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |UPSTREAM
 CC||oliver.san...@tu-dresden.de

--- Comment #3 from Oliver Sander  ---
This appear to be a bug in poppler, the library used by Okular to render pdf
files.  I can reproduce the problem with pdftoppm 20.09.0.

Can you please open a bug at the poppler bugtracker:

https://gitlab.freedesktop.org/poppler/poppler/-/issues

Thank you!

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 449043] underline

2022-01-24 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=449043

--- Comment #6 from Oliver Sander  ---
I confirm this.  Underlining both lines separately makes both underlines thin.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 449043] underline

2022-01-24 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=449043

--- Comment #4 from Oliver Sander  ---
Created attachment 145852
  --> https://bugs.kde.org/attachment.cgi?id=145852&action=edit
Small pdf file showing the problem

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 449043] underline

2022-01-24 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=449043

Oliver Sander  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1
 CC||oliver.san...@tu-dresden.de

--- Comment #2 from Oliver Sander  ---
Indeed, I can confirm that.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 448735] Bad path format for embedded documents

2022-01-19 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=448735

--- Comment #3 from Oliver Sander  ---
I don't have a Windows machine to test with anyways.  Can you, by any chance,
embed some file in a test pdf file on Windows and upload that?  That should
fail on my Linux, right?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 448735] Bad path format for embedded documents

2022-01-18 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=448735

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #1 from Oliver Sander  ---
Can you attach such a pdf file?

If the embedded file is truly embedded then its path shouldn't matter, should
it?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 448448] Okular unable to print to LAN printer - status: rendering completed

2022-01-17 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=448448

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #1 from Oliver Sander  ---
I think I have seen this error message as well, but I can't reproduce it now.

As a workaround: Does printing work if you enable "force rasterization"?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 447589] printi

2022-01-05 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=447589

Oliver Sander  changed:

   What|Removed |Added

 Resolution|--- |NOT A BUG
 Status|REPORTED|RESOLVED
 CC||oliver.san...@tu-dresden.de

--- Comment #1 from Oliver Sander  ---
This doesn't look like a serious bug report.  Closing.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 446549] Digital signature feature confusing for new users

2021-12-07 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=446549

--- Comment #5 from Oliver Sander  ---
I understand your point, but please no additional dialog box.  It would mean an
additional click for everyone.

How about:
* An additional menu entry like "graphically sign" right next to "digitally
sign"
* An explanatory dialog popping up when people click on "digitally sign"
without having certificates installed

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 446549] Digital signature feature confusing for new users

2021-12-06 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=446549

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #2 from Oliver Sander  ---
Albert, by and large I agree with you.  However, I think Nicolai's suggestion
to grey out the 'digitally sign' menu entry when there are no certificates is
worth considering.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 443446] Add "previous view" and "next view" buttons

2021-10-07 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=443446

--- Comment #3 from Oliver Sander  ---
I think you can already have such a button.  Go to preference -> toolbar
settings -> anotation toolbar, and there should be 'forward' and 'backward'
actions.

[The menu names may be slightly different, I translated them from my German
UI.]

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 443446] Add "previous view" and "next view" buttons

2021-10-07 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=443446

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #1 from Oliver Sander  ---
Have you tried shift+alt+left?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 442280] Okular does not take /UserUnit into account (page size incorrect for certain files)

2021-10-06 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=442280

--- Comment #26 from Oliver Sander  ---
Can you guys please move the mupdf discussion elsewhere?  While it is certainly
interesting, it is only tangentially related to this bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 442280] Okular does not take /UserUnit into account (page size incorrect for certain files)

2021-09-10 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=442280

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #10 from Oliver Sander  ---
Can you reproduce the problem using one of the poppler command line tools like
pdfinfo or pdftocairo?  It may be a poppler bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 420571] Feature Request: Export/Import annotations to/from an XML file or the clipboard, using a toolbar button or context menu entry in the Reviews/Annotations side panel

2021-08-17 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=420571

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #4 from Oliver Sander  ---
The two phabricator diffs mentioned in the first post look interesting in their
own right.  David, can I motivate you to submit them as gitlab merge requests
(and maybe even adopt them wholesale)?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 409644] [Wayland] Panning in Okular is laggy with 4K monitor

2021-07-15 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=409644

--- Comment #11 from Oliver Sander  ---
> Why is devicePixelRatio here forced to be 1...?

That part of the code was reworked in a recent merge request.  Maybe it'll help
you:

   https://invent.kde.org/graphics/okular/-/merge_requests/371

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 409644] [Wayland] Panning in Okular is laggy with 4K monitor

2021-07-11 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=409644

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #6 from Oliver Sander  ---
Do you also see the problem without scaling?  Screen scaling works differently
under Wayland, and you may[0] end up with an 8K temporary bitmap.  That is
simply a lot of data, and maybe the lagging is for that?

[0] I am not 100% about this, but it is worth checking.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Re: Where is the install folder on Ubuntu?

2021-06-29 Thread Oliver Sander

Hi Julius,


The instructions say to run this command at one point:
cmake -DCMAKE_INSTALL_PREFIX=/path/to/your/install/dir ..

I googled around a bit and my understanding is that there is a particular 
directory where system-wide installations are put - is that /local, on Ubuntu, 
or something else? What path should I give, above?


you can choose that path yourself, and it usually points to somewhere
in your home directory.  For example, my own Okular installation is in

  /home/sander/okular-inst

Best,
Oliver



smime.p7s
Description: S/MIME Cryptographic Signature


[okular] [Bug 438980] display blurred

2021-06-22 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=438980

--- Comment #14 from Oliver Sander  ---
> But not in 20.12 maybe?

No, not in 20.12.  And I never tested it myself on Windows.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 438980] display blurred

2021-06-22 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=438980

--- Comment #12 from Oliver Sander  ---
> Okular uses qApp->devicePixelRatio() in some places to get the screen scaling.

I thought I fixed all that, but I may be wrong.  The only remaining
per-screen-scaling issue I know of is

  https://invent.kde.org/graphics/okular/-/merge_requests/368

(which only bites if you use presentation mode).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 438980] display blurred

2021-06-22 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=438980

--- Comment #9 from Oliver Sander  ---
What about the nightly builds mentioned at

  https://okular.kde.org/download/

?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 438980] display blurred

2021-06-21 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=438980

Oliver Sander  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |---
 Status|NEEDSINFO   |REPORTED

--- Comment #7 from Oliver Sander  ---
This is what I expected.  Per-screen-scaling hasn't seen much love until
recently, because on Linux you won't get it anyway unless you use wayland.

That being said, there have been a few patches recently.  Can you try the 21.04
release, please, and report back?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 438980] display blurred

2021-06-21 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=438980

--- Comment #5 from Oliver Sander  ---
Is it blurry on both monitors?  Is it blurry if you set scaling to 100%?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 438980] display blurred

2021-06-21 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=438980

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #1 from Oliver Sander  ---
What is your operating system?  Do you use screen scaling?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 438923] PDF contents tab doesn't respect empty page label number style

2021-06-20 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=438923

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #7 from Oliver Sander  ---
I wouldn't mind seeing both, the number and the page label (empty if there is
no label).  If there is a general consensus against showing the page number,
then showing nothing at all if there is no page label is okay for me, too.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Re: Blue Angel for Okular

2021-06-17 Thread Oliver Sander

Hi Cornelius,

that sounds like a worthy goal.  Thanks for all your effort!

Best,
Oliver

On 12.06.21 14:40, Cornelius Schumacher wrote:

Dear Okular developers,

you might have heard about the Blue Angel[1]. It's an ecolabel which is awarded 
by the German government for environmentally friendly design. It covers a broad 
range of different products, from recycled paper to eco-friendly ship design. 
Last year a category for resource and energy efficient software products was 
added[2].

The award criteria for this new category include energy-efficiency as well as 
other factors such as influence on hardware obsolescence and user autonomy. 
They match quite well with values we have in the KDE community and how we 
develop our software.

Up to now there is no product yet which has been awarded with the label in the 
new software category. We can change that. Okular is an ideal candidate as it 
is a popular application and matches the criteria quite well.

I have put together a first draft for an application[3]. It includes the 
documentation for all the criteria and how Okular matches them, as well as 
measurements, which have been executed by students from the Umwelt-Campus 
Birkenfeld[4]. The goal is to submit it for certification as soon as the data 
is complete. KDE e.V. will act as official applicant.

While Okular itself already matches the criteria from my point of view, there 
are a few things which are asked in terms of documentation, which could be made 
more transparent on the Okular web site. I will submit a merge request with 
suggestions for corresponding changes shortly.

This is an exciting project to give KDE more visibility in what it is doing for 
sustainable computing. If you are interested to learn more or to join, please 
feel free to get in touch with me.

We also have a mailing list to talk about energy efficiency and topics around 
that [5]. Feel free to join there as well if you are interested and ask any 
questions you might have.

Kind Regards,
Cornelius

[1]: https://www.blauer-engel.de/en
[2]: 
https://www.blauer-engel.de/en/products/electric-devices/resources-and-energy-efficient-software-products
[3]: 
https://invent.kde.org/cschumac/blue-angel-application/-/tree/master/applications/okular
[4]: https://www.umwelt-campus.de/en/
[5]: https://mail.kde.org/cgi-bin/mailman/listinfo/energy-efficiency





smime.p7s
Description: S/MIME Cryptographic Signature


Re: on "This document has XFA forms, which are currently unsupported."

2021-06-16 Thread Oliver Sander

Hi Mario,

XFA forms are not part of the PDF standard, and supporting them would be a lot 
of work.
Besides, they are deprecated in PDF 2.0:

  
https://www.pdfa.org/pdf-2-0-the-worldwide-standard-for-electronic-documents-has-evolved/

In other words, support for them in Okular is very unlikely to come.
It's better to avoid them altogether if you can.

Best,
Oliver

On 16.06.21 15:33, mario chiari wrote:

Hi

I am writing as a user.
I appreciate a quick update on pro/cons of support of XFA forms.
Thanks for any good (entry-level) reference on the issue too.

Thanks
Best wishes
mario














smime.p7s
Description: S/MIME Cryptographic Signature


[okular] [Bug 437926] Non-ASCII characters in certificate names are not printed on a signed document

2021-06-04 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=437926

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #6 from Oliver Sander  ---
Let me ignore the whole "discrimination" and "offense" business.  Johannes,
this is a Poppler bug and needs to be fixed there.  Johannes, can you reproduce
the problem using the pdfsig problem (which is part of Poppler)?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 436709] Autoplaying of renditions (audio/video)

2021-05-07 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=436709

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #1 from Oliver Sander  ---
> I think that the current handling of "AutoPlay" is wrong for Renditions.

Did you check what Acrobat does?  Okular would usually strive to do the same.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 436301] Support non standard Libreoffice Embedded files

2021-05-07 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=436301

Oliver Sander  changed:

   What|Removed |Added

 Resolution|--- |NOT A BUG
 Status|REPORTED|RESOLVED

--- Comment #12 from Oliver Sander  ---
Reading

  https://bugs.documentfoundation.org/show_bug.cgi?id=66580

(an old duplicate of your bug report), it seems quite clear that the LO folks
are unhappy about their nonstandard way of embedding odt files into pdf files,
and would rather see that changed.  It is therefore extremely unlikely that
Okular will ever implement support for the current LibreOffice way of embedding
documents.  Any developer effort is much better spent making LibreOffice
standard-compatible.

I will therefore close this bug report.  Thanks for your interest in Okular!

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 436301] Embedded Libreoffice files are not shown as embedded files in the File menu.

2021-04-28 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=436301

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #1 from Oliver Sander  ---
Please attach such a file.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 402017] Cannot save PDF when loaded file has been deleted

2021-04-18 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=402017

Oliver Sander  changed:

   What|Removed |Added

 CC||oliver.san...@tu-dresden.de

--- Comment #66 from Oliver Sander  ---
> I don't really understand why this bug is still open after so many users

Because there is nobody who has both the skills and the free time to fix it.

-- 
You are receiving this mail because:
You are the assignee for the bug.

  1   2   3   4   5   6   7   8   9   10   >