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

Tomofumi Yagi <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #12 from Tomofumi Yagi <[email protected]> ---
Created attachment 113348
  --> https://bugs.documentfoundation.org/attachment.cgi?id=113348&action=edit
A workaround patch

I attached a workaround patch.
This patch modifies ToolBox::ImplFormat() method in
vcl/source/window/toolbox.cxx.
An item included a ToolBox will be prevented to place in incorrect position.

Cause of the bug is follows.
1. When the new item is added, ToolBox::ImplFormat () places it to the new
position.
  ToolBox::ImplFormat() determines whether or not the item is newly added, 
  using that the new item's Top Coordinate is 0.
  However, it seems that the non-new item's Top Coordinate is zero in some
conditions(on Windows7 with Aero,etc...).

2.Unfortunately, mnMaxItemHeight variable(used to calculate the new position)
holds the old value,immediately after the formula bar is expanded(not updated
yet).

In that reason, the item is placed in incorrect position.

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