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 643807 - doesn't handle change of directories well
doesn't handle change of directories well
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: general
2.28.x
Other Linux
: Normal normal
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
: 667658 682581 687208 694017 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-03-03 18:26 UTC by Bill Nottingham
Modified: 2013-02-17 12:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bill Nottingham 2011-03-03 18:26:53 UTC
[notting@nostromo: /usr/local/Videos]$ totem ck1.mp3 &
<starts, plays>
[notting@nostromo: /usr/local/Videos]$ cd tivo/
[notting@nostromo: /usr/local/Videos/tivo]$ ls -l HAfFfqiYLp0.mp4 
-rw-rw-r--. 1 notting notting 179163404 Feb 23 23:46 HAfFfqiYLp0.mp4
[notting@nostromo: /usr/local/Videos/tivo]$ totem HAfFfqiYLp0.mp4 
** Message: Error: Resource not found.
gstfilesrc.c(1034): gst_file_src_start (): /GstPlayBin2:play/GstURIDecodeBin:uridecodebin0/GstFileSrc:source:
No such file "/usr/local/Videos/HAfFfqiYLp0.mp4"

totem-2.91.7-1.fc15.x86_64
Comment 1 Bastien Nocera 2011-04-12 21:08:42 UTC
I think I'll reassign this to glib. GtkApplication has no way for us to handle this, as the command-line is always processed in the remote instance, never in the one we run.
Comment 2 Matthias Clasen 2011-04-12 23:55:47 UTC
G_APPLICATION_HANDLES_OPEN would handle this for you if all your commandline arguments are always going to be files.

Otherwise, you'll have to override local_commandline and do it yourself.
Comment 3 Bastien Nocera 2012-01-10 20:37:18 UTC
*** Bug 667658 has been marked as a duplicate of this bug. ***
Comment 4 Bastien Nocera 2012-03-28 23:30:40 UTC
commit 6299d99a05f14d1454766e2f5983f34e83bdf988
Author: Bastien Nocera <hadess@hadess.net>
Date:   Thu Mar 29 01:29:13 2012 +0200

    main: Handle relative paths to a local instance
    
    https://bugzilla.gnome.org/show_bug.cgi?id=643807
Comment 5 Bastien Nocera 2012-08-24 08:51:07 UTC
*** Bug 682581 has been marked as a duplicate of this bug. ***
Comment 6 Bastien Nocera 2012-10-30 16:23:23 UTC
*** Bug 687208 has been marked as a duplicate of this bug. ***
Comment 7 Bastien Nocera 2013-02-17 12:10:24 UTC
*** Bug 694017 has been marked as a duplicate of this bug. ***