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

--- Comment #9 from Matúš Kukan <[email protected]> ---
Ok, so 7468f9b773d5a9a4cb3af57cf123c2a0e7e937fd fixes the dialog but not this
bug - it makes the dialog slower. Before there were ~25k items - so some of
them were missing.
I don't understand how - only change I see is that we no longer use
XHierarchicalNameAccess there - so that's it, I guess? Anyhow, it does not
matter.

Also - height is not a problem, width is.
OutputDevice::GetTextWidth ~9328 m CEst
OutputDevice::GetTextHeight ~6 m CEst

I've "fixed" it in svtools/source/contnr/svlbitm.cxx
SvLBoxString::InitViewData:
-    pViewData->maSize = Size(pView->GetTextWidth(maText),
pView->GetTextHeight());
+    pViewData->maSize = Size(10, pView->GetTextHeight());
That makes it fast.

That's of course wrong, but it shows that we ignore width for first 3 columns,
so no need to compute it.
Proper fix is to avoid this.
And if it's still slow, we can also set fixed width for 4th column.

I am not volunteering, I tried to look into it but it would take me at least
day or two to understand the details a bit more.

Hope this helps ;-)

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