Bug 42094

Summary: Templates are mixed up in template organizer
Product: LibreOffice Reporter: Regina Henschel <rb.henschel>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: courrier.oou.fr.mjk
Priority: medium    
Version: Master old -3.6   
Hardware: x86 (IA32)   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Screenshots
Screenshots
Screenshot 'templates_messed_up.png'

Description Regina Henschel 2011-10-21 09:34:11 UTC
Make a folder, for example 'myTemplates', and therein some subfolders, for example 'myStandards', 'myPresentation', 'School'. Put some document templates of different kinds into these subfolders.
Include the folder 'myTemplates' via Tools -> LibO -> Pathes as additional, readonly path in category 'Template'.
Restart.
Click on 'Templates'. Examine, that the subfolders are shown and that they contain the correct templates.
Click left bottom on 'Organize'.
Open the folders in the tree view. Notice, that the folders in the tree view do not contain the correct templates.

The same works without problems in LibO3.4.
Comment 1 Regina Henschel 2011-10-28 10:46:49 UTC
I see the same error with default templates. In the Organizer the content is shifted by 1 folder.
Comment 2 Rainer Bielefeld Retired 2011-10-30 23:02:31 UTC
Created attachment 52930 [details]
Screenshots

I checked with parallel installation of MinGW Master "LibO-dev 3.5.0 – WIN7 Home Premium (64bit) English UI [(Build ID:  2ba5d12-e8c71c5-41e7bcd-4b83b90)] (daily/MinGW_cross-compilation2011-10-25_00.12.09)" and did not see anything unexpected wiht standard Tempates when 
1. Menu 'File -> New -> Templates and documents -> Organize -> Presentation Backgrounds'
Looks as in my 3.4.4.

Did I misunderstand the report or is my Master version not affected?
Comment 3 Regina Henschel 2011-10-31 05:00:07 UTC
Created attachment 52945 [details]
Screenshots

Screenshots for my LibO-dev 3.5.0 Build ID: d0fb030-41e7bcd-3b66bd0. That is a build from about 2011-10-28, which has already the changed folder tree.
Comment 4 manj_k 2011-11-12 14:35:03 UTC
Reproducible with LibO-dev 3.5.0 
Build ID: 6b0de40-0bc4ff4-ca7e6f5-9125509-ce71330 [master~2011-11-10_19.57.25...]
on WinXP

E.g.: attached screenshot 'templates_messed_up.png'
Comment 5 manj_k 2011-11-12 14:36:07 UTC
Created attachment 53468 [details]
Screenshot 'templates_messed_up.png'
Comment 6 manj_k 2012-03-03 12:26:47 UTC
Tested again (on WinXP 32b), and now that works fine for me with

- Libo 3.5.0 release
[LibreOffice 3.5.0rc3 · Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735]

- LibO Master 'master~2012-02-29_04.21.51_...'
[LOdev 3.6.0alpha0+ · Build ID: 9518535-d09cf17-8a74106-c695ecd-16afab]

Marked as WORKSFORME

Related to / duplicate of
'Bug 43532 - Renaming and deleting of inserted template categories broken, inserted templates land in wrong category (indexing issue in code)'?