pharo-contributions / file-dialog-transfered-to-newtools

Replacement for Pharo's native dialog
MIT License
8 stars 9 forks source link

First try to provide multi-selection of files in a FDOpenFileDialog. #12

Closed juliendelplanque closed 5 years ago

juliendelplanque commented 6 years ago

The methods #beSingleSelection and #beMultipleSelection allows to configure an instance of FDOpenFileDialog. The default is #beMultipleSelection.

As long as you do not try to select multiple files with a directory, no strange behaviour. This case is still to be solved but requires to dig deeper in Spec.

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-0.2%) to 76.934% when pulling 1f01eb6cea0518816fbcf47d9dc2e49fc1d83e98 on juliendelplanque:master into d7951dd0150672ad424cdef34b957a3f142d689b on peteruhnak:master.

peteruhnak commented 6 years ago

Sorry, for the delay; finally catching up on things...

I've ran into an issue with the multi selection - during the selection I can click on .. which will either select it too, or will go up and select whatever is there. So the result is that when I am selecting say three images, I can be accident get folders instead (or a mixture of the two).

CafeKrem commented 5 years ago

I'm working on it but there is an issue on spec. https://github.com/pharo-spec/Spec/issues/688