Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190173 - app-misc/emelfm2: weird handling of pathnames with '~' in it
Summary: app-misc/emelfm2: weird handling of pathnames with '~' in it
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-25 13:57 UTC by Tobias Jakobi
Modified: 2008-05-25 10:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Jakobi 2007-08-25 13:57:40 UTC
Hi there,

I've encountered a small problem with the emelfm2 file manager. It works great except that it has some problems with pathnames that include the '~' character. I think emelfm2 expands the '~' to the home directory path and therefore refuses to work.

The strange thing is that the following happens:
Say I have opened /home/user in an arbitrary pane (it doesn't matter if it's the right or the left one). I have a directory named 'documents ~ settings' in /home/user.

Now when I double-click on 'documents ~ settings' emelfm2 does nothing. It should however execute the default action, which is open the directory in the current pane.
Now if I right-click the directory 'documents ~ settings' and manually select the open-action it has no problem to open the directory.

The same thing happens if I want to play some music in this kind of directories. I have set the default action for mp3 files to playback with mpg123.
What happens when I simply double click is the following thing:
mpg123 "/home/user/documents /home/user settings/music.mp3"
and of course mpg123 doesn't find the file

Manually selecting mpg123 from the context-menu produces this output:
mpg123 music.mp3
This works because emelfm2 doesn't supply the full pathname to mpg123

So there seems to be something wrong with the expanding code handling these special characters (like the '~').

Thanks,
Tobias
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-08-26 07:18:02 UTC
You need to submit this upstream mailing list, see http://emelfm2.net/#subscribe
Comment 2 Tobias Jakobi 2007-08-26 08:12:11 UTC
OK, will do so and report back!
Comment 3 Tobias Jakobi 2007-09-01 16:02:00 UTC
Reporting back!
Here is the link to the discussion on the mailing list:
http://www.freelists.org/archives/emelfm2/08-2007/msg00011.html

Tom did fix the bug, so the ~ is not expanded anymore when contained in a string surrounded by "".
Now waiting for a new emelfm2 release.

Uhmm, should I change the status?