Created attachment 129573 [details] Backtrace: Assertion fails at closing a tab SUMMARY I have ninja install-ed the new annotation toolbar from git master. When I close a tab by middle-click, an assertion fails, see backtrace STEPS TO REPRODUCE 1. Open two tabs 2. Close one tab by middle-click in the tab bar OBSERVED RESULT Assertion fails somewhere in setupAnnotationToolBarVisibilityAction(). EXPECTED RESULT No assertion fails. :) SOFTWARE/OS VERSIONS KDE Neon 5.19 KDE Plasma Version: 5.19.1 KDE Frameworks Version: 5.71 Qt Version: 5.14.2 ADDITIONAL INFORMATION The annotation toolbar works otherwise. I didn’t open the annotation toolbar, but I did customize the main toolbars before.
For me it crashes with: ASSERT: "itMainWindow != widgets.end()" in file ../ui/annotationactionhandler.cpp, line 783 only when closing the focused tab. Does not crash when closing the other tabs. Can you confirm? I'll investigate.
Yes, didn’t notice that.
See https://invent.kde.org/graphics/okular/-/merge_requests/200
Simone missed a : in the commit log https://invent.kde.org/graphics/okular/-/commit/1a581c4135fa8806c6d6288f5a55776ae2aecd15
*** Bug 424249 has been marked as a duplicate of this bug. ***