'Create Document' sub-menu superfluous when no templates are installed

Bug #387655 reported by jorge cob
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Nautilus
New
Unknown
One Hundred Papercuts
Invalid
Undecided
Unassigned

Bug Description

The right click menu in nautilus shows has a sub-menu called "create document" with a list of document templates installed, but when there aren't templates installed it shows two options:

- No templates installed (witch its grayed out) and
- Empty file

My suggestion is that, when there aren't templates, the right click menu should show the "empty file" item instead of the sub menu.

pd. Sorry if the menus and menu items names are incorrect, I use ubuntu in Spanish.

Ivanka Majic (ivanka)
Changed in hundredpapercuts:
status: New → Triaged
Revision history for this message
Nacho Perea (nacho.perea) wrote :

I think that it would be easier for the medium user if the more common types of documents were included by default in this menu. As most people work with OpenOffice documents, it could be a good idea to add "OpenOffice Writer document" and "OpenOffice Calc document" at least.

Revision history for this message
Przemek K. (azrael) wrote :

I'd also add a text document to that list (.txt).

Revision history for this message
Martin Lettner (m.lettner) wrote :

I totally agree that it would be very handy and useful to integrate some very common templates, like a new empty Writer Document, Spreadsheet, empty PNG Image file and so on.

Also folders could be very useful like:
Office
 - Document
 - Spreadsheet
 - Presentation
Graphics
 - PNG Image
 - JPEG Image
 - SVG Vector Graphics

This can be very easy achieved by placing for example an empty OpenOffice Writer document into the user templates folder, for those who don't know ;)

Maybe something like that: http://stalefries.googlepages.com/howtosnautilustemplates

Revision history for this message
Patrick Goetz (pgoetz) wrote :

I agree with granadajose, or alternatively don't see this as a problem. The grayed out "no templates" menu item alerts the user to the *possibility* that something can be placed there. This serves a useful purpose in terms of allowing people to customize the user experience on their system.

Revision history for this message
Nicolò Chieffo (yelo3) wrote :

I would also like to see
- archives (tar.gz, tar.bz2, zip)
- office (openoffice and microsoft office formats)
- text files (xml, txt)

I can't understand what is the use of graphics: what's the aim to create an empty image?
there should be only common formats to create

Revision history for this message
Martin Lettner (m.lettner) wrote :

The empty image was just an example. But in Windows there is also the empty image entry in the New... menu.

Adding a new Link could also be very handy. But that would require a new dialog popping up where the user can choose the file or folder the link should point at...

Changed in hundredpapercuts:
milestone: none → round-1
Revision history for this message
Nicolò Chieffo (yelo3) wrote : Re: [Bug 387655] Re: Extra menu in Create document's menu

Also a .desktop application file

Revision history for this message
Lightbreeze (nedhoy-gmail) wrote : Re: Extra menu in Create document's menu

Please post future comments on what to include in the 'Create Document' menu at bug Bug #372132, which proposes to "put template files for the most common document formats (at least openoffice ones) into the Templates folder by default."

This bug is to show the "empty file" item instead of the sub menu when there are no document templates.

summary: - Extra menu in Create document's menu
+ 'Create Document' sub-menu superfluous when no templates are installed
Revision history for this message
Lorenzo (lorenzo-delledonne) wrote :

I would add an entry "Add new templates..." or something similar. Users very often doesn't know how to add new templates, so the menu becomes totally useless.

Revision history for this message
Fred (eldmannen+launchpad) wrote :

It is a bad idea todo as the first reporter said as it would cause confusing for people who follow a guide.

It is better to add some standard templates instead.

Revision history for this message
jorge cob (jorgecs10) wrote :

Thank for the summary text change, its much clearer now!

I agree with some of the default templates suggestions, but has a Lightbreeze says, thats subject of another bug.
But for the users that don't use the templates or don't want to clutter the menu I think it would be easier to create plain text files without that empty sub-menu.

The suggestion of Lorenzo it's interesting, but I'm not sure if it should be included in the right click menu, it should be easily discoverable where the templates folder is or how could be added more templates.

Revision history for this message
Martin Lettner (m.lettner) wrote :

A nice and simple solution (imho) for the "add new templates" problem would be to add a menu entry "Add new templates..." for example which just opens the users template folder in a new tab or window and place a short explanation into this nautilus top bar (like the one used in trash or cd burner) like "All files placed in here will be available in the 'Create New Document' menu". What do you think?

Revision history for this message
David Siegel (djsiegel-deactivatedaccount) wrote :

The Design team discussed this and decided that bug #372132 casts the problem in a better light and offers a better solution, so we will address that paper cut instead for another milestone.

Changed in hundredpapercuts:
milestone: round-1 → none
status: Triaged → Invalid
Revision history for this message
jorge cob (jorgecs10) wrote :

Too bad this bug doesn't qualify as a papercut.
Anyway I found that this bug is already reported on gnome's bugzilla so I linked it to this, hoping it gets some attention.

Changed in nautilus:
status: Unknown → New
Revision history for this message
jorge cob (jorgecs10) wrote :

I made a patch.

Revision history for this message
Michael Nagel (nailor) wrote :

for one thing i do not agree that creating an empty file (i.e. a plain text file with no text in it) should be disabled under certain circumstances

but more importantly this is another instance of the "templating is not working out of the box" bugs and the master-bug for these seems to be bug 372132 right now. this bug should be marked as duplicated thereof.

and they are taking a constructive approach there instead of this imho rather destructive one discussed here.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.