<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Bibliography character styles are reset to default when closing Bibliography editor via ‘Ok’ without doing any actual changes"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=117319">117319</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Bibliography character styles are reset to default when closing Bibliography editor via ‘Ok’ without doing any actual changes
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>5.4.5.1 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Writer
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jakrvir@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>