I don't have time to setup a dev environment and compile and test
nautilus, but I did browse the source code a bit to narrow down the
problem.

So I looked in the file nautilus-list-view.c [1] and found there are
different ways to end a renaming action. Turns out, this bug only
happens in one specific case. After pressing F2 and Ctrl-C, you can:

* Press enter to actually rename the file: works.
* Clear the file name and press enter, so the original file name is restored: 
works.
* Don't change the file name and press enter: works.
* Clicking on an empty part of the window to stop editing: works.
* Change directories while editing the file name: works.
* Press the Escape key to stop renaming: causes this bug!

So in short: this bug only happens if you use Escape to stop editing. My
guess is none of the cleanup-methods in nautilus-list-view.c are called
when you press Escape, leaving Nautilus in an invalid state. Hopefully
somebody with an already running nautilus dev environment can take a
closer look. Even though this bug is a bit rarer than I initially
thought, it's still a pretty breaking bug for the file manager of an LTS
release IMO.

[1] http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/nautilus
/trusty-updates/view/head:/src/nautilus-list-view.c


** Changed in: nautilus (Ubuntu)
       Status: Incomplete => Confirmed

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

Title:
  [list-view] After copying text from a rename entry, file copy menus
  items are broken

Status in Application menu module for GTK+:
  Incomplete
Status in Nautilus:
  Expired
Status in “nautilus” package in Ubuntu:
  Confirmed
Status in “nautilus” source package in Precise:
  Incomplete

Bug description:
  When renaming a file in nautilus, in list view, if you copy the highlighted 
part of the name, after this you're unable to copy/paste files
  This only occurs in list view

  Steps to reproduce:
  - Open Nautilus
  - Chose List View
  - Right click a file and chose Rename. Nautilus will highlight the file name.
  - Now Right click again on the highlighted part of the name and chose Copy.
  - Press Esc
  - Now try copying a file, you will be able to chose the option "Copy", but 
when you try to Paste, nothing happens.

  DistroRelease: Ubuntu 11.10
  Package: nautilus 1:3.2.1-0ubuntu1

To manage notifications about this bug go to:
https://bugs.launchpad.net/appmenu-gtk/+bug/882307/+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