[okular] [Bug 435568] "Do you want to save or discard?" Options are Yes, No, or Abort

2021-04-11 Thread Burkhard Lück
https://bugs.kde.org/show_bug.cgi?id=435568

Burkhard Lück  changed:

   What|Removed |Added

 CC||lu...@hube-lueck.de

--- Comment #6 from Burkhard Lück  ---
Ubuntu 20.04.2 LTS
Okular Version 1.9.3
KDE Frameworks 5.68.0
Qt 5.12.8
Plasma 5.18.5

German translation of "Save/Discard/Abort" is correct
"Speichern/Verwerfen/Abbrechen"

see also https://bugs.kde.org/show_bug.cgi?id=420189

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

[okular] [Bug 435582] Moving a bookmarked pdf file from one folder to another deletes all bookmarks

2021-04-11 Thread Larry Bradley
https://bugs.kde.org/show_bug.cgi?id=435582

--- Comment #3 from Larry Bradley  ---
Thanks, but what do you mean by "design" issue? Design of the program? Thanks
for all the good work you do.

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

[okular] [Bug 435626] Okular crashes when trying to modify a form-pdf

2021-04-11 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=435626

Albert Astals Cid  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO
 CC||aa...@kde.org

--- Comment #1 from Albert Astals Cid  ---
can we have that file?

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

[okular] [Bug 435626] New: Okular crashes when trying to modify a form-pdf

2021-04-11 Thread Emanuele Spirito
https://bugs.kde.org/show_bug.cgi?id=435626

Bug ID: 435626
   Summary: Okular crashes when trying to modify a form-pdf
   Product: okular
   Version: 1.11.1
  Platform: Fedora RPMs
OS: Linux
Status: REPORTED
  Keywords: drkonqi
  Severity: crash
  Priority: NOR
 Component: general
  Assignee: okular-devel@kde.org
  Reporter: emaster...@gmail.com
  Target Milestone: ---

Application: okular (1.11.1)

Qt Version: 5.15.2
Frameworks Version: 5.79.0
Operating System: Linux 5.11.11-200.fc33.x86_64 x86_64
Windowing system: X11
Distribution: Fedora 33 (KDE Plasma)

-- Information about the crash:
- What I was doing when the application crashed:
I opened a pdf with okular. The pdf has been opened correctly. The pdf
contained a form, so I used the suggestion (Visualize->See forms) to start the
modify-mode. When entered the modify-mode, I saw changing font of the form
field. So, I clicked on one field and okular crashed. 
Something odd I noticed is that not all the form field of the pdf were marked
up as form field while in the modify-mode. Indeed I opened the same pdf-form
with Chromium and there I could see many more fields than the ones seen in
okular.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x7f75b0361bf1 in Poppler::Document::formCalculateOrder() const () from
/lib64/libpoppler-qt5.so.1
#5  0x7f75b03e3d4f in PDFGenerator::metaData(QString const&, QVariant
const&) const () from
/usr/lib64/qt5/plugins/okular/generators/okularGenerator_poppler.so
#6  0x7f75b3560a61 in Okular::Document::metaData(QString const&, QVariant
const&) const () from /lib64/libOkular5Core.so.9
#7  0x7f75b3550343 in Okular::DocumentPrivate::recalculateForms() () from
/lib64/libOkular5Core.so.9
#8  0x7f75b3576fd7 in Okular::EditFormButtonsCommand::redo() () from
/lib64/libOkular5Core.so.9
#9  0x7f75ccd1019a in QUndoStack::push(QUndoCommand*) () from
/lib64/libQt5Widgets.so.5
#10 0x7f75cbe8f386 in void doActivate(QObject*, int, void**) () from
/lib64/libQt5Core.so.5
#11 0x7f75b81bd4b2 in
FormWidgetsController::slotButtonClicked(QAbstractButton*) () from
/usr/lib64/qt5/plugins/okularpart.so
#12 0x7f75cbe8f386 in void doActivate(QObject*, int, void**) () from
/lib64/libQt5Core.so.5
#13 0x7f75cca765d3 in QButtonGroup::buttonClicked(QAbstractButton*) () from
/lib64/libQt5Widgets.so.5
#14 0x7f75cca71d7f in QAbstractButtonPrivate::emitClicked() () from
/lib64/libQt5Widgets.so.5
#15 0x7f75cca73673 in QAbstractButtonPrivate::click() () from
/lib64/libQt5Widgets.so.5
#16 0x7f75cca73855 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
from /lib64/libQt5Widgets.so.5
#17 0x7f75cc9c2b1e in QWidget::event(QEvent*) () from
/lib64/libQt5Widgets.so.5
#18 0x7f75cc981ec3 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib64/libQt5Widgets.so.5
#19 0x7f75cc988eeb in QApplication::notify(QObject*, QEvent*) () from
/lib64/libQt5Widgets.so.5
#20 0x7f75cbe5fbd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib64/libQt5Core.so.5
#21 0x7f75cc987efa in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&, bool, bool) ()
from /lib64/libQt5Widgets.so.5
#22 0x7f75cc9db375 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from
/lib64/libQt5Widgets.so.5
#23 0x7f75cc9de6be in QWidgetWindow::event(QEvent*) () from
/lib64/libQt5Widgets.so.5
#24 0x7f75cc981ec3 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib64/libQt5Widgets.so.5
#25 0x7f75cbe5fbd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib64/libQt5Core.so.5
#26 0x7f75cc328143 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() from /lib64/libQt5Gui.so.5
#27 0x7f75cc3098cc in
QWindowSystemInterface::sendWindowSystemEvents(QFlags)
() from /lib64/libQt5Gui.so.5
#28 0x7f75ba55e47e in xcbSourceDispatch(_GSource*, int (*)(void*), void*)
() from /lib64/libQt5XcbQpa.so.5
#29 0x7f75ca63fa9f in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#30 0x7f75ca691a98 in g_main_context_iterate.constprop () from
/lib64/libglib-2.0.so.0
#31 0x7f75ca63ce73 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#32 0x7f75cbeac6f3 in
QEventDispatcherGlib::processEvents(QFlags) ()
from /lib64/libQt5Core.so.5
#33 0x7f75cbe5e57b in
QEventLoop::exec(QFlags) () from
/lib64/libQt5Core.so.5
#34 0x7f75cbe661b4 in QCoreApplication::exec() () from
/lib64/libQt5Core.so.5
#35 0x55d0165be8ce in main ()
[Inferior 1 (process 3678) detached]

The reporter indicates this bug may be a duplicate of or related to bug 234280.

Possible duplicates by query: bug 395029, bug 366785, bug 366617, bug 334348,
bug 332693.

Reported using DrKonqi

-- 

[okular] [Bug 435535] Okular EPUB backend renders black background with black text

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

--- Comment #13 from Yuri Chornoivan  ---

Ok. Here's oneliner that will be never accepted (but tested to work). ;)


diff --git a/generators/epub/converter.cpp b/generators/epub/converter.cpp
index 291b9caed..2f79dbc9b 100644
--- a/generators/epub/converter.cpp
+++ b/generators/epub/converter.cpp
@@ -217,6 +217,7 @@ QTextDocument *Converter::convert(const QString )
 // as QTextCharFormat::anchorNames() ignores sections, replace it with

 htmlContent.replace(QRegExp(QStringLiteral("< *section")),
QStringLiteral("maxContentHeight();

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

[okular] [Bug 435568] "Do you want to save or discard?" Options are Yes, No, or Abort

2021-04-11 Thread Rainer Dorsch
https://bugs.kde.org/show_bug.cgi?id=435568

--- Comment #5 from Rainer Dorsch  ---
Created attachment 137510
  --> https://bugs.kde.org/attachment.cgi?id=137510=edit
Dialog Box which has the problem

I added the dialog box which shows the problem (in German)

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

[okular] [Bug 435535] Okular EPUB backend renders black background with black text

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

ber...@codewiz.org changed:

   What|Removed |Added

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

--- Comment #12 from ber...@codewiz.org ---
Oh, I see now: only cover.xhtml has style="background-color:black;". The
following sections don't specify the background-color for , but Okular
keeps on using black throughout the entire book.

Reopening the bug.

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

[okular] [Bug 435535] Okular EPUB backend renders black background with black text

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

--- Comment #11 from ber...@codewiz.org ---
On second thought, it seems Calibre is ignoring the "background-color:black" in
, because the background is painted in the Breeze-dark window background
color.
Similarly, http://epubreader.1bestlink.net/ renders page backgrounds in white.

Perhaps Okular is ignoring those "background: transparent" attributes in the
css file? I'm not sure in what order they should be applied...

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

[okular] [Bug 435535] Okular EPUB backend renders black background with black text

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

--- Comment #10 from ber...@codewiz.org ---
> I might be wrong, but isn't it already here
> (one of the options on the "Accessibility" page)?

I tried a few of them, and...

 - "Change Paper Color" has no effect on this book
 - "Invert Colors" renders white background with white text (so it's still
unreadable)
 - "Change Dark & Light Colors" renders both page and text in the dark color
 - "Convert to Black & White" leaves text & page to black
 - "Invert..." and "Shift..." also have no effect.

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

[okular] [Bug 435535] Okular EPUB backend renders black background with black text

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

--- Comment #9 from Yuri Chornoivan  ---
(In reply to bernie from comment #8)
> Do you think I could file a feature request for an option similar to Calibre?
> 
>Override all book colors:
>( ) Never
>(o) In dark mode
>( ) Always

I might be wrong, but isn't it already here (one of the options on the
"Accessibility" page)?

https://docs.kde.org/trunk5/en/okular/okular/configaccessibility.html

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

[okular] [Bug 435535] Okular EPUB backend renders black background with black text

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

--- Comment #8 from ber...@codewiz.org ---
Do you think I could file a feature request for an option similar to Calibre?

   Override all book colors:
   ( ) Never
   (o) In dark mode
   ( ) Always

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

[okular] [Bug 435582] Moving a bookmarked pdf file from one folder to another deletes all bookmarks

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

David Hurka  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #2 from David Hurka  ---
It’s not an Okular programming issue. It’s a design issue. :)

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

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

[okular] [Bug 319625] Bookmarks lost for renamed documents, allow to manually specify document path

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

David Hurka  changed:

   What|Removed |Added

 CC||larrywbrad...@gmail.com

--- Comment #23 from David Hurka  ---
*** Bug 435582 has been marked as a duplicate of this bug. ***

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

[okular] [Bug 330961] Okular should save bookmarks in .okular file archive

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

David Hurka  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=319625

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

[okular] [Bug 336381] Directly save bookmarks to PDF

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

David Hurka  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=319625

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

[okular] [Bug 319625] Bookmarks lost for renamed documents, allow to manually specify document path

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

David Hurka  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=336381,
   ||https://bugs.kde.org/show_b
   ||ug.cgi?id=330961

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

[okular] [Bug 371904] horizontal mouse-drag wraparound

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

David Hurka  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/grap
   ||hics/okular/commit/2e1ddaa1
   ||095fc2b564512851f55eee880e9
   ||64746

--- Comment #4 from David Hurka  ---
Git commit 2e1ddaa1095fc2b564512851f55eee880e964746 by David Hurka.
Committed on 11/04/2021 at 09:56.
Pushed by davidhurka into branch 'master'.

Enable horizontal mouse wrap for Browse tool drag scrolling

Also fixes calculation of wrap edges, where top and bottom edge were swapped.

M  +4-2part/pageview.cpp

https://invent.kde.org/graphics/okular/commit/2e1ddaa1095fc2b564512851f55eee880e964746

-- 
You are receiving this mail because:
You are on the CC list for the bug.