https://bugs.freedesktop.org/show_bug.cgi?id=65370

Thomas Arnhold <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|Linux (All)                 |All

--- Comment #5 from Thomas Arnhold <[email protected]> ---
Tomaž: The solution from Jorend seems ok. The one from edit.cxx with Show()
doesn't work for ElementsDockingWindow(). Maybe there are missing default
values for the window?

The bug can be reproduced on Windows, too. Steps to reproduce:

1. Delete the configuration folder (~/.config/libreoffice/ or
AppData/LibreOffice)
2. Start libreoffice math

The elements docking window will be empty.


I've updated the fix from Jorend:

diff --git a/starmath/source/ElementsDockingWindow.cxx
b/starmath/source/ElementsDockingWindow.cxx
index 7e8d331..b1b5b7a 100644
--- a/starmath/source/ElementsDockingWindow.cxx
+++ b/starmath/source/ElementsDockingWindow.cxx
@@ -493,7 +493,7 @@
SmElementsDockingWindow::SmElementsDockingWindow(SfxBindings* pInputBindings,
Sf
    
maElementListBox.SelectEntry(OUString(SmResId(RID_CATEGORY_UNARY_BINARY_OPERATORS)));
     maElementsControl.setElementSetId(RID_CATEGORY_UNARY_BINARY_OPERATORS);

-    Invalidate();
+    Resize();
 }

 SmElementsDockingWindow::~SmElementsDockingWindow ()

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to