[okular] [Bug 475798] Okular crashes right after applying digital signature

2023-10-18 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=475798

Albert Astals Cid  changed:

   What|Removed |Added

 CC||aa...@kde.org

--- Comment #1 from Albert Astals Cid  ---
Can you install valgrind and run

valgrind okular

It will be slow. And then do the same thing you do to make it crash?

Once done, even if it doesn't crash, please attach the output of valgrind here.

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

[okular] [Bug 461012] Feature request: Add a possibility for image to ignore color change

2023-10-18 Thread Daniel
https://bugs.kde.org/show_bug.cgi?id=461012

Daniel  changed:

   What|Removed |Added

 CC||naq...@gmail.com

--- Comment #4 from Daniel  ---
This is a very interesting and highly desired feature for me (personal issues
reading from a big screen).

I've found out that Zathura performs recoloring w/o affecting images. It does
so by retrieving the list of images of the page with the corresponding
coordinates and then skipping those during the recolor. 

Okular's recoloring is happening in
https://github.com/KDE/okular/blob/master/gui/pagepainter.cpp#L689 but that
function has no access to the PDF details as they're hidden behind the abstract
interface of the Generator which does not provide any details.

Unfortunately, my try to add bool Generator::mediaBoxes(QList& boxes)
const and pass those boxes to recolor has failed around trying to get the
Generator for the page :( I didn't even get to transforming the boxes according
to the page.

Anyway, both hands for that feature.

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

[okular] [Bug 475806] Inserted text doesn't display diacritics

2023-10-18 Thread David Škrob
https://bugs.kde.org/show_bug.cgi?id=475806

--- Comment #1 from David Škrob  ---
(In reply to David Škrob from comment #0)
> STEPS TO REPRODUCE
> 1. Open PDF File
> 2. Insert text with letters "č" or "Č" or "ř" or "Ř"
> 
> OBSERVED RESULT
> If inserted text is "společná činnost" displayed text is "spolená innost"
> 
> EXPECTED RESULT
> letter "č" is show in inserted text
> 
> SOFTWARE/OS VERSIONS
> Windows: 11

letters "ě" a "Ě" also don't work

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

[okular] [Bug 475806] New: Inserted text doesn't display diacritics

2023-10-18 Thread David Škrob
https://bugs.kde.org/show_bug.cgi?id=475806

Bug ID: 475806
   Summary: Inserted text doesn't display diacritics
Classification: Applications
   Product: okular
   Version: 23.08.1
  Platform: unspecified
OS: Microsoft Windows
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: markdown backend
  Assignee: okular-devel@kde.org
  Reporter: dav.sk...@email.cz
  Target Milestone: ---

STEPS TO REPRODUCE
1. Open PDF File
2. Insert text with letters "č" or "Č" or "ř" or "Ř"

OBSERVED RESULT
If inserted text is "společná činnost" displayed text is "spolená innost"

EXPECTED RESULT
letter "č" is show in inserted text

SOFTWARE/OS VERSIONS
Windows: 11

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

[okular] [Bug 427953] Unique instance and open in tabs ignored

2023-10-18 Thread witchhunter
https://bugs.kde.org/show_bug.cgi?id=427953

witchhunter  changed:

   What|Removed |Added

 CC||witchhunterpro@protonmail.c
   ||om

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

[okular] [Bug 475798] New: Okular crashes right after applying digital signature

2023-10-18 Thread Erik Quaeghebeur
https://bugs.kde.org/show_bug.cgi?id=475798

Bug ID: 475798
   Summary: Okular crashes right after applying digital signature
Classification: Applications
   Product: okular
   Version: 23.04.3
  Platform: Compiled Sources
OS: Linux
Status: REPORTED
  Keywords: drkonqi
  Severity: crash
  Priority: NOR
 Component: general
  Assignee: okular-devel@kde.org
  Reporter: bugs.kde@e3q.eu
  Target Milestone: ---

Application: okular (23.04.3)
 (Compiled from sources)
Qt Version: 5.15.10
Frameworks Version: 5.110.0
Operating System: Linux 6.1.53-gentoo-r1-a x86_64
Windowing System: X11
Distribution: "Gentoo Linux"
DrKonqi: 5.27.8 [KCrashBackend]

-- Information about the crash:
When signing a pdf form in okular (with a certificate on a smartcard), it often
but  not always crashes right after the signature is applied. So I can reopen
pdf and verify that the signature has been applied.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault

[KCrash Handler]
#4  0x7a6152f368e3 in Okular::Page::number (this=0x5ccebd63cc90) at
/var/tmp/portage/kde-apps/okular-23.04.3/work/okular-23.04.3/core/page.cpp:162
#5  0x7a615238649d in SignaturePartUtils::signUnsignedSignature
(form=0x5ccebda8beb0, pageView=0x5ccebcc68350, doc=0x5ccebca9d8b0) at
/var/tmp/portage/kde-apps/okular-23.04.3/work/okular-23.04.3/part/signaturepartutils.cpp:120
#6  0x7a617a4c5ea4 in QtPrivate::QSlotObjectBase::call (a=0x7ffeea71a4d0,
r=0x5ccebd87ac30, this=0x5ccebd87aa80) at
/var/tmp/portage/dev-qt/qtcore-5.15.10-r2/work/qtbase-everywhere-src-5.15.10/include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#7  doActivate (sender=0x5ccebd87ac30, signal_index=9,
argv=0x7ffeea71a4d0) at
/var/tmp/portage/dev-qt/qtcore-5.15.10-r2/work/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qobject.cpp:3925
#8  0x7a617a4bfbd7 in QMetaObject::activate
(sender=sender@entry=0x5ccebd87ac30, m=m@entry=0x7a617b496240
,
local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffeea71a4d0)
at
/var/tmp/portage/dev-qt/qtcore-5.15.10-r2/work/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qobject.cpp:3985
#9  0x7a617b05b0a2 in QAbstractButton::clicked
(this=this@entry=0x5ccebd87ac30, _t1=) at
.moc/moc_qabstractbutton.cpp:308
#10 0x7a617b05b2fa in QAbstractButtonPrivate::emitClicked
(this=0x5ccebd084c10) at
/var/tmp/portage/dev-qt/qtwidgets-5.15.10-r3/work/qtbase-everywhere-src-5.15.10/src/widgets/widgets/qabstractbutton.cpp:416
#11 0x7a617b05ceb7 in QAbstractButtonPrivate::click (this=0x5ccebd084c10)
at
/var/tmp/portage/dev-qt/qtwidgets-5.15.10-r3/work/qtbase-everywhere-src-5.15.10/src/widgets/widgets/qabstractbutton.cpp:409
#12 0x7a617b05d0e3 in QAbstractButton::mouseReleaseEvent
(this=0x5ccebd87ac30, e=0x7ffeea71aa80) at
/var/tmp/portage/dev-qt/qtwidgets-5.15.10-r3/work/qtbase-everywhere-src-5.15.10/src/widgets/widgets/qabstractbutton.cpp:1045
#13 0x7a617afa6fa8 in QWidget::event (this=0x5ccebd87ac30,
event=0x7ffeea71aa80) at
/var/tmp/portage/dev-qt/qtwidgets-5.15.10-r3/work/qtbase-everywhere-src-5.15.10/src/widgets/kernel/qwidget.cpp:9045
#14 0x7a617af631de in QApplicationPrivate::notify_helper
(this=this@entry=0x5ccebc7606e0, receiver=receiver@entry=0x5ccebd87ac30,
e=e@entry=0x7ffeea71aa80) at
/var/tmp/portage/dev-qt/qtwidgets-5.15.10-r3/work/qtbase-everywhere-src-5.15.10/src/widgets/kernel/qapplication.cpp:3640
#15 0x7a617af6b8e2 in QApplication::notify (this=,
receiver=0x5ccebd87ac30, e=0x7ffeea71aa80) at
/var/tmp/portage/dev-qt/qtwidgets-5.15.10-r3/work/qtbase-everywhere-src-5.15.10/src/widgets/kernel/qapplication.cpp:3084
#16 0x7a617a492d48 in QCoreApplication::notifyInternal2
(receiver=0x5ccebd87ac30, event=0x7ffeea71aa80) at
/var/tmp/portage/dev-qt/qtcore-5.15.10-r2/work/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qcoreapplication.cpp:1064
#17 0x7a617a492f4e in QCoreApplication::sendSpontaneousEvent
(receiver=, event=) at
/var/tmp/portage/dev-qt/qtcore-5.15.10-r2/work/qtbase-everywhere-src-5.15.10/src/corelib/kernel/qcoreapplication.cpp:1474
#18 0x7a617af69be4 in QApplicationPrivate::sendMouseEvent
(receiver=receiver@entry=0x5ccebd87ac30, event=event@entry=0x7ffeea71aa80,
alienWidget=, nativeWidget=0x5ccebc89a1c0,
buttonDown=buttonDown@entry=0x7a617b4bf9d0 ,
lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at
/var/tmp/portage/dev-qt/qtwidgets-5.15.10-r3/work/qtbase-everywhere-src-5.15.10/src/widgets/kernel/qapplication.cpp:2622
#19 0x7a617afc0573 in QWidgetWindow::handleMouseEvent
(this=this@entry=0x5ccebd39ee60, event=event@entry=0x7ffeea71ad50) at
/var/tmp/portage/dev-qt/qtwidgets-5.15.10-r3/work/qtbase-everywhere-src-5.15.10/src/widgets/kernel/qwidgetwindow.cpp:684
#20 0x7a617afc398f in QWidgetWindow::event (this=0x5ccebd39ee60,
event=0x7ffeea71ad50) at