After creating a blank txt file in ~/Templates there are 2 "Empty Document" options in context menu

Bug #1119832 reported by Doug McMahon on 2013-02-08
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Nautilus
Invalid
Wishlist
nautilus (Ubuntu)
Low
Unassigned

Bug Description

easily fixed, was done so in git on 11/05 & can be applied to current nautilus 3.6.3 source in raring with no issues
https://bugzilla.gnome.org/show_bug.cgi?id=687139

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: nautilus 1:3.6.3-0ubuntu5
ProcVersionSignature: Ubuntu 3.8.0-4.8-generic 3.8.0-rc6
Uname: Linux 3.8.0-4-generic x86_64
ApportVersion: 2.8-0ubuntu4
Architecture: amd64
Date: Fri Feb 8 17:24:16 2013
GsettingsChanges: b'org.gnome.nautilus.window-state' b'geometry' b"'994x528+65+24'"
InstallationDate: Installed on 2013-02-08 (0 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130205)
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: nautilus
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Doug McMahon (mc3man) wrote :
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu Package testing tracker.

A list of all reports related to this bug can be found here:
http://packages.qa.ubuntu.com/qatracker/reports/bugs/1119832

tags: added: package-qa-testing
LantzR (lantzr) wrote :

- The first entry on the context menu
-- Creates a file named "Empty Document.txt" exactly like the template file

- The 2nd menu entry
-- Creates a file named "Empty Document"
-- This menu item imho should go away

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nautilus (Ubuntu):
status: New → Confirmed
Dave Gilbert (ubuntu-treblig) wrote :

Triaged: Reporter pointing to fix in git
Low: Doesn't break anything.

Changed in nautilus (Ubuntu):
importance: Undecided → Low
status: Confirmed → Triaged
Javier López (javier-lopez) wrote :

Here is the diff who fix it, I wonder if we should cherry pick or update to nautilus 3.6.6 >=, it also seems debian and ubuntu nautilus packages are out of sync

http://git.gnome.org/browse/nautilus/commit/?id=9323dde5c0f06b048b1daaf2cc683991d6b7d076

rmadison output:

=> Ubuntu nautilus | 1:3.6.3-0ubuntu5
=> Debian nautilus | 3.6.1-2 | experimental

---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Changed in nautilus:
importance: Unknown → Wishlist
status: Unknown → Invalid
LantzR (lantzr) wrote :

Well I have a better understanding of what is happening at the human level than at #3 above.
 - qa XRef - Tc-Nfm-001

== Distribution ==
head --lines 9 dists/raring/Release
Origin: Ubuntu
Label: Ubuntu
Suite: raring
Version: 13.04
Codename: raring
Date: Wed, 13 Feb 2013 7:20:15 UTC
Architectures: i386
Components: main restricted
Description: Ubuntu Raring 13.04

- Changes from what I observed in #3 above
  - Before we had prebuild empty document as well as the test created template in the context menu
    - xxx and xxx.txt
  - the context menu showed both without the suffix so it _looked_ a bit weird
        - since somebody decided no not show the real filename
    - It did work accurately though

- This version does eliminate the paper ... scratch I cited above... sorta

- Only if you start with an empty template folder as per Tc-Nfm-001
    - AND you use touch to create the document not Nautilus

- Now IF the Template Folder is empty
  - There is NO context menu to create a new document
  - I believe that to be a step backwards from before
    - A Quickfix workaround might be to put some documents in the Templates folder
      - Text, Letter, Drawing, Spreadsheet ...

- You can create all the docs you want with bash in ~/Templates
  - They will not show up in a New Document Menu

- If you use Nautilus to drag a document into the Templates folder
   - It will appear on the New Document context menu immediately
  - Along with the default Empty Document menu Item from #3 above

- If you restart the system all the documents in ~/Templates will appear on the context menu

I tried to issue a bug-report from the running iso but it fought me

Doug McMahon (mc3man) on 2013-03-24
Changed in nautilus (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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