Bug 157610 - Master Document Navigator: Proposal to not insert Text when a File or Index is inserted
Summary: Master Document Navigator: Proposal to not insert Text when a File or Index i...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Navigator
  Show dependency treegraph
 
Reported: 2023-10-05 07:57 UTC by Jim Raykowski
Modified: 2023-10-09 19:41 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 Jim Raykowski 2023-10-05 07:57:12 UTC
When using the Navigator to insert a 'File' or 'Index' in a master document a text paragraph is always inserted with it which is shown as a 'Text' entry in the Navigator. The user can insert a 'Text' entry instead of having one automatically inserted when a File or Index is inserted.

Steps to repro:

1) Open a new Master Document file (Menu > File > New > Master Document)
2) Click on the 'Text' entry in the Navigator
3) tool box > Insert > File > insert a file
Navigator shows:
File 1
Text

4) Click on the File 1
5) tool box > Insert > File > insert a file

Expected results:
Navigator shows:
File 2
File 1
Text

Actual results:
Navigator shows:
File 2
Text
File 1
Text

This also happens when Index is inserted in place of the steps that insert a file.

Previous to the patch made for Bug 157315, 'Text' did not insert when a file was inserted. The bug there also caused the paragraph that is inserted before the linked file section insert to be overwrote by the linked file section which results in the file to be only shown in the Navigator.
Comment 1 Roman Kuznetsov 2023-10-09 19:41:03 UTC
Confirm

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 2a217a80bf383ddab0a5e0959ab2fd907dfd3406
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL threaded