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

Albert Astals Cid bugzilla_noreply at kde.org
Thu Dec 23 22:02:54 GMT 2021


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

Albert Astals Cid <aacid at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aacid at kde.org

--- Comment #4 from Albert Astals Cid <aacid at kde.org> ---
it's re-entering the closeDocument method because you press the shortcuts
faster than it takes for cancelling the running threads.

If you can reproduce this easily you need to add a bool in document that is "i
am closing" and then check it first thing in closedocument, if it's already
closing just return, if not set it to true and then set it to false at the end
of the function.

Can you check if that helps?

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


More information about the Okular-devel mailing list