[okular] [Bug 471804] New: Color scheme "tint all colors colors with accent color" way too prominent on Okular background

2023-06-30 Thread Quinten Kock
https://bugs.kde.org/show_bug.cgi?id=471804

Bug ID: 471804
   Summary: Color scheme "tint all colors colors with accent
color" way too prominent on Okular background
Classification: Applications
   Product: okular
   Version: 23.04.2
  Platform: Fedora RPMs
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: okular-devel@kde.org
  Reporter: quintenk...@gmail.com
  Target Milestone: ---

Created attachment 160005
  --> https://bugs.kde.org/attachment.cgi?id=160005&action=edit
Screenshot of the described issue (Okular is in the background on the right)

SUMMARY
The Okular background, which is normally grey, gets an overly saturated version
of my accent color, which looks rather ugly.

STEPS TO REPRODUCE
1. Go to System Settings -> Colors, and enable "Tint all colors with accent
colors" for the active theme.
2. Open a document in Okular
3. Zoom out so that the margins/background are clearly visible

OBSERVED RESULT
Background is colored very intensely

EXPECTED RESULT
Background is colored much more subtly, similar to how other windows are
tinted.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION

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

[okular] [Bug 471796] New: pdf with forms does not handle special characters

2023-06-30 Thread al F
https://bugs.kde.org/show_bug.cgi?id=471796

Bug ID: 471796
   Summary: pdf with forms does not handle special characters
Classification: Applications
   Product: okular
   Version: 23.04.1
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: PDF backend
  Assignee: okular-devel@kde.org
  Reporter: pub...@mellomrommet.no
  Target Milestone: ---

SUMMARY
When clicking "show forms" and filling in, everything looks fine. However,
clicking "Show forms" again after filling in text, `æ` and `å` just disappears
while `ø` is changed to `ł`. If filling in `ł` it disappears.

Font sizes are also distorted, it seems Okular adjusts the size to fill each
form entirely, rendering the document layout ugly. Printing uses the wrong
display, even if forms are currently showing the correct characters.

STEPS TO REPRODUCE
1. Download
https://www.politiet.no/globalassets/02-tjenester-admin/politiattest/bekreftelse-pa-formal-med-soknad-om-politiattest.pdf
2. Open with Okular and click "Show forms". Fill in text containing special
characters (the Norwegian æ, ø, å or others like ł or µ)
3. Click "Show forms" again.

OBSERVED RESULT
Text is incorrectly displayed and printed

EXPECTED RESULT
Text should be correctly displayed and printed

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 5.15.114-2-MANJARO (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Filling in forms / saving / opening / displaying in Firefox works as expected.
Printing to pdf from Firefox and opening in Okular, characters display
correctly but font sizes are inconsistent.

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

[okular] [Bug 471792] Annotations greatly increase PDF file size and massively slow down Okular

2023-06-30 Thread Joe Breuer
https://bugs.kde.org/show_bug.cgi?id=471792

--- Comment #2 from Joe Breuer  ---
(In reply to Sune Vuorela from comment #1)
> What version of the underlying Poppler library are you using ?

23.05

> Some versions did embed the same fonts multiple times, and your "big"
> document contains ~140 copies of noto fonts

Ah, thank you! That makes (altogether too much) sense.

> It should be fixed in version 23.06 of the poppler library.
> 
> With poppler 23.06, adding annotations should grow the document with
> approximately 600k. With poppler 23.07, it should grow the document with
> approximately 300 k, assuming noto sans (okular default) is used.

I'll have a look into that very shortly and let you know - 23.06 looks to be
available in gentoo 'testing'.
Trying a 23.07 bump is not immediately accessible to me, since there's
apparently no release or even git tag yet. Not sure that I want to run git
master on a production system.

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

[okular] [Bug 471792] Annotations greatly increase PDF file size and massively slow down Okular

2023-06-30 Thread Sune Vuorela
https://bugs.kde.org/show_bug.cgi?id=471792

Sune Vuorela  changed:

   What|Removed |Added

 CC||k...@pusling.com

--- Comment #1 from Sune Vuorela  ---
What version of the underlying Poppler library are you using ?

Some versions did embed the same fonts multiple times, and your "big" document
contains ~140 copies of noto fonts

It should be fixed in version 23.06 of the poppler library.

With poppler 23.06, adding annotations should grow the document with
approximately 600k. With poppler 23.07, it should grow the document with
approximately 300 k, assuming noto sans (okular default) is used.

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

[okular] [Bug 470128] Saving document with resized text creates huge memory footprint

2023-06-30 Thread Joe Breuer
https://bugs.kde.org/show_bug.cgi?id=470128

--- Comment #5 from Joe Breuer  ---
My bug #471792 has one sample which massively demonstrates this - file size
from 6.4 MB (original) to 143.4 MB (two Inline Notes with resized fonts).

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

[okular] [Bug 470128] Saving document with resized text creates huge memory footprint

2023-06-30 Thread Joe Breuer
https://bugs.kde.org/show_bug.cgi?id=470128

Joe Breuer  changed:

   What|Removed |Added

 CC||k...@jmbreuer.net

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

[okular] [Bug 471792] New: Annotations greatly increase PDF file size and massively slow down Okular

2023-06-30 Thread Joe Breuer
https://bugs.kde.org/show_bug.cgi?id=471792

Bug ID: 471792
   Summary: Annotations greatly increase PDF file size and
massively slow down Okular
Classification: Applications
   Product: okular
   Version: 22.12.3
  Platform: Gentoo Packages
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: PDF backend
  Assignee: okular-devel@kde.org
  Reporter: k...@jmbreuer.net
  Target Milestone: ---

SUMMARY

Adding annotations to a run-of-the-mill PDF file (out of pdfLaTeX, I presume)
hugely increases the file size with each additional annotation.

STEPS TO REPRODUCE
1. Open a PDF file
2. Add a couple of annotations (I mostly used Inline Notes, but also some
underlines and Pop-up Notes)
3. Save as PDF

OBSERVED RESULT

Saving my 6.4 MB sample PDF with very few test annotations and saving as PDF
yields a 7.4 MB file.

Removing those and adding a couple of 'real' annotations, the saved PDF weighs
in at 20.7 MB.

Changing font size of two Inline Note annotations after they have been created
yields a huge PDF of 143.4 MB.

With the increase in file size also comes an increase in CPU usage to the point
that Okular slows down and becomes practically unusable (especially /
immediately noticable with the "resized font" case).

EXPECTED RESULT

Annotations should only slightly increase file size and not strongly affect
interactive performance.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: gentoo Linux 2.13, Kernel 6.1.31-gentoo (64-bit)
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION

Since attachments cannot exceed 4000kB, and all my samples are larger than
that, I've put together my sample files here:
https://github.com/jmbreuer/heap/tree/main/kde-okular-bug-20230630

I've also seen bug #470128, and also noticed that changing the font size of an
Inline Note annotation after adding it would hugely increase the file size
(changing two notes, from those 6.4/7.4 MB to 143.4 MB).

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

[okular] [Bug 359932] Okular is very slow at opening some EPUB's

2023-06-30 Thread David Lazarescu
https://bugs.kde.org/show_bug.cgi?id=359932

David Lazarescu  changed:

   What|Removed |Added

 CC||prtnprvtm...@protonmail.com

--- Comment #23 from David Lazarescu  ---
This issue still exists and makes reading epubs with okular a pretty bad
experience.
Is anyone working on this atm.?

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

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

2023-06-30 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=263042

Bug Janitor Service  changed:

   What|Removed |Added

   Priority|NOR |HI

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

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

2023-06-30 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=263042

aux...@gmail.com changed:

   What|Removed |Added

 CC||aux...@gmail.com

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