arista icon indicating copy to clipboard operation
arista copied to clipboard

Multiple Selection from File System

Open fcsonline opened this issue 14 years ago • 6 comments

It would be nice to select multiple files from the filesystem and add them to the queue at the same time.

What do you think?

fcsonline avatar Jun 07 '10 10:06 fcsonline

You can already select an entire folder in the latest version, which kind of helps with this issue, but it's tough to represent multiple files in the UI. One thing I've recently added is a Nautilus extension so you can actually select multiple files in your file browser, right click, and convert to a device and preset (currently it spawns arista-transcode but a new simple GUI is coming soon).

How would this best be represented in the GUI? Particularly the source drop down?

danielgtaylor avatar Jun 07 '10 13:06 danielgtaylor

I think that the best option is to show a label like "4 files" and some kind of icon representing a multiple file selection. Then when you click on add button, arista would show 4 jobs independently.

fcsonline avatar Jun 07 '10 13:06 fcsonline

So to officially spec this out a bit, this requires the following:

  • Allow selecting multiple items in the source file chooser
    • Add multiple items icon and translatable string label
    • Store multiple items (e.g. a python list) in selected item iter
  • Modify preset_ready method to treat multiple files like a folder
    • Reorganize a bit so folder and multiple items can share code

This should be fairly easy to add. I'm going to shoot for the release after 0.9.5 which I'm finishing up this week.

danielgtaylor avatar Jun 10 '10 03:06 danielgtaylor

what about not adding a UI for choosing multiple files at all, but allow drag and drop from Nautilus or whatever on to the Arista preview pane?

maphew avatar Nov 17 '10 22:11 maphew

I've added in basic drag and drop in ad671ba, but it only supports single files and directories at this point. Handling multiple files will take a bit more work, and I'm not sure it'll make it into the next release, but this is a start.

danielgtaylor avatar Jun 16 '11 23:06 danielgtaylor

Thanks Daniel! I will try it.

fcsonline avatar Jun 28 '11 23:06 fcsonline