[okular] [Bug 439216] [Okular] : Closing the Print Preview still/again causes a crash
RJVB
bugzilla_noreply at kde.org
Sun Jun 27 13:04:05 BST 2021
https://bugs.kde.org/show_bug.cgi?id=439216
--- Comment #1 from RJVB <rjvbertin at gmail.com> ---
And FWIW, PageView::capability() needs to check every one of the QActions in
the d-ptr before accessing them, because aViewContinuous, aViewMode and
aTrimMargins can all turn out to be a nullptr.
Add a qDebug if you want to be able to avoid this from happening upstream, but
please don't just "protect" the actual dereferencing with an assert. The user
should NOT experience crashes if the developer(s) missed something and they
shouldn't have to be the ones detecting such ommissions!
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list