[Libreoffice-bugs] [Bug 117319] New: Bibliography character styles are reset to default when closing Bibliography editor via ‘Ok’ without doing any actual changes

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Apr 28 17:24:34 UTC 2018


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

            Bug ID: 117319
           Summary: Bibliography character styles are reset to default
                    when closing Bibliography editor via ‘Ok’ without
                    doing any actual changes
           Product: LibreOffice
           Version: 5.4.5.1 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: jakrvir at gmail.com

Description:
I added bibliography entries and a Bibliography at the end of the document, and
then modified the character styles of the entries title component to show in
Italic (or Emphasis). After modifying the styles, they show correctly.

If I now click ‘Edit index’ on Bibliography but close the opened dialog
immediately via ‘Ok’ button without doing any actual changes, the styles are
reset to default (or something that seems like default). The styles will reset
also if I just click ‘Update index’ on Bibliography. 

Clicking Bibliography > Edit index > Close doesn’t reset the styles.

The current behavior is unfortunate, since Bibliography style guides often
recommend Italic format for emphasis for certain components. References also
often change at the last minute so it’s not a complete solution to try apply
the styles only after the document is in some presumed final form.

Note: Only character styles that were tested were Emphasis and Teletype, but
it’s probable the problem involves all the default styles. Custom styles were
not tested.

Note2: Attached is Writer .odt file with two Bibliography entries and
Bibliography for quick testing. The entries should initially have the styles
shown, but they will be reset when doing the steps 8-10 or when updating the
index.


Steps to Reproduce:
1. Create new empty Writer document

2. Add bibliography entry (Insert > Table of Contents and Index > Bibliography
Entry)
- Choose ‘From document content’
- Click New, then set Type as Book, give Short name, Author, Title and Year
- Click Ok > Insert

3.Add Bibliography to document (Insert > Table of Contents and Index > Table of
Contents, Index or Bibliography)
- Select Type: Bibliography
- Select tab: Entries
- Select Type: Book and Select element Ti in ‘Structure and Formatting’
- Set Character style to Emphasis
- Click Ok
4. Confirm that title in Bibliography entry is shown as Italic (Emphasis)
5. Save the document and close Writer
6. Restart Writer and open the saved document
7. Confirm the Bibliography entry has still Italic style
8. Click Bibliography > Edit index
9. Click Ok without changing anything
10. Confirm that Bibliography entry has no longer Italic style 

Actual Results:  
Italic style has been reset to default or something similar looking.

Expected Results:
Italic styles should persist over Edit index -> Ok


Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: TextDocument
[Information guessed from browser]
OS: Windows (All)
OS is 64bit: no

Version: 5.4.5.1 (x64)
Build ID: 79c9829dd5d8054ec39a82dc51cd9eff340dbee8
CPU threads: 8; OS: Windows 6.19; UI render: default; 
Locale: fi-FI (en_FI); Calc: group


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101
Firefox/59.0

-- 
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/20180428/0c5dd506/attachment-0001.html>


More information about the Libreoffice-bugs mailing list