The issue seems fixed in the current version (tested on disco)

** Changed in: nautilus (Ubuntu)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/277379

Title:
  Content of file with .theme extension is destroyed when renamed

Status in Nautilus:
  New
Status in nautilus package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: nautilus

  I'm using Ubuntu 8.04, and doing some file work using Nautilus 2.22.3.
  If I rename a file that already has the .theme extension, it's
  contents are suddenly replaced. The file itself is however not
  actually renamed.

  I am attaching the destroyed file. The version of the file that's on
  the server is a few hundred lines long. Please note that while the
  upload is named "chameleon.theme" it shows in my system as
  lkbart.theme. Will attach screen shots to prove this.

  This doesn't happen when adding the .theme extension to a file that
  doesn't already have it. It doesn't appear to matter what you rename
  the file TO, if it HAD the .theme extension, it is destroyed.

  This is easy to recreate:

  1. Open Nautilus to home directory
  2. Create a new file in Nautilus Right click -> Create Document -> empty file
  3. Name the file foo.txt
  4. Edit the file (double click) - add several lines of text.
  5. Rename the file to foo.bar

  Expect: file to be renamed and preserved as is.
  What happened: Contents of the file are replaced with INI formatted data. 
Sometimes the previous text is partially preserved at the bottom of the file - 
heavily truncated.

  Steps to confirm file is not actually renamed:
  1. Open a new terminal.
  2. CD to home directory
  3. ls
  4. foo.theme shows in the listing - foo.bar is not present.
  5. cat foo.theme prints the INI formated data that Nautilus thinks is in 
foo.bar

To manage notifications about this bug go to:
https://bugs.launchpad.net/nautilus/+bug/277379/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to