[Libreoffice-bugs] [Bug 126508] Crash and document recovery on option change of view -> icon style

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Jul 28 11:22:54 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=126508

--- Comment #7 from Julien Nabet <serval2412 at yahoo.fr> ---
By reverting partially the quote commit, so with this patch:
diff --git a/sfx2/source/sidebar/SidebarController.cxx
b/sfx2/source/sidebar/SidebarController.cxx
index 22b022bf09ee..5af03faa08ea 100644
--- a/sfx2/source/sidebar/SidebarController.cxx
+++ b/sfx2/source/sidebar/SidebarController.cxx
@@ -733,6 +733,7 @@ void SidebarController::SwitchToDeck (
     const DeckDescriptor& rDeckDescriptor,
     const Context& rContext)
 {
+    maFocusManager.Clear();
     const bool bForceNewDeck
((mnRequestedForceFlags&SwitchFlag_ForceNewDeck)!=0);
     const bool bForceNewPanels
((mnRequestedForceFlags&SwitchFlag_ForceNewPanels)!=0);
     mnRequestedForceFlags = SwitchFlag_NoForce;

I don't reproduce the crash.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190728/5b2ef043/attachment.html>


More information about the Libreoffice-bugs mailing list