[Libreoffice-bugs] [Bug 108461] New: A translatable name shouldn' t be used to reference the default character style

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Jun 11 11:22:08 UTC 2017


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

            Bug ID: 108461
           Summary: A translatable name shouldn't be used to reference the
                    default character style
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: momonasmon at gmail.com
                CC: philipz85 at hotmail.com, thomas.lendo at gmail.com
            Blocks: 107326

Currently the default character style seems to be referenced internally by a
translatable string, causing several problems for users of a non-English UI:

- Styles > Default Character menu item doesn't work.

- In some cases, the default style name might be saved into ODT, causing the
document to not open properly when the UI lang isn't the same as where it was
created. A simple way to reproduce this:

  1) Open Writer with a non-English UI.
  2) Type a word, format it with the "Heading 1" paragraph style.
  3) Insert > Table of Contents and Index > Table of Contents, Index or
Bibliography...
  4) Switch to Entries tab, Click on LS button.
  5) For the Character style, select the default style, click OK.
  6) Save the document.
  7) Change the UI lang to something else, and reopen the document.
  8) Notice that the TOC entry has now a different formatting (blue color with
an underline).

Expected that the default style will have a non-localizable name, like all
other built-in styles, and will return the translatable name only when
explicitly asked (via the "DisplayName" property).


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=107326
[Bug 107326] [META] Writer style bugs and enhancements
-- 
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/20170611/16327c5b/attachment.html>


More information about the Libreoffice-bugs mailing list