[okular] [Bug 305534] Annotations don't show all non-ASCII letters

2021-04-01 Thread Yuri Chornoivan
https://bugs.kde.org/show_bug.cgi?id=305534

Yuri Chornoivan  changed:

   What|Removed |Added

 CC||a33544...@qq.com

--- Comment #48 from Yuri Chornoivan  ---
*** Bug 435244 has been marked as a duplicate of this bug. ***

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

[okular] [Bug 435244] Can't write chinese in 'inline note' & 'insert text'

2021-04-01 Thread Yuri Chornoivan
https://bugs.kde.org/show_bug.cgi?id=435244

Yuri Chornoivan  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 CC||yurc...@ukr.net
 Status|REPORTED|RESOLVED

--- Comment #1 from Yuri Chornoivan  ---


*** This bug has been marked as a duplicate of bug 305534 ***

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

[okular] [Bug 435246] Okular Crashing While Opening pdf file with annotations

2021-04-01 Thread Jason Liam
https://bugs.kde.org/show_bug.cgi?id=435246

Jason Liam  changed:

   What|Removed |Added

URL||https://askubuntu.com/quest
   ||ions/1328618/okular-not-abl
   ||e-to-display-pdf-file

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

[okular] [Bug 435246] New: Okular Crashing While Opening pdf file with annotations

2021-04-01 Thread Jason Liam
https://bugs.kde.org/show_bug.cgi?id=435246

Bug ID: 435246
   Summary: Okular Crashing While Opening pdf file with
annotations
   Product: okular
   Version: unspecified
  Platform: Ubuntu Packages
OS: Linux
Status: REPORTED
  Severity: crash
  Priority: NOR
 Component: general
  Assignee: okular-devel@kde.org
  Reporter: jlame...@gmail.com
  Target Milestone: ---

Created attachment 137256
  --> https://bugs.kde.org/attachment.cgi?id=137256=edit
No review F6 option t

Hi i am used to working with pdfs in Okular. And everything was working fine
but suddenly okular is not able to open the pdf file that i regularly make
changes to. For example,just this morning i used okular to open my pdf file and
added some annotations and stuff. And then after saving the file i closed the
file. Now( afternoon) when i am trying to open the same file in okular, the
file is not opening and i am getting the option to either force quit the app or
wait. This is happening with this pdf only. Other pdfs are openings correctly.
Also, the same pdf is also not opening in Document Viewer. Note that the size
of the pdf is around 68 MB.Is there a way to see what is going wrong?, like
debug okular. Also i installed okular through Ubuntu Software center. I am
using Ubuntu 18.04. I have used okular regularly on the same file for a long
time and i have never faced any issues but only today i am not able to open the
file? How can i resolve this? Now i uninstalled okular by going to ubuntu
software and then reinstalled it from there. But now i am facing one additional
problem. Now there is no option to even annotate. Before there was F6 shortcut
or we can go to Tools->Review but now F6 is not working, i am attaching the
screenshot of this. Also the same old pdf is still not opening. Why is this
issue happeing and how can i resolve this? I have very important annotations in
the concerned pdfs. 
As you can see in the screenshot the review option is not selectable. Now i
opened the same pdf file with okular and waited for a long time(around 1 hour)
and noticed that some part(very little) like some annotations and other things
are starting to appear. So why suddenly okular is not able to load the
annotations and other things for this file? That is why is it taking so much
time to load the annotations corresponding to this file?

Edit: I guess i know what is the issue. The original file(without any
annotations) is of size 50 MB and my annotated version is of 68 MB. So the
problem seems to be with the large size of the file. For example i had saved a
previous version of the same file(with annotations) which was of size 59 MB and
okular is able to open that file correctly. But okular is not able to open the
68 MB file, i think the problem is with the too much annotations(around 18MB).
How can i resolve this problem? I guess my final question is can i revert back
the changes that i made today. Because in the morning the file and okular both
seems to be working correctly. After adding some annotations the file size got
larger and stopped working so i guess if i can delete the annotations that i
made today i can still use the file. For this i will need to know where are
those annotations files saved. And also in which format so that i can either
delete or edit them accordingly. Also note that there is no F6 or review option
in the newly downloaded version  of okular to add annotations.

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

[okular] [Bug 435244] New: Can't write chinese in 'inline note' & 'insert text'

2021-04-01 Thread a33544465
https://bugs.kde.org/show_bug.cgi?id=435244

Bug ID: 435244
   Summary: Can't write chinese in 'inline note' & 'insert text'
   Product: okular
   Version: 20.12.2
  Platform: Microsoft Windows
OS: Microsoft Windows
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: PDF backend
  Assignee: okular-devel@kde.org
  Reporter: a33544...@qq.com
  Target Milestone: ---

Created attachment 137255
  --> https://bugs.kde.org/attachment.cgi?id=137255=edit
can't display chinese

SUMMARY
Can't write chinese in 'inline note' & 'insert text'

STEPS TO REPRODUCE
1. open a inline note or insert text
2. type chinese

OBSERVED RESULT
can't display chinese

EXPECTED RESULT


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

ADDITIONAL INFORMATION

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

[okular] [Bug 421780] Most ways of scrolling a document not working (Qt 5.15)

2021-04-01 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=421780

--- Comment #28 from abulhair.sapa...@gmail.com ---
Yeah, the compiler assumes that no floating point number is NaN or inf, so it
can make optimizations like: `x == x` -> `true`, `x * 1` -> `x`, etc. But I
think functions like `isnan` or `isinf` will still work correctly.

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

[okular] [Bug 421780] Most ways of scrolling a document not working (Qt 5.15)

2021-04-01 Thread David Hurka
https://bugs.kde.org/show_bug.cgi?id=421780

--- Comment #27 from David Hurka  ---
Awesome! :) I think QScroller shouldn’t break because of floating point
inaccuracy. But its complicated floating point calculations make it seem
possible to me.

What does -ffinite-math-only mean? That stuff like qNaN does not work, because
it is not a finite floating point number? Then QScroller can’t work.

Thanks for the gdb output anyway.

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

[okular] [Bug 421822] 'Scroll Page Up'/'Scroll Page Down' actions scroll by scrollbar height instead of viewport height, which is incorrect when scrollbars are disabled

2021-04-01 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=421822

--- Comment #29 from Nate Graham  ---
Yup, that's exactly what happens. Great intuition!

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

[okular] [Bug 421780] Most ways of scrolling a document not working (Qt 5.15)

2021-04-01 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=421780

--- Comment #26 from abulhair.sapa...@gmail.com ---
I found the bug, for me, was being caused by compiling qtcore with the flag
-ffinite-math-only. I had previously ruled out optimization flags as being the
cause since I had recompiled okular and qtwidgets with no optimizations and the
bug persisted, and when I saw this reported bug, I thought it must be caused by
something else. But I don't know if this is the cause of the issue for Bernhard
or others.

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

[okular] [Bug 435227] New: Settings changes reset on every launch, they do not save

2021-04-01 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=435227

Bug ID: 435227
   Summary: Settings changes reset on every launch, they do not
save
   Product: okular
   Version: 20.12.2
  Platform: Other
OS: Microsoft Windows
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: PDF backend
  Assignee: okular-devel@kde.org
  Reporter: potre...@wp.pl
  Target Milestone: ---

Windows 10

as in summary I can't change anything, for example opening new document in new
tab :/

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

[okular] [Bug 435163] crash on highlighter usage only after save

2021-04-01 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=435163

--- Comment #4 from e.sodja...@gmail.com ---
Created attachment 137238
  --> https://bugs.kde.org/attachment.cgi?id=137238=edit
Valgrind output

With other documents (smaller ones, ~1.1MB) it reloads before highlight
annotations are saved (asks if I would like to save changes as it spontaneously
closes the document and reloads it), but not every time, and hasn't crashed all
the way so far. With the original document (~2.9MB) it tries to reload after
highlighting but crashes without the option to save. This output is from
valgrind on smaller file.

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

[okular] [Bug 421780] Most ways of scrolling a document not working (Qt 5.15)

2021-04-01 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=421780

--- Comment #25 from abulhair.sapa...@gmail.com ---
Actually I think I may have inadvertently fixed my issue. I tried recompiling
all of qtcore, qtwidgets, and okular with debug symbols as well as disabling
all optimization and now it's scrolling correctly! I suspect it's one of the
optimizations causing the bug. Give me some time to tinker and find exactly
which one.

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

[okular] [Bug 421780] Most ways of scrolling a document not working (Qt 5.15)

2021-04-01 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=421780

--- Comment #24 from abulhair.sapa...@gmail.com ---
(In reply to David Hurka from comment #22)
> Mistake: Instead of this:
> 
> >breakpoint QScroller::scrollTo
> it is called this:
> 
> >break QScroller::scrollTo(QPointF const&, int)

Ah this worked but the output is the same as before (aside from some
differences in pointers in 'xSegments').

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

[okular] [Bug 421780] Most ways of scrolling a document not working (Qt 5.15)

2021-04-01 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=421780

--- Comment #23 from abulhair.sapa...@gmail.com ---
Created attachment 137231
  --> https://bugs.kde.org/attachment.cgi?id=137231=edit
gdb output

For some reason there wasn't a symbol 'this' in the QScroller::scrollTo frame
(maybe I didn't correctly compile with debug symbols), but I went one frame up
to PageView::slotScrollDown (okular-20.12.3/part/pageview.cpp:4831) and did
'print -pretty on -- *d->scroller->d_ptr'. The output of this command is
attached.

The breakpoint fired when I tried to scroll down with the mouse wheel.

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

[okular] [Bug 421780] Most ways of scrolling a document not working (Qt 5.15)

2021-04-01 Thread David Hurka
https://bugs.kde.org/show_bug.cgi?id=421780

--- Comment #22 from David Hurka  ---
Mistake: Instead of this:

>breakpoint QScroller::scrollTo
it is called this:

>break QScroller::scrollTo(QPointF const&, int)

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

[okular] [Bug 421780] Most ways of scrolling a document not working (Qt 5.15)

2021-04-01 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=421780

--- Comment #21 from abulhair.sapa...@gmail.com ---
Apparently parttest seems to have been excluded by Gentoo
(https://bugs.gentoo.org/641728), along with mainshelltest, chmgeneratortest,
parttest, and annotationtoolbartest.

Sure I'll try running okular with gdb now.

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

[okular] [Bug 421780] Most ways of scrolling a document not working (Qt 5.15)

2021-04-01 Thread David Hurka
https://bugs.kde.org/show_bug.cgi?id=421780

--- Comment #20 from David Hurka  ---
Thanks! No fails related to QScroller visible. But what’s with “parttest”?
ctest didn’t run it, or cmake didn’t compile it?

Maybe we can try to look at internal values of QScroller. You will need to
install debugging symbols for (at least) Qt5 and Okular. On ubuntu, they are
called: libqt5core5a-dbgsym, libqt5gui5-dbgsym, libqt5widgets5-dbgsym,
okular-dbgsym. I don’t know how Gentoo works, possible that you don’t need
them.

Then run:
> $ gdb okular
> (gdb) set pagination off
> (gdb) run
> no open a document in Okular and reproduce the bug
> ^C (hit Ctrl+C)
> (gdb) breakpoint QScroller::scrollTo
> (gdb) continue
> now reproduce the bug
> (gdb) print -pretty on -- *this->d_ptr

I will look later at QScroller to see what these values mean. ;)

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

[okular] [Bug 435120] Data protection: Removing or editing annotation metadata (author, date, time) should be possible

2021-04-01 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=435120

--- Comment #19 from 2wxsy5823...@opayq.com ---
(In reply to Rainer Klute from comment #18)
> A controller who has to stick to the GDPR may only deploy software that
> allows him to process personal data in a GDPR-compliant way.

> setting the author before editing is a viable way to go

> I haven’t found any option to “change the date before annotating”

Are you able to find any software or method which allows you to remove or edit
the annotation metadata?
If no, does that mean you cannot process PDF files (or cannot do any
annotation)?

Also, if "a controller who has to stick to the GDPR may only deploy software
that allows him to process personal data in a GDPR-compliant way", does that
mean they cannot use closed-source software?
How can they ensure that the closed-source software they are using have no
backdoor and telemetry?

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