[Libreoffice-bugs] [Bug 138883] [rfe] Template Manager should give feedback message when it cannot rename a template to an existing name

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Dec 15 16:38:29 UTC 2020


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

--- Comment #10 from sdc.blanco at youmail.dk ---
(In reply to Heiko Tietze from comment #9)
> If renaming the templates effects the actual file name
afaict, no.

The change is to File-Properties-Description-Title.

Is this the relevant piece of code?
https://opengrok.libreoffice.org/xref/core/sfx2/source/control/templatelocalview.cxx?r=b541cd9a#189

Possibly we are getting "cheated" by the (lack of) "refresh" problem.

If you can reproduce the following, then I am going to stop trying to figure
out "empirically" what is going on.

1.  "New Category" with one user-defined template in it. 
2.  Rename template to "alpha" (shows "alpha")
3.  Change Category to "All Categories", then back to "New Category" 
     (shows previous template name)
4.  Settings>Refresh (in "New Category")  (still shows previous name)
5.  Change to "All Categories" and back to "New Category"
      (shows "alpha")

But I think/hope this example reveals to a developer where "refresh" and
"canvas" update has to take place.

-- 
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/20201215/29f50d9d/attachment.htm>


More information about the Libreoffice-bugs mailing list