[okular] [Bug 425170] Annotations should optionally ignore touch

2021-09-18 Thread ramon diaz-uriarte
https://bugs.kde.org/show_bug.cgi?id=425170

ramon diaz-uriarte  changed:

   What|Removed |Added

 CC||rdia...@gmail.com

--- Comment #4 from ramon diaz-uriarte  ---
I can confirm Zamundaaa's comments in Windows too, with the current nightly
build (as of 2021-09-18, v. 21.11.70) and the stable version (20.12.2): when
annotation is enabled, scrolling with two fingers does not work (it zooms and
it paints).

This makes it cumbersome (need to turn annotation on/off) to use Okular on
tablet devices for commenting/annotating.

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

[okular] [Bug 437401] Jagged freehand annotations when using a high-resolution stylus

2021-06-30 Thread ramon diaz-uriarte
https://bugs.kde.org/show_bug.cgi?id=437401

--- Comment #11 from ramon diaz-uriarte  ---
:) Thanks!

(And I do second gbell's comment: Okular's annotation features and general
design are best in class).


(In reply to David Hurka from comment #9)
> I didn’t mean that the problem is on your side or with your stylus. I
> consider this a bug of Okular. The tablet events in Qt are intended for
> higher precision, so we should be able to process this higher precision.
> 
> No need to worry about making noise. Discussing a bug report is fine. :)

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

[okular] [Bug 437401] Jagged freehand annotations

2021-06-20 Thread ramon diaz-uriarte
https://bugs.kde.org/show_bug.cgi?id=437401

ramon diaz-uriarte  changed:

   What|Removed |Added

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

--- Comment #8 from ramon diaz-uriarte  ---
Thanks. I haven't been able to test with another stylus, but things are OK
(much smoother) with the mouse, so I guess this is a stylus issue as you
suggested.

I guess we can close this, so I am setting status to "resolved", "not a bug".
Apologies for the noise with this report.


(In reply to David Hurka from comment #7)
> Thanks. I don’t think these screenshots indicate a systematic jitter, but
> just the natural jitter of a physical object.
> 
> After reading this more carefully:
> 
> > - That same annotation, displayed in another PDF viewer, does not
> >   look as jagged, but it is more jagged than annotations done
> >   with other apps (e.g., Xodo or Adobe Acrobat Reader DC).
> 
> I think that Poppler (Okular’s backend) renders the annotation with
> miter-join line style, while other renderers use round-join. Round-join can
> not make spikes.
> 
> >   but it is more jagged than annotations done
> >   with other apps (e.g., Xodo or Adobe Acrobat Reader DC).
> 
> Other apps maybe ignore points that are very close to each other, which
> additionally reduces jitter.
> 
> You can test that by slowly drawing a diagonal line with the mouse. My
> Okular creates a staircase line instead of one smooth diagonal line, which
> means that all points of my mouse movement are included. (One pixel up, one
> pixel right, one pixel up, ...)

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

[okular] [Bug 437401] Jagged freehand annotations

2021-06-05 Thread ramon diaz-uriarte
https://bugs.kde.org/show_bug.cgi?id=437401

--- Comment #6 from ramon diaz-uriarte  ---
(In reply to David Hurka from comment #2)
> I think that is just your stylus, and other applications realize (or not)
> that your stylus is jagging and apply a smoothing algorithm to the
> annotation.
> 
> Bug 410723 was caused by processing both stylus and mouse cursor events,
> which were systematically a bit off, which caused the caracteristic
> comb-like jitter. In your case, the jitter looks pretty random. Can you
> please make a screenshot of this jitter at a high zoom scale?

Added two screenshots at high zoom from Okular.

Unfortunately, I do not (yet) have another stylus to test. Will try to get
another one, and report.

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

[okular] [Bug 437401] Jagged freehand annotations

2021-06-05 Thread ramon diaz-uriarte
https://bugs.kde.org/show_bug.cgi?id=437401

--- Comment #5 from ramon diaz-uriarte  ---
Created attachment 139020
  --> https://bugs.kde.org/attachment.cgi?id=139020=edit
screencapture, high zoom, 2

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

[okular] [Bug 437401] Jagged freehand annotations

2021-06-05 Thread ramon diaz-uriarte
https://bugs.kde.org/show_bug.cgi?id=437401

ramon diaz-uriarte  changed:

   What|Removed |Added

 CC||rdia...@gmail.com

--- Comment #4 from ramon diaz-uriarte  ---
Created attachment 139019
  --> https://bugs.kde.org/attachment.cgi?id=139019=edit
screecapture, high zoom, 1

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

[okular] [Bug 437401] Jagged freehand annotations

2021-05-20 Thread ramon diaz-uriarte
https://bugs.kde.org/show_bug.cgi?id=437401

--- Comment #1 from ramon diaz-uriarte  ---
Created attachment 138593
  --> https://bugs.kde.org/attachment.cgi?id=138593=edit
Annotations shown in Xodo (same device as previous screenshot).

Annotations done in Okular look more jagged, but less than when they are shown
in Okular itself.

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

[okular] [Bug 437401] New: Jagged freehand annotations

2021-05-20 Thread ramon diaz-uriarte
https://bugs.kde.org/show_bug.cgi?id=437401

Bug ID: 437401
   Summary: Jagged freehand annotations
   Product: okular
   Version: 20.12.2
  Platform: Microsoft Windows
OS: Microsoft Windows
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: PDF backend
  Assignee: okular-de...@kde.org
  Reporter: rdia...@gmail.com
  Target Milestone: ---

Created attachment 138592
  --> https://bugs.kde.org/attachment.cgi?id=138592=edit
Annotations shown in Okular for Window. On left, annotation done with Xodo with
same stylus and same device.

SUMMARY

 In Windows 10 (Okular version 20.12.2) freehand annotations with stylus are   
   jagged.

STEPS TO REPRODUCE
1. Open PDF in Okular
2. Click on freehand annotation and use stylus


OBSERVED RESULT
 - When the annotation is taken, it looks very jagged.

 - That same annotation, displayed in another PDF viewer, does not look as
jagged, but it is more jagged than annotations done with other apps (e.g., Xodo
or Adobe Acrobat Reader DC).

  - Displaying that PDF in Okular for Linux also shows the freehand annotations
as jagged.

EXPECTED RESULT
- Annotation is reasonably smooth.

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

ADDITIONAL INFORMATION

 - This might be related to https://bugs.kde.org/show_bug.cgi?id=410723 ? But
that is solved.

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

[okular] [Bug 410723] Freehand annotation jagged lines with stylus

2021-05-20 Thread ramon diaz-uriarte
https://bugs.kde.org/show_bug.cgi?id=410723

ramon diaz-uriarte  changed:

   What|Removed |Added

 CC||rdia...@gmail.com

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