kio recent document

Various KDE 1.-4. Improvements

Source (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
Score 79.3%
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:

8 years ago

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.

9

google01103

6 years ago

$KDEDIR/share/apps/RecentDocuments is empty

Report

9

Pafrape

7 years ago

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.

Report

travisn000

7 years ago

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;
}
}

Report

C

csslayer

7 years ago

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.

Report

travisn000

7 years ago

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.

Report

9

google01103

8 years ago

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

Report

9

google01103

8 years ago

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

Report

9

google01103

8 years ago

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

Report

C

csslayer

8 years ago

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

Report

9

google01103

8 years ago

resolved it - thanks,

Report

9

Mogger

8 years ago

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.

Report

C

csslayer

8 years ago

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.

Report

9

Mogger

8 years ago

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!

Report

musonio

8 years ago

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?

Report

C

csslayer

8 years ago

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.

Report

8 years ago

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.

12345678910
11
product-maker bsidb Aug 06 2012 9 excellent
product-maker Pafrape Oct 12 2011 9 excellent
product-maker bugmenot1234 Oct 11 2011 9 excellent
product-maker google01103 Oct 11 2011 9 excellent
product-maker Mogger Oct 11 2011 9 excellent
product-maker e1nste1n Oct 10 2011 9 excellent
product-maker AlexeyK Oct 10 2011 9 excellent
product-maker Znurre Oct 10 2011 9 excellent
product-maker bendersteed Oct 10 2011 9 excellent
product-maker SeaJey Oct 10 2011 9 excellent
product-maker pejakm Oct 10 2011 9 excellent
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
Pafrape
Feb 29 2012
e1nste1n
Oct 15 2011
cosmoslx
Oct 11 2011
File (click to download) Version Description PackagetypeArchitecture Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.2.1
updated Oct 11 2011
added Oct 10 2011
downloads 24h
0
mediaviews 24h 0
pageviews 24h 7