https://bugs.kde.org/show_bug.cgi?id=513409
Bug ID: 513409
Summary: Okular crashes while confirming a text annotation
under certain conditions
Classification: Applications
Product: okular
Version First 25.08.3
Reported In:
Platform: NixOS
OS: Linux
Status: REPORTED
Severity: crash
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
***
If you're not sure this is actually a bug, instead post about it at
https://discuss.kde.org
If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
Please remove this comment after reading and before submitting - thanks!
***
SUMMARY
Okular crashes while confirming a text annotation modal after the annotation
tool has been switched via shortcut.
STEPS TO REPRODUCE
1. Open a file with okular (I tried PDF and DJVU)
2. Make sure the annotation toolbar is shown. Now it is possible to activate
annotation tools with keyboard shortcuts 1 to 9. In my particular configuration
the geometrical shape tool (to draw a rectangle) is assigned to 1 and the
typewriter tool (to draw text) is assigned to 2.
3. Activate the typewriter tool (e.g. by pressing 2)
4. Click on the document. This opens a modal window asking for the textual
content that should be placed on the document.
5. Click on the main window again (leaving the modal open) and switch the
annotation tool to something that's not the typewriter tool (e.g. the rectangle
tool by pressing 1)
6. Go back to the modal and confirm with Ok (it does not matter whether you
have entered text or not)
7. Okular crashes
OBSERVED RESULT
EXPECTED RESULT
SOFTWARE/OS VERSIONS
Okular: 25.08.3
KDE Frameworks: 6.20.0
Qt: 6.10.1 wird verwendet und gebaut wurde mit 6.10.1
NixOS 25.11 (Xantusia) (Wayland)
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.17.9
Tested compositors: Kwin, Niri
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are the assignee for the bug.