[Libreoffice-bugs] [Bug 138883] Revise implementation of the Category system in Template Manager, including automatic refresh when categories are changed

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Dec 16 12:53:03 UTC 2020


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

sdc.blanco at youmail.dk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[rfe] Template Manager      |Revise implementation of
                   |should give feedback        |the Category system in
                   |message when it cannot      |Template Manager, including
                   |rename a template to an     |automatic refresh when
                   |existing name               |categories are changed

--- Comment #14 from sdc.blanco at youmail.dk ---
(In reply to Heiko Tietze from comment #12)
> Delete Category asks whether the folder should be deleted.
> I'm not going to say yes here 
The result would depend on what was set as "Default" path in your Options
(Alt-F12)

If your download directory was Default, then the subdirectory and its file
contents would be deleted.  If the default was still the default user profile
directory (4/user/template), you would have gotten an error message saying that
the folder could not be deleted. 

The present UI is deviously misleading  -- unless you happen to notice that the
confirmation message says "do you want to delete the folder" and you know that
"folder" is referring to your filesystem. Presumably the innocent user believes
that deleting a "category" means that the category name is dropped, while the
templates in the category go back to the "My Templates" category -- but it is a
false presumption.

The proper label for the current action of "Delete Category" is: "Delete
Category and all other files, templates or not, in that Category, if the
Category is in the "Default Path" set in Options"  (ouch!)

Conversely, if the Category is not in the Default Path, then you cannot delete
the category in Template Manager -- even if the subdirectory is empty.

> strongly disagree with the mixture of internal and file system operations.
Could "category" be a custom <meta> tag in a template?  (similar to "Title",
which is used for template name)?

Pro:  delete/rename category does not change filesystem.  
Con:  Have to update tag in all template files in a category if category is
renamed or deleted.

Hijacking my own bug:  changing summary to general reworking of Category
system.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201216/d98e3138/attachment.htm>


More information about the Libreoffice-bugs mailing list