[Libreoffice-bugs] [Bug 127786] LibreOffice hangs for a few seconds clicking on the title/subtitle textboxes (ca-ES-valencia)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Sep 27 19:06:40 UTC 2019


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

Eike Rathke <erack at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #16 from Eike Rathke <erack at redhat.com> ---
The massive amount of lt_tag_convert_to_locale() calls from
LanguageTagImpl::getGlibcLocaleString() (called from SvxResId/SvxResLocale) and
the time spent therein looks fishy. This wasn't a problem when string resources
came from the old resource system as conversion to the Glibc string wasn't
needed often, but now for .po files the conversion is needed for each resource
string which it wasn't before. The Glibc string can be constructed much quicker
for locales that do not involve a Script tag or @modifier in the Glibc
representation and LanguageTagImpl::getGlibcLocaleString() isn't even called
then, hence it affects only ca-ES-valencia (ca_ES at valencia) and a few others.

We probably want to cache the Glibc string in class LanguageTagImpl. Taking.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190927/2f6819b1/attachment-0001.html>


More information about the Libreoffice-bugs mailing list