Project

General

Profile

Feature #354

Select a file from user partition only

Added by iri over 8 years ago. Updated over 8 years ago.

Status:
New
Priority:
High
Assignee:
-
Category:
VM
Target version:
-
Start date:
08/22/2011
Due date:
% Done:

0%

Estimated time:

Description

_DLGOpenDir, _DLGOpenFile, _DLGOpenFileMulti, _DLGSaveFile should forbid any file/directory outside the user partition. It's a really problem even if I know it's hard; a solution should be found.

In GTK+, i developed a hack for this (any other path shows the user root partition in the dialog box) but it is for the Scol GTK version only and it is not very safe yet.

History

#1 Updated by arkeon over 8 years ago

_DLGOpenDir already manage this but show only the user partition not all available partitions. for the others the windows API don't seems to have any option for that, and don't forget that sometimes we can open or save a file outside the scol partitions, and the P or W scol type can be outside the scol partitions only in the case of the dialog box file.

this is why the old SCS file dialog was written in Scol and the different partitions was mixed.

I think that we should find an another method to list or write files corresponding to the desired partition but only for file dialogs.

Also available in: Atom PDF