Bug 205679 - dolphin passes invalid file path when opening files (ms windows)
Summary: dolphin passes invalid file path when opening files (ms windows)
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: KDE-Windows
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-30 12:54 UTC by Viesturs Zarins
Modified: 2012-01-07 11:00 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.7
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Viesturs Zarins 2009-08-30 12:54:08 UTC
Version:            (using KDE 4.3.0)
OS:                MS Windows
Installed from:    MS Windows

When opening files on Windows, dolphin passes file URL with a leading backslash, like this: \C:\Documents and Settings\user\My Documents\movie.avi

Some windows programs work fine this way, but many fail to understand the URL (windows media player and notepad for example).

Please remove the leading backslash from file URL when launching programs.
Comment 1 Patrick Spendrin 2010-01-14 18:26:10 UTC
yeah, that is a QUrl::path() vs. QUrl::toLocalFile() issue.
@Peter: if you know where that path() call is, maybe you can directly change it to toLocalFile().
Comment 2 Peter Penz 2010-01-15 13:42:45 UTC
@Saro: KFileItem::run() is used by Dolphin (which internally uses KFileItem::targetUrl()). I've added David Faure to CC, I guess he knows how this can be fixed without sideeffects...
Comment 3 Jekyll Wu 2012-01-07 05:45:52 UTC
I failed to reproduce the reported problem with media player and notepad using KDE SC 4.7 on Windows XP.