Discussion:
[okular] [Bug 401268] New: Freehand lines rendered ugly as you write and look good only after you finish
Christos
2018-11-21 10:17:27 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=401268

Bug ID: 401268
Summary: Freehand lines rendered ugly as you write and look
good only after you finish
Product: okular
Version: 1.5.3
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: okular-***@kde.org
Reporter: ***@gmail.com
Target Milestone: ---

SUMMARY

Freehand line annotations in okular (created with a drawing tablet - wacom and
others) appear rather ugly until you finish writing.

Showing the bug on YouTube (vs xournal):


STEPS TO REPRODUCE
1. Open a .pdf file with okular
2. Start the freehand line annotation
3. Write something

OBSERVED RESULT

Writing is rendered ok only after you finish writing.

EXPECTED RESULT

It should look good as you write

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon 5.14
(available in About System)
KDE Plasma Version: 5.14.3
KDE Frameworks Version: 5.52.0
Qt Version: 5.11.2
ADDITIONAL INFORMATION

Video: http://youtu.be/ON_BP1YkJTU
--
You are receiving this mail because:
You are the assignee for the bug.
Christos
2018-11-21 11:57:32 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=401268

Christos <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com
--
You are receiving this mail because:
You are the assignee for the bug.
David Hurka
2018-11-21 14:39:52 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=401268

--- Comment #1 from David Hurka <***@mailbox.org> ---
With my okular, the width is correct while drawing. It's just not antialiased,
and it flashes once when the line is finished.

Okular Version: 1.5.2
Operating System: KDE neon 5.13
KDE Plasma Version: 5.14.0
Qt Version: 5.11.1
KDE Frameworks Version: 5.50.0
--
You are receiving this mail because:
You are the assignee for the bug.
Albert Astals Cid
2018-11-21 21:55:56 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=401268

Albert Astals Cid <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@kde.org
Severity|normal |wishlist
--
You are receiving this mail because:
You are the assignee for the bug.
Oliver Sander
2018-11-22 12:51:34 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=401268

Oliver Sander <***@tu-dresden.de> changed:

What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
CC| |***@tu-dresden.de
Status|REPORTED |CONFIRMED

--- Comment #2 from Oliver Sander <***@tu-dresden.de> ---
The reason for the bug is the following: While you draw, Okular draws the
annotation, and it does so badly. Once you are done, your annotation is
redrawn using poppler. The width difference is probably an HiDPI issue.

Related issues:
https://bugs.kde.org/show_bug.cgi?id=370217
https://bugs.kde.org/show_bug.cgi?id=384143
https://gitlab.freedesktop.org/poppler/poppler/merge_requests/77
--
You are receiving this mail because:
You are the assignee for the bug.
Christos
2018-11-22 13:21:46 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=401268

--- Comment #3 from Christos <***@gmail.com> ---
@Oliver

So this is a bug that can't be changed easily?

My monitor is 1920x1080 24 inch display. Not really HiDPI is it?
--
You are receiving this mail because:
You are the assignee for the bug.
Oliver Sander
2018-11-22 13:26:04 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=401268

--- Comment #4 from Oliver Sander <***@tu-dresden.de> ---
It's not something that I know how to fix offhand. Somebody with more time and
skills than me may still find it easy -- I don't know.
--
You are receiving this mail because:
You are the assignee for the bug.
Loading...