Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow showing file list widget instead of file chooser #69

Open
imagejan opened this issue Apr 11, 2022 · 3 comments
Open

Allow showing file list widget instead of file chooser #69

imagejan opened this issue Apr 11, 2022 · 3 comments

Comments

@imagejan
Copy link
Member

When using a single File[] parameter like:

#@ File[] (style="extensions:tif/tiff/ims") files

.. we always show a file chooser dialog using chooseFiles.
Only when a second unrelated parameter is added, a file list widget is shown in a generated input dialog:

#@ File[] (style="extensions:tif/tiff/ims") files
#@ String (required=false) ignoreThis

There should be a possiblity to get an input dialog with the file list widget, without the need to add secondary parameters.

(I thought I had opened a ticket about this long ago, but I couldn't find it, so here it is.)

@imagesc-bot
Copy link

This issue has been mentioned on Image.sc Forum. There might be relevant details there:

https://forum.image.sc/t/drag-and-drop-file-list/65646/3

@ctrueden
Copy link
Member

Yeah, something like autofill=false, but for the FilePreprocessor and FileListPreprocessor to know they shouldn't do this shortcut of popping the file chooser dialog directly. I also remember you mentioning this before, @imagejan, but don't have time to dig for existing issues right now, sorry.

@imagejan
Copy link
Member Author

imagejan commented Apr 12, 2022

I found the previous mentions here:

scijava/batch-processor#20
scijava/scijava-common#420

So now we have an open issue in each of the relevant repositories 🤷

Edit:
And there's scijava/scijava-common#423 already 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants