I've narrowed the problem down to https://bazaar.launchpad.net/~unity- team/unity/trunk/view/head:/unity-shared/GnomeFileManager.cpp#L216. Calling GnomeFileManager::Activate() from GnomeFileManager::EmptyTrash() seems to no longer be necessary and causes Nautilus to open a window at the user's home directory. Simpy removing the function call from my copy of the unity sources fixes the problem with no side-effects as far as I can tell.
-- 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/1445595 Title: Empty trash from Launcher results in Nautilus window opening Status in One Hundred Papercuts: Triaged Status in Unity: Confirmed Status in nautilus package in Ubuntu: Triaged Status in unity package in Ubuntu: Triaged Bug description: Test case: - Add a file to trash if none already - Right click on Unity launcher trash icon > click on Empty Trash option - Nautilus open a window @ home folder When selecting 'Empty trash' from the launcher, I get a dialog to confirm the deletion and a Nautilus window. When emptying trash from Nautilus window, I get only a confirmation dialog as expected. Expected behavior: - Only confirmation dialog pops up To manage notifications about this bug go to: https://bugs.launchpad.net/hundredpapercuts/+bug/1445595/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp