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

--- Comment #3 from Jorendc <[email protected]> ---
(In reply to comment #2)
> Hi,
> 
> Yes this is a known bug. It only happens the first time the dock is used (as
> far as I know). If you force that the dock is redrawn (for example if you
> resize it and dock it) then the elements will be drawn. After this the bug
> does not occur anymore.

This also solves the problem, but I don't think this is the good way to fix
this?

diff --git a/starmath/source/ElementsDockingWindow.cxx
b/starmath/source/Element
index 7be18ca..51f87c6 100644
--- a/starmath/source/ElementsDockingWindow.cxx
+++ b/starmath/source/ElementsDockingWindow.cxx
@@ -448,6 +448,8 @@
SmElementsDockingWindow::SmElementsDockingWindow(SfxBindings

    
maElementListBox.SelectEntry(OUString(SmResId(RID_CATERGORY_UNARY_BINARY_OP
     maElementsControl.setElementSetId(RID_CATERGORY_UNARY_BINARY_OPERATORS);
+
+    Resize();
 }

 SmElementsDockingWindow::~SmElementsDockingWindow ()

If not (and I think that's most likely ;-) ), are there any 'search
directions'/code pointers?

Kind regards,
Joren

-- 
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