# Favorite panel in the file picker

**URL:** https://discourse.paraview.org/t/favorite-panel-in-the-file-picker/7790
**Category:** Development
**Tags:** proposal
**Created:** [August 10, 2021, 7:42am UTC](https://discourse.paraview.org/t/favorite-panel-in-the-file-picker/7790 "2021-08-10T07:42:12Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![timothee.chabat](https://discourse.paraview.org/user_avatar/discourse.paraview.org/timothee.chabat/32/5729_2.png) [@timothee.chabat](https://discourse.paraview.org/u/timothee.chabat)
#### Post date: [August 10, 2021, 7:42am UTC](https://discourse.paraview.org/t/favorite-panel-in-the-file-picker/7790/1 "2021-08-10T07:42:12Z")

</div>

ParaView currently embed 2 panel on the left of the file picker : the upper left is default folders from the system (eg Downloads, Documents, home, …) and the lower left are recent folders.

**Feature** : Add the possibility for the user to tag some folders as `Favorite` and display them in the file picker. The initial design is to add a third panel on the left side specific to user favorites. These favorites should ideally be present in every related feature (open file, save screenshot, save animation, etc)

Some other ideas of design :

- Allow to edit the upper left panel to add/remove new folders
- Make tabs for all of the three panels. This add a click for the user but makes clear which tab is what by adding a label for each tab.

Some discussion has already happened here : [https://gitlab.kitware.com/paraview/paraview/-/issues/20874](https://gitlab.kitware.com/paraview/paraview/-/issues/20874).

Thoughts ?

---

<div class="post-metadata">

### Author: ![timothee.chabat](https://discourse.paraview.org/user_avatar/discourse.paraview.org/timothee.chabat/32/5729_2.png) [@timothee.chabat](https://discourse.paraview.org/u/timothee.chabat)
#### Post date: [August 10, 2021, 7:44am UTC](https://discourse.paraview.org/t/favorite-panel-in-the-file-picker/7790/2 "2021-08-10T07:44:12Z")

</div>

FYI @wascott @cory.quammen

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [August 10, 2021, 2:29pm UTC](https://discourse.paraview.org/t/favorite-panel-in-the-file-picker/7790/3 "2021-08-10T14:29:36Z")

</div>

I would prefer to keep the two panels for now. For the top panel, add + and - buttons. + adds the current directory to the upper panel, - removes it.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [August 10, 2021, 2:38pm UTC](https://discourse.paraview.org/t/favorite-panel-in-the-file-picker/7790/4 "2021-08-10T14:38:47Z")

</div>

Cory suggestion seems simple and efficient. A way to reset to default would be needed though.

---

<div class="post-metadata">

### Author: ![timothee.chabat](https://discourse.paraview.org/user_avatar/discourse.paraview.org/timothee.chabat/32/5729_2.png) [@timothee.chabat](https://discourse.paraview.org/u/timothee.chabat)
#### Post date: [August 10, 2021, 2:40pm UTC](https://discourse.paraview.org/t/favorite-panel-in-the-file-picker/7790/5 "2021-08-10T14:40:41Z")

</div>

I would have use a right click event instead of buttons to not overload the UI but yeah I definitely agree with the idea of having only 2 panels.

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [August 10, 2021, 5:00pm UTC](https://discourse.paraview.org/t/favorite-panel-in-the-file-picker/7790/6 "2021-08-10T17:00:30Z")

</div>

Smile. Two panels it is. Allowing the upper left panel to be edited it is. I think I would also prefer Cory’s suggestion of an + and - button. The reason is it is easier to find the first time. Right click menus are too hidden. Maybe add another button for “restore defaults”?

---

<div class="post-metadata">

### Author: ![timothee.chabat](https://discourse.paraview.org/user_avatar/discourse.paraview.org/timothee.chabat/32/5729_2.png) [@timothee.chabat](https://discourse.paraview.org/u/timothee.chabat)
#### Post date: [August 11, 2021, 6:56am UTC](https://discourse.paraview.org/t/favorite-panel-in-the-file-picker/7790/7 "2021-08-11T06:56:33Z")

</div>

Fine by me for 2 or 3 buttons. I think ParaView does not use the right click enough in general though, but it is better to have an over-exposed feature than a unused one.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [August 27, 2021, 2:15pm UTC](https://discourse.paraview.org/t/favorite-panel-in-the-file-picker/7790/8 "2021-08-27T14:15:13Z")

</div>

This is being implemented. Another question is rising though, the content of the default favorites.

Currently, it contains the following:

Windows:

- Examples
- My Documents
- Desktop
- Favorites
- Disk drives (C:/ D:/)
- Windows Network

Linux:

- Examples
- Home

MacOS:

- Examples
- Home
- Desktop
- Documents
- Downloads

It would be nice to unify all that, with a list containing something like:

- Home/UserMainDir
- Desktop
- Download
- My Documents
- Favorites
- Examples
- Disk drives (C:/ D:/ / /dev/sdX)
- Network

Any inputs ?
