[okular] [Bug 477153] New: Okular crashed when saving a document with form-fillable elements

2023-11-17 Thread Mirko
https://bugs.kde.org/show_bug.cgi?id=477153

Bug ID: 477153
   Summary: Okular crashed when saving a document with
form-fillable elements
Classification: Applications
   Product: okular
   Version: 23.08.3
  Platform: Arch Linux
OS: Linux
Status: REPORTED
  Keywords: drkonqi
  Severity: crash
  Priority: NOR
 Component: general
  Assignee: okular-devel@kde.org
  Reporter: mirko.kugelme...@rwth-aachen.de
  Target Milestone: ---

Application: okular (23.08.3)

Qt Version: 5.15.11
Frameworks Version: 5.112.0
Operating System: Linux 6.5.9-arch2-1 x86_64
Windowing System: Wayland
Distribution: Arch Linux
DrKonqi: 5.27.9 [KCrashBackend]

-- Information about the crash:
Okular crashed the moment I hit CTRL+S to save the document after filling some
form fields. Saving previously worked in the same document after filling forms.
Opening the document again, filling some forms, and saving also wroks without
issues and does not lead to a crash.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr = {get() = }
[KCrash Handler]
#6  0x7fe5a00f3cd0 in Poppler::FormField::isVisible() const
(this=0x563853cdeb50) at
/usr/src/debug/poppler/poppler-23.10.0/qt5/src/poppler-form.cc:199
#7  0x7fe5a3757cf5 in PageViewItem::setFormWidgetsVisible(bool)
(this=this@entry=0x563853966bd0, visible=true) at
/usr/src/debug/okular/okular-23.08.3/part/pageviewutils.cpp:178
#8  0x7fe5a375ca45 in PageViewItem::setFormWidgetsVisible(bool)
(visible=, this=0x563853966bd0) at
/usr/src/debug/okular/okular-23.08.3/part/pageviewutils.cpp:171
#9  PageViewItem::setVisible(bool) (visible=true, this=0x563853966bd0) at
/usr/src/debug/okular/okular-23.08.3/part/pageviewutils.cpp:157
#10 PageView::slotRelayoutPages() (this=) at
/usr/src/debug/okular/okular-23.08.3/part/pageview.cpp:4582
#11 0x7fe5a375cf81 in PageView::delayedResizeEvent() (this=0x563852cd2d80)
at /usr/src/debug/okular/okular-23.08.3/part/pageview.cpp:4650
#12 0x7fe5cb6d1097 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
(a=0x7ffd13e17c60, r=, this=0x563852ca3850, this=, r=, a=) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#13 doActivate(QObject*, int, void**) (sender=0x563852caa4e0,
signal_index=3, argv=0x7ffd13e17c60) at kernel/qobject.cpp:3925
#14 0x7fe5cb6d2bcf in QTimer::timeout(QTimer::QPrivateSignal)
(this=, _t1=...) at .moc/moc_qtimer.cpp:205
#15 0x7fe5cb6c3b4e in QObject::event(QEvent*) (this=0x563852caa4e0,
e=0x7ffd13e17dd0) at kernel/qobject.cpp:1324
#16 0x7fe5cc3788ff in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=, receiver=0x563852caa4e0, e=0x7ffd13e17dd0) at
kernel/qapplication.cpp:3640
#17 0x7fe5cb69c168 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x563852caa4e0, event=0x7ffd13e17dd0) at
kernel/qcoreapplication.cpp:1064
#18 0x7fe5cb6ea7cb in QTimerInfoList::activateTimers()
(this=0x563852a3e190) at kernel/qtimerinfo_unix.cpp:643
#19 0x7fe5cb6eadba in timerSourceDispatch(GSource*, GSourceFunc, gpointer)
(source=) at kernel/qeventdispatcher_glib.cpp:183
#20 0x7fe5c9d0df69 in g_main_dispatch (context=0x7fe5cec0) at
../glib/glib/gmain.c:3476
#21 0x7fe5c9d6c327 in g_main_context_dispatch_unlocked
(context=0x7fe5cec0) at ../glib/glib/gmain.c:4284
#22 g_main_context_iterate_unlocked.isra.0
(context=context@entry=0x7fe5cec0, block=block@entry=1,
dispatch=dispatch@entry=1, self=) at ../glib/glib/gmain.c:4349
#23 0x7fe5c9d0c162 in g_main_context_iteration (context=0x7fe5cec0,
may_block=1) at ../glib/glib/gmain.c:4414
#24 0x7fe5cb6eaf7c in
QEventDispatcherGlib::processEvents(QFlags)
(this=0x563852a3e630, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#25 0x7fe5cb69ae74 in
QEventLoop::exec(QFlags)
(this=this@entry=0x7ffd13e18080, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#26 0x7fe5cc57456b in QDialog::exec() (this=0x5638534ba7a0) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#27 0x7fe5ccbcdc89 in KMessageBox::createKMessageBox(QDialog*,
QDialogButtonBox*, QIcon const&, QString const&, QStringList const&, QString
const&, bool*, QFlags, QString const&, QMessageBox::Icon)
(dialog=dialog@entry=0x5638534ba7a0, buttons=buttons@entry=0x563854efea60,
icon=..., text=..., strlist=..., ask=..., checkboxReturn=0x0, options=...,
details=..., notifyType=QMessageBox::Critical) at
/usr/src/debug/kwidgetsaddons5/kwidgetsaddons-5.112.0/src/kmessagebox.cpp:375
#28 0x7fe5ccbce3bc in KMessageBox::createKMessageBox(QDialog*,
QDialogButtonBox*, QMessageBox::Icon, QString const&, QStringList const&,
QString const&, bool*, QFlags, QString const&)
(dialog=0x5638534ba7a0, buttons=0x563854efea60, icon=QMessageBox::Critical,
text=..., 

[okular] [Bug 443403] Reduce the size of the digital signature display

2023-11-17 Thread igor . machado
https://bugs.kde.org/show_bug.cgi?id=443403

igor.mach...@gmail.com  changed:

   What|Removed |Added

 CC||igor.mach...@gmail.com

--- Comment #33 from igor.mach...@gmail.com  ---
For me, the font size is the greatest issue, since in Brazil with university
ICP-EDU RNP certificates, the Full Name is connected with the national number
(called CPF), that has 11 digits... So, the left side is typically giant and
broken, unless a very large space is provided.
I created two tutorials that have been used in brazilian universities, and they
explain exactly about this problem (but in Portuguese):
-
https://igormcoelho.medium.com/assinatura-digital-do-icpedu-em-pdf-no-gnu-linux-c612688ce454
-
https://igormcoelho.medium.com/assinatura-digital-do-icpedu-com-carimbo-utilizando-okular-98c146066c3a
I also created some PDF with "enough space" for the current signature system,
which is quite large:
-
https://raw.githubusercontent.com/igormcoelho/igormcoelho/main/tutoriais/2021-Teste-Assinatura-Digital.pdf

A solution, at least for me, is to allow to reduce font size when selecting the
Stamp box for signature (together with fields Reason, etc, one could select
"Font Size: 20" or "Font Size: XX").

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

[okular] [Bug 477108] Font and text issues with Digitally Sign feature for non-english users

2023-11-17 Thread igor . machado
https://bugs.kde.org/show_bug.cgi?id=477108

--- Comment #5 from igor.mach...@gmail.com  ---
Created attachment 163239
  --> https://bugs.kde.org/attachment.cgi?id=163239=edit
Okular does not change language

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

[okular] [Bug 402017] Cannot save PDF when loaded file has been deleted

2023-11-17 Thread Sune Vuorela
https://bugs.kde.org/show_bug.cgi?id=402017

Sune Vuorela  changed:

   What|Removed |Added

 CC||chronoan...@web.de

--- Comment #78 from Sune Vuorela  ---
*** Bug 477136 has been marked as a duplicate of this bug. ***

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

[okular] [Bug 477136] If the PDF-File was modified by another program, Save As … is ALSO disabled.

2023-11-17 Thread Sune Vuorela
https://bugs.kde.org/show_bug.cgi?id=477136

Sune Vuorela  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 CC||k...@pusling.com
 Resolution|--- |DUPLICATE

--- Comment #1 from Sune Vuorela  ---
dupe of https://bugs.kde.org/show_bug.cgi?id=402017 - already fixed.

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

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

[okular] [Bug 477136] New: If the PDF-File was modified by another program, Save As … is ALSO disabled.

2023-11-17 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=477136

Bug ID: 477136
   Summary: If the PDF-File was modified by another program, Save
As … is ALSO disabled.
Classification: Applications
   Product: okular
   Version: 21.12.3
  Platform: Mint (Ubuntu based)
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: okular-devel@kde.org
  Reporter: chronoan...@web.de
  Target Milestone: ---

SUMMARY
If the PDF-File was modified by another program, Save As … is ALSO disabled. I
had to discard and redo all my own changes, because I couldn't SAVE AS – which
should be allowed.

STEPS TO REPRODUCE
1. Open PDF and add annotations
2. Have another Program modify the original PDF (e.g. a cloud application)
while it is still open in ocular
3. Have Ocular NOT Reload (because you want to keep your own annotations(!))
4. SAVE AS … is denied!

OBSERVED RESULT
SAVE AS has become impossible

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

[okular] [Bug 477108] Font and text issues with Digitally Sign feature for non-english users

2023-11-17 Thread Sune Vuorela
https://bugs.kde.org/show_bug.cgi?id=477108

--- Comment #4 from Sune Vuorela  ---
(In reply to igor.mach...@gmail.com from comment #2)
> Regarding flatpak, that's strange indeed, and perhaps it's not related to
> okular itself... For me, on Ubuntu 22.04, I'm forced to use flatpak to have
> Stamps on digital signatures, otherwise the system version is too old. Maybe
It is claimed to work.

Signed by: should be translated into Assinado Por: according to my reading of
the translation data.

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

Re: [okular] [Bug 477127] review tool settings get lost after reload

2023-11-17 Thread Ari Massoudi
Hello All,

Is there a way for me to unsubscribe from this email list? I subscribed in
the first place because I thought it was the newsletter of Okular (and I
didn't get it was the list for developers).

Thanks for your help,
Cheers,

Ari

Le ven. 17 nov. 2023 à 11:53, peter josvai  a
écrit :

> https://bugs.kde.org/show_bug.cgi?id=477127
>
> --- Comment #3 from peter josvai  ---
> it functions good now
> I don't now what happened, but the problem had produced itself twice...
>
> I now have checked whether it is just the last modification that gets
> lost...
> I did one modification, saved and reloaded the document (and Okular), and
> it
> didn't get forgotten...
>
>
> so, at this point I cannot reproduce it anymore...
> Sorry for taking your time!!!
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.


[okular] [Bug 477127] review tool settings get lost after reload

2023-11-17 Thread peter josvai
https://bugs.kde.org/show_bug.cgi?id=477127

--- Comment #3 from peter josvai  ---
it functions good now
I don't now what happened, but the problem had produced itself twice...

I now have checked whether it is just the last modification that gets lost...
I did one modification, saved and reloaded the document (and Okular), and it
didn't get forgotten...


so, at this point I cannot reproduce it anymore...
Sorry for taking your time!!!

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

[okular] [Bug 477127] review tool settings get lost after reload

2023-11-17 Thread peter josvai
https://bugs.kde.org/show_bug.cgi?id=477127

--- Comment #2 from peter josvai  ---
hi,

1.9.3

libraries:
KDE Frameworks 5.68.0
Qt 5.12.8 (built against 5.12.8)
The xcb windowing system

my linux:
https://termbin.com/sq3c

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

[okular] [Bug 477127] review tool settings get lost after reload

2023-11-17 Thread David Hurka
https://bugs.kde.org/show_bug.cgi?id=477127

David Hurka  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #1 from David Hurka  ---
> SOFTWARE/OS VERSIONS
> Okular v.1.9.3
> Linux (x86_64) release 5.4.0-166-generic

You are probably using an LTS distribution from 2020, which doesn’t include KDE
Frameworks version KF 5.78 yet.
This is what was supposed to fix Bug 384700, which seems similar to me.

Can you provide your software versions?

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