Issue 74389 - Name of templates category not shown in edit mode
Summary: Name of templates category not shown in edit mode
Status: CONFIRMED
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: OOo 2.1
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-09 16:52 UTC by sgautier.ooo
Modified: 2017-05-20 10:55 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Screen Shot of the template category dialog boxe (32.73 KB, text/plain)
2007-02-09 16:53 UTC, sgautier.ooo
no flags Details
Screen shot of the Edit dialog box (43.61 KB, image/png)
2007-02-09 16:54 UTC, sgautier.ooo
no flags Details
file with screenshots (42.17 KB, application/vnd.oasis.opendocument.text)
2008-02-05 09:45 UTC, cno
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description sgautier.ooo 2007-02-09 16:52:32 UTC
Hi, 

I've created several categories of templates. But when I open File > Templates >
Edit, only a generic name SansNom0, SansNom1, etc is shown.
In the dialog, their is a groupuinames.xml files that has the good category
names inside.
Verified also under Win XP both in FR release of 2.1
I'll attach the screen shot of the template category dialog and of the edit
dialog boxes.
Kind regards - Sophie
Comment 1 sgautier.ooo 2007-02-09 16:53:34 UTC
Created attachment 42891 [details]
Screen Shot of the template category dialog boxe
Comment 2 sgautier.ooo 2007-02-09 16:54:36 UTC
Created attachment 42892 [details]
Screen shot of the Edit dialog box
Comment 3 thorsten.martens 2007-02-12 10:26:59 UTC
TM->PB: please have a look, thanks !
Comment 4 pb 2007-08-07 09:07:27 UTC
pb: accepted for 2.x.
Comment 5 Mathias_Bauer 2007-12-04 16:18:41 UTC
according to release status meeting -> target 3.x
Comment 6 cno 2008-02-05 09:43:59 UTC
IMO this bug is severe.
In effect, the name that one gives in the OOo UI, is not set on the file system...
Shouldn't we give a P2 to this one?
I'll attach a doc with screenshots from 2.4-dev (m5)
Comment 7 cno 2008-02-05 09:45:32 UTC
Created attachment 51374 [details]
file with screenshots
Comment 8 cno 2008-02-05 11:28:45 UTC
Hi pb,
May i suggest that issue #68223 is somehow related?
Regards,
Cor
Comment 9 mikhail.voytenko 2008-02-06 09:42:38 UTC
The dialog started using File/Templates/Edit shows currently only a file dialog
that works with file system hierarchy. It was always so.
Letting the dialog work with the template hierarchy would be a new feature.
Comment 10 cno 2008-02-06 10:07:14 UTC
@mav: You somehow missed the problem. Mybe my description was not clear.

Problem:  If I add a category with the Organizer named 'NewCategory', in the OS'
file explorer, it is named 'Untitled'.

In the attachment (id=42892) you can see the two dialogs.
 

Comment 11 cno 2008-02-06 10:09:02 UTC
Changed summary. Was "Name of templates category not shown in edit mode"
Comment 12 mikhail.voytenko 2008-02-06 11:45:13 UTC
The name of the new template category should not be written to the file system.
There is groupuinames.xml file that contains the name for the templates hierarchy.

It is designed so to allow to use arbitrary names for templates hierarchy
independently from the locale supported by file system. The template hierarchy
was never based on the file system names. Now it is possible to use directory
name, if no entry for the directory is provided in the groupuinames.xml. But
currently I see no reason to do it. If you would like to change the behavior,
please submit a new bug. Anyway it has nothing to do with this bug.

This bug was submitted with the description that the edit dialog does not show
the template hierarchy and has nothing to do with the representation of the
template folders in the file system. Sorry, but the change of the title was wrong.
Comment 13 cno 2008-02-06 12:24:15 UTC
Sorry for my misunderstanding.
Is a result from wading through the file system and OOo registry regularly,
looking what happens at both sides (UI and file system).
It seemed very unlogical to me (together with the 2.3.1 numbered template
versions) so I didn't think about a new feature behind what I saw :-)
Comment 14 cno 2008-02-06 12:35:49 UTC
Hmm, re thinking why I had a problem with this.
- I create a category in the UI.
- Start a macro, asking for the user path
    oPathSubst.getSubstituteVariableValue("user") 
    add "/template/mycategory/mytemplate.ott"
- start document
- > error.

So this is something to keep in mind.
Comment 15 Mathias_Bauer 2009-05-07 13:14:54 UTC
Mikhail, please take over
Comment 16 Marcus 2017-05-20 10:55:58 UTC
Reset assigne to the default "issues@openoffice.apache.org".