Reconsider showing paths in the media library
Hi,
I don't know what are the reasons that led to display paths in the media library. See for an exemple the video https://gitlab.gnome.org/GNOME/pitivi/uploads/54ad819889b490c964970ddc2a78b8f9/Capture_d_%C3%A9cran_vid%C3%A9o_de_24-04-2020_17_58_05.webm
In the case of all clips come from the same folder it's completely pointless (1) Same in the case of all clips have different names (2)
I guess it can be useful if some clips have the same name in the media library (3) or if some clips have the same name in the user drive (4).
I see different possibilities to handle that with current Pitivi :
- don't show paths at all (improvement in cases 1 and 2 but 3 and 4 can be problematic)
- add an option to display paths (solves the 4 use cases but add complexity)
- let Pitivi be smart and detect imported clips that have the same name, and only show paths for them (improvement in cases 1, 2 & 3 but 4 can be problematic)
- show tooltip with path (solves the 4 use cases without adding complexity). In 0.999.0 flatpak version of Pitivi, the tooltip functionnality is not used in the media player.
Now if we think that Pitivi could get organizing capabilities as pointed in bug #2452, let see again the 4 above possibilities :
- don't show paths at all (improvement in cases 1 and 4 can be solved by user renaming its litigious clips)
- add an option to display paths (nothing changes : solves the 4 use cases but add complexity. It's another manual option to solve that problem)
- let Pitivi be smart and detect imported clips that have the same name, and only show paths for them (the only drawback (case 4) can now be solved with user intervention)
- show tooltip with path : that would also help user to rename its clips ! That's a win-win !
In light of this, I would suggest this solution :
- don't directly display paths in media library
- instead, display paths in tooltips
Bonus : solution matchs quite well with #2452
Of course there might be other reasons why paths is currently display which I hadn't thought
Thanks