The issue persists in a slightly different form with .desktop files:

1. Create a .desktop file on the desktop.
2. Right click on it and give it permission to launch.
3. Double-click on it and confirm that it launches.
4. Mv it to a new name in a terminal window.
5. Observe how it remains displayed as an app icon rather than switching to a 
text file.
6. Further observe that when you right-click on it, there is a "Don't Allow 
Launching" menu command available.
6. Double-click on it and observe that instead of launching, it opens in gedit.

Either (a) double-clicking on the renamed .desktop file should cause the
app to launch, or (b) the icon should change to a text-file icon and the
menu item should change to "Allow Launching" when the file is renamed.

The current behavior, however, is an incorrect combination of those two
possible correct behaviors.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-shell-extension-desktop-icons in
Ubuntu.
https://bugs.launchpad.net/bugs/1812885

Title:
  Rename shell script on desktop, nautilus keeps trying to execute it
  under its old name

Status in gnome-shell-extension-desktop-icons package in Ubuntu:
  Fix Committed

Bug description:
  Create a shell script in /tmp. Make the script executable. Mv it into
  ~/Desktop. Double-click it and note that it executes. Now rename the
  file with mv in a terminal window. Double-click it again and note how
  nautilus attempts to execute it under the old name, which of course
  fails, and you get a notification about that instead of the script
  executing.

  ProblemType: Bug
  DistroRelease: Ubuntu 19.04
  Package: nautilus 1:3.30.5-1ubuntu1
  ProcVersionSignature: Ubuntu 4.18.0-13.14-generic 4.18.17
  Uname: Linux 4.18.0-13-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.10-0ubuntu19
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Jan 22 11:48:06 2019
  InstallationDate: Installed on 2019-01-02 (20 days ago)
  InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 
(20181017.3)
  SourcePackage: nautilus
  UpgradeStatus: Upgraded to disco on 2019-01-21 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-desktop-icons/+bug/1812885/+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