← Back to team overview

desktop-packages team mailing list archive

[Bug 815389] Re: 3 problems with renaming / deleting .desktop files in nautilus

 

The .desktop are special because that's how launcher are made, it tries
to rename the actual name of the launcher and not the file on disk,
that's a corner case

-- 
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/815389

Title:
  3 problems with renaming / deleting .desktop files in nautilus

Status in “nautilus” package in Ubuntu:
  Confirmed

Bug description:
  tested with nautilus in newest ubuntu 11.04:

  Files whose name ends with ".desktop" seem to be handled very special
  in nautilus (without any mime-type check) and there are three bugs
  with it:

  1) Inside the directory "~/.local/share/applications" (and only
  there!): When you rename some file "example.desktop" (you might create
  a new empty file for this test) to "example2.desktop", then the
  filename will be "example2.desktop.desktop". You must rename it to
  "example2" to achieve "example2.desktop"

  2) Inside the directory "/tmp" you might create some file named
  "example.desktop". When you want to rename it, a popup tells "renaming
  is not possible" and when you want to move it to trash it then a popup
  tells "cannot move to trash, do you want to delete directly?"

  3) Inside other directories, e.g., home, you might create some file
  named "example.desktop". When you want to rename it, a popup tells
  "renaming is not possible", but in opposite to the case inside the
  /tmp directory, you can just move it to trash without problems.

  ####

  So, there seems to be something wrong in this special handling.
  Further, I would suggest that any special handling of .desktop files
  should be disabled anyway. Especially, because you cannot open a
  .desktop file with a texteditor from nautilus.

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