Bug 159266 - Libreoffice Writer keeps changing paragraph to single spacing (if set to double spacing) upon adding or editing a Zotero reference.
Summary: Libreoffice Writer keeps changing paragraph to single spacing (if set to doub...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.4.1 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-18 15:50 UTC by Usman Ahmed
Modified: 2024-01-18 16:36 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screen capture showing bug (4.21 MB, image/gif)
2024-01-18 15:50 UTC, Usman Ahmed
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Usman Ahmed 2024-01-18 15:50:28 UTC
Created attachment 192037 [details]
Screen capture showing bug

I write documents in Writer set to double spacing (common in academic settings). When I insert a Zotero reference, the entire paragraph goes back to single spacing immediately on windows and usually on saving the document on Ubuntu.

See attached gif file for a screen capture of what happens.

It is annoying to write any academic documents this way as my double-spacing settings keeps getting overwritten and paragraphs keep going back to single spacing. 

Even if I compose the entire document on single spacing, once I convert it to double spacing, any edits to references made keep putting it back to single spacing which is annoying and makes editing and refining manuscripts impossible.

Please fix this bug as academics would like to support the use of opensource tools in research.
Comment 1 V Stuart Foote 2024-01-18 16:36:11 UTC
It is a style issue.

You need to edit your "Body Text" style [1] to be double space rather than applying direct formatting for your paragraphs. Adding the Zotero ref should then not revert the paragraph to the default "Body Text" style.

=-ref-=
[1] Use <F11> to open the 'Styles' pane of the Sidebar. Select the 'Body Text' style and either 'Edit Style...' or create a 'New...' style to use. For either, edit Line Spacing from the 'Indents & Spacing' tab. Default for body text is the "1.15 Lines" space, change the droplist to "Double" or maybe "1.5 Lines".