After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 339332 - Need a way to open a window with a pre-filled selection
Need a way to open a window with a pre-filled selection
Status: RESOLVED DUPLICATE of bug 131259
Product: nautilus
Classification: Core
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-21 17:59 UTC by Mark Gordon
Modified: 2008-10-13 11:58 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Mark Gordon 2006-04-21 17:59:29 UTC
If a user attempt to open a non-directory file using nautilus from the command line (e.g. "nautilus /tmp/foo.txt"), nautilus demonstrates the following behavior:

- nautilus pops up an error message
- nautilus opens a window showing the user's home directory

A more constructive approach might be:

- nautilus opens a window showing the directory in which the file is located (e.g. /tmp).
- the file in question (e.g. foo.txt) is selected

Feedback from the usability team would be welcome.
Comment 1 Cosimo Cecchi 2008-06-22 15:33:06 UTC
Confirming.
I think the best thing to to would be exposing a DBus interface that can open windows to specific locations, with a pre-filled selection. Then, implementing what you ask here (doing it also for command-line) would be easy.
Comment 2 Nelson Benitez 2008-10-13 11:58:19 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 131259 ***