[okular] [Bug 449552] New: CUPS and DBus crashes

2022-02-03 Thread Matias L
https://bugs.kde.org/show_bug.cgi?id=449552

Bug ID: 449552
   Summary: CUPS and DBus crashes
   Product: okular
   Version: 21.08.1
  Platform: Ubuntu Packages
OS: Linux
Status: REPORTED
  Keywords: drkonqi
  Severity: crash
  Priority: NOR
 Component: general
  Assignee: okular-devel@kde.org
  Reporter: matiaslapo...@gmail.com
  Target Milestone: ---

Application: okular (21.08.1)

Qt Version: 5.15.2
Frameworks Version: 5.86.0
Operating System: Linux 5.13.0-27-generic x86_64
Windowing System: X11
Drkonqi Version: 5.22.5
Distribution: Ubuntu 21.10

-- Information about the crash:
- What I was doing when the application crashed:

I  am having problems with the printers on my computer, where it crashes when
trying to do something related with them.

e.g.: 
* libreoffice crashes on startup, I have to disable cups previously every time
* when trying to open the "Print" dialog on Okular, I also get a crash.
* `lpstat -p -d` crashes with the following error:

"dbus[794440]: arguments to dbus_message_iter_append_basic() were incorrect,
assertion "_dbus_check_is_valid_utf8 (*string_p)" failed in file
../../../dbus/dbus-message.c line 2760.
This is normally a bug in some application using the D-Bus library.

  D-Bus not built with -rdynamic so unable to print a backtrace
[1]794440 IOT instruction (core dumped)  lpstat -p -d"

This is the same type of crash info that I get from okular and libreoffice.

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Aborted

[KCrash Handler]
#4  __pthread_kill_implementation (no_tid=0, signo=6, threadid=139952731393600)
at pthread_kill.c:44
#5  __pthread_kill_internal (signo=6, threadid=139952731393600) at
pthread_kill.c:80
#6  __GI___pthread_kill (threadid=139952731393600, signo=signo@entry=6) at
pthread_kill.c:91
#7  0x7f494caaa476 in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
#8  0x7f494ca907b7 in __GI_abort () at abort.c:79
#9  0x7f494bf52ed6 in ?? () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#10 0x7f494bf79620 in _dbus_warn_check_failed () from
/lib/x86_64-linux-gnu/libdbus-1.so.3
#11 0x7f494bf688af in dbus_message_iter_append_basic () from
/lib/x86_64-linux-gnu/libdbus-1.so.3
#12 0x7f494bf69d86 in dbus_message_append_args_valist () from
/lib/x86_64-linux-gnu/libdbus-1.so.3
#13 0x7f494bf69fdd in dbus_message_append_args () from
/lib/x86_64-linux-gnu/libdbus-1.so.3
#14 0x7f493c08c23a in avahi_record_browser_new () from
/lib/x86_64-linux-gnu/libavahi-client.so.3
#15 0x7f4930452d41 in ?? () from /lib/x86_64-linux-gnu/libcups.so.2
#16 0x7f4930402591 in cupsGetDests2 () from
/lib/x86_64-linux-gnu/libcups.so.2
#17 0x7f493c37e235 in ?? () from
/usr/lib/x86_64-linux-gnu/qt5/plugins/printsupport/libcupsprintersupport.so
#18 0x7f493c37e3d2 in ?? () from
/usr/lib/x86_64-linux-gnu/qt5/plugins/printsupport/libcupsprintersupport.so
#19 0x7f494c3478e7 in QPrinterInfo::defaultPrinter() () from
/lib/x86_64-linux-gnu/libQt5PrintSupport.so.5
#20 0x7f494c342b1d in QPrinterPrivate::findValidPrinter(QPrinterInfo
const&) () from /lib/x86_64-linux-gnu/libQt5PrintSupport.so.5
#21 0x7f494c344c16 in QPrinterPrivate::initEngines(QPrinter::OutputFormat,
QPrinterInfo const&) () from /lib/x86_64-linux-gnu/libQt5PrintSupport.so.5
#22 0x7f494c345042 in QPrinter::QPrinter(QPrinter::PrinterMode) () from
/lib/x86_64-linux-gnu/libQt5PrintSupport.so.5
#23 0x7f4945622e67 in Okular::Part::slotPrint() () from
/usr/lib/x86_64-linux-gnu/qt5/plugins/okularpart.so
#24 0x7f494d16958b in QMetaMethod::invoke(QObject*, Qt::ConnectionType,
QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument,
QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument,
QGenericArgument, QGenericArgument, QGenericArgument) const () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x7f494d16e456 in QMetaObject::invokeMethod(QObject*, char const*,
Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument,
QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument,
QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x55bba36a2492 in ?? ()
#27 0x7f494d195a88 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x7f494dcd7b86 in QAction::triggered(bool) () from
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x7f494dcda89c in QAction::activate(QAction::ActionEvent) () from
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x7f494dcdb487 in QAction::event(QEvent*) () from
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x7f494dcde6b3 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x7f494d15e16a in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib/x86_64-linux-g

[okular] [Bug 447363] Kile crashes in Okular::Page::formFields() when rapidly switching between tabs using the keyboard shortcut

2022-02-03 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=447363

--- Comment #6 from Albert Astals Cid  ---
That sounds like what i meant yes.

What backtrace do you get now? Because previously you had two closeDocument in
the backtrace that now should not be possible.

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

[okular] [Bug 449552] CUPS and DBus crashes

2022-02-03 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=449552

Albert Astals Cid  changed:

   What|Removed |Added

 Resolution|--- |DOWNSTREAM
 Status|REPORTED|RESOLVED
 CC||aa...@kde.org

--- Comment #1 from Albert Astals Cid  ---
It very much sounds like your installation of cups/dbus is broken, not
something that Okular can help you with. I'd suggest to visit some help forum
(possibily ubuntu related) and ask there.

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

[okular] [Bug 447363] Kile crashes in Okular::Page::formFields() when rapidly switching between tabs using the keyboard shortcut

2022-02-03 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=447363

--- Comment #7 from Nate Graham  ---
Now this is the backtrace:

Thread 1 "kile" received signal SIGSEGV, Segmentation fault.
QMapNode::lowerBound
(akey=, this=) at
/usr/include/qt5/QtCore/qmap.h:155
155 n = n->leftNode();
(gdb) bt
#0  QMapNode::lowerBound (
akey=, this=) at
/usr/include/qt5/QtCore/qmap.h:155
#1  QMapData::findNode
(
this=, this=, akey=:
)
at /usr/include/qt5/QtCore/qmap.h:288
#2  QMap::value (
adefaultValue=, akey=: ,
this=)
at /usr/include/qt5/QtCore/qmap.h:665
#3  Okular::PagePrivate::tilesManager (this=,
observer=0x186f620)
at /home/nate/kde/src/okular/core/page.cpp:996
#4  0x7fffd2daae7f in Okular::PixmapRequestPrivate::tilesManager
(this=)
at /home/nate/kde/src/okular/core/generator.cpp:657
#5  0x7fffd2d91c42 in Okular::DocumentPrivate::sendGeneratorPixmapRequest
(this=0x7fffcc002c00)
at /home/nate/kde/src/okular/core/document.cpp:1290
#6  0x75488726 in QtPrivate::QSlotObjectBase::call (a=0x7fffd220,
r=, 
this=) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#7  QSingleShotTimer::timerEvent (this=0x541ca40) at kernel/qtimer.cpp:320
#8  0x7547bedf in QObject::event (this=0x541ca40, e=0x7fffd370)
at kernel/qobject.cpp:1336
#9  0x75f26443 in QApplicationPrivate::notify_helper (this=, 
receiver=0x541ca40, e=0x7fffd370) at kernel/qapplication.cpp:3632
#10 0x754517d8 in QCoreApplication::notifyInternal2
(receiver=0x541ca40, 
event=0x7fffd370) at kernel/qcoreapplication.cpp:1064
#11 0x754a1ea3 in QTimerInfoList::activateTimers (this=0x469380)
at kernel/qtimerinfo_unix.cpp:643
#12 0x754a27ac in timerSourceDispatch (source=)
at kernel/qeventdispatcher_glib.cpp:183
#13 0x7321005f in g_main_dispatch (context=0x46a7a0) at
../glib/gmain.c:3381
#14 g_main_context_dispatch (context=0x46a7a0) at ../glib/gmain.c:4099
#15 0x73265298 in g_main_context_iterate.constprop.0
(context=context@entry=0x46a7a0, 
block=block@entry=1, dispatch=dispatch@entry=1, self=) at
../glib/gmain.c:4175
#16 0x7320d853 in g_main_context_iteration (context=0x46a7a0,
may_block=1)
at ../glib/gmain.c:4240
#17 0x754a2bb8 in QEventDispatcherGlib::processEvents (this=0x46ad30,
flags=...)
at kernel/qeventdispatcher_glib.cpp:423
#18 0x754501e2 in QEventLoop::exec (this=this@entry=0x7fffd610,
flags=..., 
flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#19 0x75458724 in QCoreApplication::exec ()
at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#20 0x75897c40 in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1860
#21 0x75f263b9 in QApplication::exec () at kernel/qapplication.cpp:2824
#22 0x77e32c1b in kdemain (argc=, argv=)
at /home/nate/kde/src/kile/src/main.cpp:203
#23 0x74768560 in __libc_start_call_main (main=main@entry=0x401040
, 
argc=argc@entry=1, argv=argv@entry=0x7fffd8d8) at
../sysdeps/nptl/libc_start_call_main.h:58
#24 0x7476860c in __libc_start_main_impl (main=0x401040 , argc=1, 
argv=0x7fffd8d8, init=, fini=,
rtld_fini=, 
stack_end=0x7fffd8c8) at ../csu/libc-start.c:409
#25 0x00401075 in _start ()

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

[okular] [Bug 449572] New: Okular sidebar tabs are not consistent with other styles like Gwenview

2022-02-03 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=449572

Bug ID: 449572
   Summary: Okular sidebar tabs are not consistent with other
styles like Gwenview
   Product: okular
   Version: 21.12.2
  Platform: Neon Packages
OS: Other
Status: REPORTED
  Severity: wishlist
  Priority: NOR
 Component: general
  Assignee: okular-devel@kde.org
  Reporter: marcwalling...@gmail.com
  Target Milestone: ---

SUMMARY
Okular sidebar tabs have a different visual design than sidebar tabs used in
Gwenview. Assuming the latter is the desired version, then Okular is not
visually consistent.


STEPS TO REPRODUCE
1. Open Okular
2. Look at the Sidebar
3. Compare to Gwenview's sidebar

OBSERVED RESULT
Okular sidebar is not consistent with Gwenview sidebar

EXPECTED RESULT
Okular sidebar should be consistent with Gwenview sidebar

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 443403] Reduce the size of the digital signature display

2022-02-03 Thread Enrique Artal
https://bugs.kde.org/show_bug.cgi?id=443403

Enrique Artal  changed:

   What|Removed |Added

 CC||ar...@unizar.es

--- Comment #5 from Enrique Artal  ---
Created attachment 146239
  --> https://bugs.kde.org/attachment.cgi?id=146239&action=edit
Frame of the signature

This is the frame of a signature (only edited to erase some personal data); if
I choose a smaller frame, it complains as it is too small. I do not see a way
to change the size of the font. This is done in Fedora 35 with okular-21.12.2
compiled from sources.

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

[okular] [Bug 449043] underline

2022-02-03 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=449043

andreas.naum...@kdemail.net changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED
 CC||andreas.naum...@kdemail.net

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

[okular] [Bug 447363] Kile crashes in Okular::Page::formFields() when rapidly switching between tabs using the keyboard shortcut

2022-02-03 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=447363

--- Comment #8 from Albert Astals Cid  ---
Not present in this second backtrace, but looking at the first one there's 4
nested calls to KileTool::LivePreviewManager::clearLivePreview. Wonder if this
should actually be fixed in kile?

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

[okular] [Bug 449552] CUPS and DBus crashes

2022-02-03 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=449552

Nicolas Fella  changed:

   What|Removed |Added

 CC||nicolas.fe...@gmx.de

--- Comment #2 from Nicolas Fella  ---
https://bugs.kde.org/show_bug.cgi?id=432740 shows a similar backtrace, which
suggests the issue might be with Qt's printing code

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

[okular] [Bug 449448] Pre-render the subsequent page, and speed-up the large PDF rendering (even the text PDFs are too slow at the moment)

2022-02-03 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=449448

--- Comment #8 from Albert Astals Cid  ---
> Or the Okular mobile UI is available for "desktop Linux" too?

Obviously it is, why would I be recommending you to use it otherwise?

> No, I didn't change any settings

Ok, hard to debug for me without access to such a phone, but one thing you
could do (assuming you have access to kdebugsettings and a terminal) is this.

Open kdebugsettings, search for okular and change all the options to full
debug.

Then start Okular from a terminal and you should see debugs like

org.kde.okular.core: sending request observer=0x55d55f5751d0 1461x1960@377
async == true isTile == false
org.kde.okular.core: sending request observer=0x55d55f5751d0 1461x1960@378
async == true isTile == false
org.kde.okular.core: sending request observer=0x55d55f5751d0 1461x1960@376
async == true isTile == false

This is okular asking for page 377, 378 and 376 to be rendered (i'm on page 377
of that file).

Do you see something like that?

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

[okular] [Bug 449552] CUPS and DBus crashes

2022-02-03 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=449552

--- Comment #3 from Albert Astals Cid  ---
(In reply to Nicolas Fella from comment #2)
> https://bugs.kde.org/show_bug.cgi?id=432740 shows a similar backtrace, which
> suggests the issue might be with Qt's printing code

I'm 92% sure it's a local setup problem, Qt is calling cupsGetDests2 and that
"can't crash". 

If it's crashing is because something is not well setup in the system or is
there something in that stack that needs recompiling because of an ABI/API
break .

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