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

--- Comment #15 from Jim Raykowski <rayk...@gmail.com> ---
The code reads that a text paragraph is first added before the selected entry,
then the file or table of content section is inserted before the just added
text paragraph when a file or table of content section is inserted into a
master document using the Navigator, 

For example:

Navigator initially shows:

    text

With the text entry selected, right click popup menu > insert > file file1.odt

result:
    file1.odt
    text

With the file1.odt entry selected, right click popup menu > insert >file
file2.odt

result:
    file2.odt
    file1.odt
    text

What I believe was the intended result when implemented, and is the result when
a suspicious line of code is removed:

    file2.odt
    text
    file1.odt
    text

I'm not sure including a text paragraph along with a file or table of content
insert is the best behavior but it seems this how it was implemented.

This enlightenment has come about while working on a patch that inserts linked
files after the last entry when no entry is selected.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to