Nathaniel Graham
2018-08-16 22:30:22 UTC
ngraham created this revision.
ngraham added reviewers: broulik, Dolphin, Frameworks.
ngraham requested review of this revision.
REVISION SUMMARY
This is a more appropriate version of D13797: Only add actual documents to Recent Documents <https://phabricator.kde.org/D13797>. Basically we filter out anything that can't be browsed with a file manager, such as web linkns, `appstream://` urls, etc.
This ensures that the contents of the `recentdocuments:/` ioslave is relevant to the user.
TEST PLAN
Opened a link from Spectacle in my web browser. Without the patch, it shows up in `recentdocuments:/`. With the patch, it does not.
REPOSITORY
R320 KIO Extras
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D14893
AFFECTED FILES
recentdocuments/recentdocuments.cpp
To: ngraham, broulik, #dolphin, #frameworks
ngraham added reviewers: broulik, Dolphin, Frameworks.
ngraham requested review of this revision.
REVISION SUMMARY
This is a more appropriate version of D13797: Only add actual documents to Recent Documents <https://phabricator.kde.org/D13797>. Basically we filter out anything that can't be browsed with a file manager, such as web linkns, `appstream://` urls, etc.
This ensures that the contents of the `recentdocuments:/` ioslave is relevant to the user.
TEST PLAN
Opened a link from Spectacle in my web browser. Without the patch, it shows up in `recentdocuments:/`. With the patch, it does not.
REPOSITORY
R320 KIO Extras
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D14893
AFFECTED FILES
recentdocuments/recentdocuments.cpp
To: ngraham, broulik, #dolphin, #frameworks