https://bugs.kde.org/show_bug.cgi?id=424810

            Bug ID: 424810
           Summary: Assert crash when selecting Stamp quick annotation
                    tool
           Product: okular
           Version: 1.10.80
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: okular-de...@kde.org
          Reporter: david.hu...@mailbox.org
  Target Milestone: ---

Created attachment 130497
  --> https://bugs.kde.org/attachment.cgi?id=130497&action=edit
Assert crash backtrace after adding Stamp tool.

SUMMARY
I added the default Stamp tool (despite warning) to Quick Annotations, and
selected it.

STEPS TO REPRODUCE
1. Add tool: Quick Annotations -> Configure...
2. Use tool: Quick Annotations -> Stamp [Alt+7]

OBSERVED RESULT
Crash: See backtrace

EXPECTED RESULT
Makes useless Stamp annotations, so I can test transparency

SOFTWARE/OS VERSIONS
KDE Neon 5.19
KDE Plasma Version: 5.19.2
KDE Frameworks Version: 5.72
Qt Version: 5.14.2

First idea is that AnnotationTools is not updated at configChanged(), but only
at “Add to Quick Annotations”. But the crash persists after restart, and
produces the same backtrace. It still seems like tool() returns a null
QDomNode, since QList<QAction*>::at(-2) is called.

When I add another Stamp tool from “Add to Quick Annotations”, only the second
Stamp tool works.

Apparently the same is true for other tool types.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to