Issue 50818

Summary: Masterdocument - Include documents in reverse order
Product: Writer Reporter: vogella <lars.vogel>
Component: codeAssignee: AOO issues mailing list <issues>
Status: ACCEPTED --- QA Contact:
Severity: Trivial    
Priority: P4 CC: esigra, issues
Version: OOo 2.0 BetaKeywords: needmoreinfo
Target Milestone: ---   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description vogella 2005-06-16 12:13:49 UTC

If I import two document at once a in masterdocument the order in which they 
are included is revised.

Create two docuement 1.odt and 2.odt. Create one masterdocument. Include both 
files. The file dialog shows: "1.odt" "2.odt". 

I would now expect that the document is imported first and then the 2.odt. 

But the order after the import is 2.odt and then 2.odt. I believe this is a 

Best regards, Lars
Comment 1 michael.ruess 2005-06-16 12:31:18 UTC
Reassigned to ES.
Comment 2 eric.savary 2005-06-16 12:59:06 UTC
It's a known issue.
Unfortunately, the Navigator cannot get the order the selection has been made in
the Insert dialog.
This is a WONTFIX because CANNOT fix.
Comment 3 eric.savary 2005-06-16 12:59:25 UTC
Comment 4 vogella 2005-06-16 13:17:20 UTC
But there is a order. For exampel if you mark first 1.odt and then 2.odt while 
holding the ctrl key they are selected correctly. 

The file name becomes: "2.odt" "1.odt" 

Only if I used the mouse the file name selector always becomes "1.odt" "2.odt". 
So I believe if you would be able to change the sorting of the file selected by 
the mouse then the import would be correct.
Comment 5 eric.savary 2005-06-16 15:54:47 UTC
after further testing:
The inserted file order (2,1 ) DOESN'T correspond to the selection order (1, 2)
when using the OOo dialogs (Tools - Options - General - Open/Save dialogs - Use
OOo dialogs). This regardless if the selection has been made with the keyboard
or the mouse.
When using the system (Windows) dialog, the selection order is respected.

Which dialog do you use?
Comment 6 vogella 2005-06-17 12:52:20 UTC
I use the (Windows) dialog.

Comment 7 eric.savary 2005-08-08 01:41:29 UTC
ES->OS: please comment.
Comment 8 eric.savary 2005-08-08 01:43:04 UTC
Comment 9 Oliver Specht 2006-11-22 14:20:07 UTC
The list of files is processed in the order the file dialog provides the documents.

Comment 10 rbos 2006-12-20 15:06:03 UTC
I run into a very similar problem.  I insert some (sub)documents into my
master document and after insertion the 1st subdocument becomes the last one!
Of course I checked the order in which the subdocuments are selected and
they are in the right (alphabetic) order.

The documents are sorted alphabetically, and are all called very similar like:
bf1030, bf1034, bf1035 and bf1039.  After insertion the order is:
bf1034, bf1035, bf103 and bf1030.
I hope this information helps to find the root cause of the problem.
Comment 11 Marcus 2017-05-20 11:24:38 UTC
Reset assigne to the default "".
Comment 12 Marcus 2017-05-20 11:25:58 UTC
Reset assigne to the default "".