Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

3
Become a Fan
7.7

Available as/for:
Description:
A kio together display recent document in recentdocument

KCModule in systemsettings allow to enable/disable and configure entry number of recent document.

You can add it to the sidebar to use it under any file dialog.

Enjoy!
Last changelog:

0.2.1
hot fix, fix a bug that cause infinite kio process creation

0.2.0
drop the duplicate url. display the real url instead of a single file name.

0.1.0
initial.


Ratings & Comments

15 Comments

google01103

$KDEDIR/share/apps/RecentDocuments is empty

Pafrape

I use this application from a few months now and I find it really great. This application has become indispensable to me, especially since you can open documents with the application that you want and not just with the default application. This application is really missing in kde. Nevertheless, the ideal would be that only recent documents appear, and only those documents, not folders. Is there a possibility to display only the documents without folders? The ideal would be to have this option in the Control Panel: "show folders". On behalf of the documents posted, I find that to specify the full address is too long, too long really. As an icon, it makes far too many lines in the icon and it becomes very difficult to know the exact name of the document. I preferred the first version where only the name of the document appeared. Ideally, the full address appears only if there are documents that have the same name. It would be much more convenient and much simpler. Thank you very much for this application and thank you for responding to whether these proposals are feasible and possibly how to make them. Excuse me for language errors, English is not my native language.

csslayer

I'm not sure what should I choose as file name. Some one think it's more clear to see the full path. I'm not sure for this. By the way, I'm trying to push this to KDE 4.9, it's on reviewboard now.

travisn000

I think using just the name is a better choice, as it is consistent the normal behavior of the file manager and file dialogs. Having the path as the "name" makes it difficult to identify items that are deeply nested into a directory stucture. The user can always switch to the "Details" list view mode to view the path of the file if there is a question... they may have to right click on the details view column header to enable this column, but it is available.

travisn000

Here is a patch that i kludged together (..I'm not a programmer), but for me it successfully restored the "filename-as-name" behavior to version 0.2.1 diff -uNr src.orig/recentdocument.cpp src/recentdocument.cpp --- src.orig/recentdocument.cpp 2012-04-19 20:50:09.000000000 -0700 +++ src/recentdocument.cpp 2012-04-19 20:50:12.951072811 -0700 @@ -113,15 +113,15 @@ QString prettyUrl = urlInside.prettyUrl(); if (uds.count() && !urlSet.contains(prettyUrl)) { urlSet.insert(prettyUrl); + uds.insert(KIO::UDSEntry::UDS_DISPLAY_NAME, file.readName()); uds.insert(KIO::UDSEntry::UDS_NAME, info.completeBaseName()); - + if (urlInside.isLocalFile()) { - uds.insert(KIO::UDSEntry::UDS_DISPLAY_NAME, urlInside.toLocalFile()); uds.insert(KIO::UDSEntry::UDS_LOCAL_PATH, urlToState.path()); } else { uds.insert(KIO::UDSEntry::UDS_DISPLAY_NAME, prettyUrl); } - uds.insert(KIO::UDSEntry::UDS_TARGET_URL, prettyUrl); + uds.insert(KIO::UDSEntry::UDS_TARGET_URL, urlInside.prettyUrl()); udslist << uds; } }

google01103

so that states that the kcm allows changing number of "recent documents" - did not realize this till I saw your kde forum post

google01103

after hitting enter key the "/" is added to the address bar so it displays recentdocument:/

google01103

in 0.1 typing recentdocument:/ in Dolphin address bar worked but in 0.2 it doesn't but recentdocument: does - strange but true recentdocument:/ doesn't cause invalid protocol error just doesn't display anything

csslayer

I found a bug that recentdocument: from krunner will cause infinate kio process.. that might be your problem. A hot fix is released.

google01103

resolved it - thanks,

Mogger

Works fine here. It's a shame that the Open File dialog doesn't show a tooltip (or have I missed a configuration option somewhere?) - if there are two files with the same name, it's currently not possible to see which one points to the file you want. Just a small suggestion: how about adding an s at the end, so it becomes recentdocuments:/? I'm not a native English speaker but that sounds more right to me.

csslayer

Hi, I change the display name to the real url. For recentdocument/s I'm not a native speaker too, but KDE guys use "Recent Document Menu" in theirs API document, so I would just follow them.

Mogger

Quote:

Hi, I change the display name to the real url.
Thanks, that makes it easier to differentiate between files. Quote:
For recentdocument/s I'm not a native speaker too, but KDE guys use "Recent Document Menu" in theirs API document, so I would just follow them.
Ah, I see. In the GUI it usually has an s, e.g. in Application Launcher Menu Settings ("Recently Used Documents"), that's probably why I think it sounds better. Anyway, it's not a big deal :), keep up the great work!

musonio

I built it in kubuntu, kde 4.6.5 cmake 2.8.3 and it doesn't show up anywhere (neither in Dolphin nor in Konqueror). Is there anything I shoulkd do after building it?

csslayer

If it's successfully installed, open "recentdocument:/" via dolphin. Then right click the blank space, "Add to Places". cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` should work. You should find "Recent Document" in system settings.

Pling
0 Affiliates
Details
license
version 0.2.1
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 4

More Various KDE 1.-4. Improvements from csslayer:

kcm imchooser
csslayer
last update date: 13 years ago

Score 6.1

Other Various KDE 1.-4. Improvements:

Slicker Debian Package for Woody
cirrusgr
last update date: 22 years ago

Score 5.0

Konqueror/kdesktop suggestion
PovMan
last update date: 22 years ago

Score 5.0

Biiig buttons
dbojan
last update date: 20 years ago

Score 5.0

Yet Another KControl
Frans
last update date: 21 years ago

Score 5.0

Next window and next/previos window
dbojan
last update date: 20 years ago

Score 5.0

Fantasie Toolbar
katoe
last update date: 20 years ago

Score 5.0