Download it now!
Bug 94461 - Predefined Templates and Template Folders are not Deletable in Template Manager
Summary: Predefined Templates and Template Folders are not Deletable in Template Manager
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
4.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 121870 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-09-23 10:51 UTC by Harald Koester
Modified: 2019-12-10 15:52 UTC (History)
4 users (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 Harald Koester 2015-09-23 10:51:23 UTC
Many users, I think most of them, do not use the predefined templates. This is particularly the case, if users are not English, hence the predefined templates are only offered in English. And even a user uses these templates, he or she will not use all templates. Hence nearly in all cases the offered predefined template structure (4 times (Tab Documents, Spreadsheets,..) 8 folders with together 22 templates) is confusing and not necessary. Hence a user should be able to delete predefined templates and folders in the Template Manager:

Deleting Files:
[1] Start LibreOffice and open Template Manager: File > New > Templates
[2] Select tab Documents and double-click “Business Correspondence”. 
[3] Select template "Moderate" business letter.
[4] Click “Delete”. You are asked if you want to delete the selected template.
[5] Click “Yes”. You are informed that the template cannot be deleted. Expected: Deletion of template.

Deleting Folders:
[1] Start LibreOffice and open Template Manager: File > New > Templates
[2] Select tab Documents and then select folder Presentations. (By the way: I wonder why at all a folder Presentations is displayed in the tab Documents.)
[3] Click “Delete”. You are asked if you want to delete the selected folder.
[4] Click “Yes”. You are informed that the folder cannot be deleted. Expected: Deletion of folder.

Proposal in order to fix this bug: 
If a user profile does not exist and LibreOffice is started the first time, the predefined templates should be copied into the new user profile. Hence the user has the right to delete files and folders in his profile, it should be possible to delete predefined templates and folders.
Comment 1 Cor Nouws 2015-09-26 18:20:18 UTC
Hi Harold,

Thanks for the issue.
I think the following suggestion makes sense.

(In reply to Harald Koester from comment #0)

> Proposal in order to fix this bug: 
> If a user profile does not exist and LibreOffice is started the first time,
> the predefined templates should be copied into the new user profile. Hence
> the user has the right to delete files and folders in his profile, it should
> be possible to delete predefined templates and folders.

Cheers - Cor

(no idea since when, let me set the version on 4.4.0 rough)
Comment 2 Regina Henschel 2016-03-20 17:38:33 UTC
I think, that it is correct, that it is not allowed, that a user can delete files and folders from the "share" directory.

Copying files to the users directory would not help, because he would still see those from the "share" directory.

If you have admin-rights you can delete the folders in shares/templates or move them to another location. If you are an enterprise you might exchange the templates in folder share with your own ones. So I think, there is nothing to do inside LibreOffice.
Comment 3 Harald Koester 2016-06-16 14:22:24 UTC
Hi Regina,

(In reply to Regina Henschel from comment #2)
> I think, that it is correct, that it is not allowed, that a user can delete
> files and folders from the "share" directory.
> 
> Copying files to the users directory would not help, because he would still
> see those from the "share" directory.
Of course in this case the content of the "share" folder should no longer be displayed. Instead the content of the template folder within the user profile should be displayed.

> If you have admin-rights you can delete the folders in shares/templates or
> move them to another location. If you are an enterprise you might exchange
> the templates in folder share with your own ones. So I think, there is
> nothing to do inside LibreOffice.
To my opinion it's always not a good idea to copy files, in this case template files, to a program folder. Enterprise templates should better be copied into a specific folder, e.g. on a network server, and an additional path pointing to this folder should be added in the path options of LibreOffice.
Comment 4 QA Administrators 2017-09-01 11:15:03 UTC Comment hidden (obsolete)
Comment 5 Harald Koester 2017-09-14 19:57:53 UTC
Meanwhile the new template manager has been introduced. But the general problem still exists, it is not possible to delete predefined templates and categories (previously folders)in the template manager. (Version 5.4.1, Win 7)
Comment 6 QA Administrators 2018-09-15 03:09:38 UTC Comment hidden (obsolete)
Comment 7 Harald Koester 2018-09-17 20:50:36 UTC
Bug still exists in version 6.1.1 (64 bit, Win10).
Comment 8 Michael 2018-09-19 11:49:16 UTC
For me, Harald Koesters proposals are the preferable solution! 

The actual situation is simply a mess and we can't work with this. Having several templates for myself, my wife, my company and another company I'm working for, I'd like to have such a selection first and after that a second selection distinguishing between text, spreadsheet, presentation etc. Even for text-documents for one client (f.e. my wife), there are several templates like official letter, personal letter, invoice, order for certain material etc. Could you imagine, how confusing it would be, to start a document having all the standard templates shwon first, even we are never using them.

At least should be possible, to ban all that standard templates into a new Category like "LibreOfficeSTANDARD" and to delete all the standard categories!

Actually, based on this issue, we don't use the LO-Starter but created an own one as well on LINUX as on WINDOWS, using the file-manager referencing to "our" categories.

Please improve that messy situation soon.

Thank you and best regards
Michael
Comment 9 Cor Nouws 2018-09-19 15:17:45 UTC
(In reply to Michael from comment #8)

Hi Michael,
please don't touch version and hardware, unless you knwo what you do ;)
See section "sorting" om this page
  https://wiki.documentfoundation.org/QA

Ciao - Cor
Comment 10 Regina Henschel 2018-09-19 15:54:08 UTC
I still think, that it is correct, that a user cannot change the content of the "share" folder. What would you expect to happen then, in case two users are working with LibreOffice at the same time?

But I can think of an option to allow users to hide a complete category or to hide single files from a category. That would give an easier access to the wanted templates for one user and keep all templates available to another user.
Comment 11 Harald Koester 2018-09-20 12:57:52 UTC
(In reply to Regina Henschel from comment #10)
> I still think, that it is correct, that a user cannot change the content of
> the "share" folder. What would you expect to happen then, in case two users
> are working with LibreOffice at the same time?

With my proposal to copy the templates to the user profile, when a new profile is created, it is not necessary to change the content of the share folder. Then a user can do everything what he wants to do with the templates (use, delete, change, translate). In the case of two users there is also no problem. Each person uses its own user profile with the templates which are needed. And if there are further templates which are used by several persons at the same time, these templates can be copied to separate folder, which can be seized by these users.


> But I can think of an option to allow users to hide a complete category or
> to hide single files from a category. That would give an easier access to
> the wanted templates for one user and keep all templates available to
> another user.
An option to hide templates or template categories does not convince me. To my opinion it makes the template manager more complicated. A user has to understand the file structure with the respective access rights behind this function, in order to use the hide function. This is not necessary with my proposal.
Comment 12 Vera 2018-12-09 19:56:39 UTC
*** Bug 121870 has been marked as a duplicate of this bug. ***
Comment 13 QA Administrators 2019-12-10 04:09:30 UTC Comment hidden (obsolete)
Comment 14 Tom Balaban 2019-12-10 15:52:40 UTC
Per your email, I tested this defect using Version: 6.2.8.2 (x64) running on a Win10 machine. I could not delete any of the three pre-defined templates I tried.