Bug 161059 - Select multiple headings in Content Navigation View results in wrong print / PDF export of selection
Summary: Select multiple headings in Content Navigation View results in wrong print / ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Selection
  Show dependency treegraph
 
Reported: 2024-05-13 11:27 UTC by Stéphane Guillou (stragu)
Modified: 2024-05-17 04:58 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stéphane Guillou (stragu) 2024-05-13 11:27:45 UTC
Steps:
1. Open Writer document with several Headings and Body Text in between
2. Open Navigator
3. Activate "Content Navigation View" so several headings can be selected
4. Select multiple headings in Navigator (Ctrl + click)
5. Right-click > Select
6. File > Export as > PDF > Range > Selection > Export

Result: Successive headings are tacked on the previous section, messing up the structure and formatting.

Expected: paragraph breaks between sections are kept, just like when copying such a multiselection (when using Ctrl + C with such a selection - the change to correct selection is visible -, or when using the Copy option in the Navigator's context menu - the selection is correct straight away).

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ad1f0bdeac30fca1dc56a08803ef23f2aca4db05
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded

Also in 7.0.0.3.

Jim, I thought you might be interested?
But maybe this is more of a Print > Selection / PDF > Selection issue, rather than a Navigator issue...
Comment 1 Jim Raykowski 2024-05-17 04:58:19 UTC
I confirm the misbehavior. I think this is a pdf issue because the same thing happens when setting the cursor to 'Adding selection' mode from the status bar selection control and selecting multiple parts of a document and then doing the export as pdf by range selection.

Aside: Oddly Menu > Edit > Selection Mode shows 'Standard' when set to 'Adding selection' in the status bar selection control.