Skip to content

Preparations for FileChooser implementation (Part 7 - Deadly Modes)

António Fernandes requested to merge wip/antoniof/filechooser-prep-7 into main

There are 3 FileChooser portal methods:

  • OpenFile
  • SaveFile
  • SaveFiles

But OpenFile has 2 boolean options ("directory" and "multiple) which mean there are actually 4 modes:

  1. select single file
  2. select single folder
  3. select multiple files
  4. select multiple folders

As such, we have 6 new modes to support, in addition to the "browse" mode (i.e., business as usual).

With these modes we can adapt the views and their actions, menus and behaviors


Part of #3401 (closed)

Merge request reports

Loading