[GSoC]: need help with toolbar layout

Caolán McNamara caolanm at redhat.com
Fri Aug 23 07:13:11 PDT 2013


On Fri, 2013-08-23 at 17:51 +0530, Prashant Pandey wrote:
> Hi,
> I am working with the code related to docking of toolbars 
...
>  the position of pre-existing toolbars don't change and still remain
> the same as was before the docking. Since these positions (of
> pre-existing toolbars) were correctly written here (as shown by
> SAL_DEBUG) but in the end the value remains unchanged (as shown in the
> UI by actually running LO), means these values are overridden
> somewhere in between.

So, I haven't a clue, but what I'd do is just set a gdb watch on the
member variable that is the position and let it do the work, e.g. if it
was a (vcl) Window x then

(gdb) print &(x.mpWindowImpl->mnX)
0xwhatever
(gdb) watch *0xwhatever

C.




More information about the LibreOffice mailing list