Bug 393653 - Trash is shown in Open dialog
Summary: Trash is shown in Open dialog
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Open/save dialogs (show other bugs)
Version: 5.45.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-29 19:28 UTC by Sefa Eyeoglu
Modified: 2018-05-12 13:58 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sefa Eyeoglu 2018-04-29 19:28:09 UTC
The open dialog shows Trash in the Places section, although it is not possible to open a file in trash. "trash://" should be blocked in open and save dialogs.
Comment 1 Kai Uwe Broulik 2018-04-30 07:41:37 UTC
You sure can open files from trash, just tried in Kate. Places panel was recently updated to not show unsupported protocols. When an application only supports local (file:/) urls trash should not be shown.

Which application is this?
Comment 2 Kai Uwe Broulik 2018-04-30 07:43:35 UTC
It does list it in the save dialog although saving there yields an access denied error. The trash protocol specifies "can write", so not sure how to fix that
Comment 3 Sefa Eyeoglu 2018-04-30 14:34:27 UTC
If I open a file in Chromium, I can select from Trash, but clicking Open does nothing. In Kate I am able to open a file in the Trash, but can't write. Can't we just. 
We could hide trash:/ by hardcoding it into kio.
Comment 4 Kai Uwe Broulik 2018-05-03 06:24:18 UTC
This patch [1] fixes Trash showing up in "Save As" dialog in Chromium.

[1] https://cgit.kde.org/kdialog.git/commit/?id=975a49b3494b727dfa052c9a6e0aed28fced1cbb
Comment 5 Sefa Eyeoglu 2018-05-12 13:21:18 UTC
That looks good. i would say, that this issue has been resolved.
Comment 6 Christoph Feck 2018-05-12 13:58:38 UTC
Thanks for the update; closing.