Bug 232637

Summary: resulting files from search are copied to tmp
Product: [Unmaintained] nepomuk Reporter: christian tacke <kde-bugs>
Component: generalAssignee: Sebastian Trueg <sebastian>
Status: RESOLVED FIXED    
Severity: normal CC: andre.eliatamby, trueg
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description christian tacke 2010-03-30 01:01:40 UTC
Version:           0.2 (using KDE 4.4.1)
Installed from:    Fedora RPMs

When searching with hasTag for example and a file is opend the file is allways copied to /tmp/user and then opened with the related programm...

I'm using Dolphins search files with hasTag:"tag" and then simply click on one of the results... the file is copied...

normally you could say, his doesn't matter, but if you have a pdf you're currently reading and use okular (which stores where you were in the document last time you read - very nice) this behavior is really annoying. to okular it's every time a new file you've never opend before...

Is there any way this behavior can be altered?

I use nepomuk to quickly access files which I have tagged with "Desktop", so I have kind of a desktop but the files are still organised in the filesystem... but it's not working for me with this copy-behavior.

greets lbl
Comment 1 Andre Eliatamby 2010-04-27 07:36:22 UTC
I am having the same problem with KDE 4.4.2 in Fedora 13 beta.  Unfortunately this happens for ALL files opened with KDE programs.

For example, if I search in KRunner or Dolphin for a text file and open it with Kate, it opens in /tmp with a really long name (like a UID or something).  If I open it with Gvim or gedit it's fine.  Opening Movies with Dragon give an MRL error.

This pretty much makes nepomuk useless for me
Comment 2 Sebastian Trueg 2010-04-29 16:13:04 UTC
I fixed Dragonplayer to properly handle nepomuksearch URLs. The fix will be in 4.4.3.
As for the copying of files: We have patches for that. But they need more testing and thus, will not make it into 4.4.3.
Comment 3 Sebastian Trueg 2010-07-23 10:50:31 UTC
At the Akademy we decided to go for always redirecting actions to the local files. This fixes filenames in opening apps and the copy-to-tmp problem.