Youda008 / DoomRunner

Preset-oriented graphical launcher of various ported Doom engines (an alternative to ZDL)
GNU General Public License v3.0
204 stars 13 forks source link

Feature Request: Preset Folders #100

Open Llorean opened 1 year ago

Llorean commented 1 year ago

Being able to sort the presets into folders would be great. I'd love to be able to, for example, minimize all of my presets except for ones for Hexen. Or "only WolfenDoom presets." Or similar. Like, nothing smart needed. It could be as simple as being able to insert a category line, which minimizes everything beneath it until the next category line, so the simple up/down sorting can still be used.

Youda008 commented 1 year ago

Hm. The problem is that this would require a tree-view, which doesn't cope well when you want to do searching and display filtered results (which was other requested feature). I decided to implement the search, which together with the separators should allow you to keep things organized.

Llorean commented 1 year ago

A lot of programs handle this by allowing you to create a tree view, but when a search is performed, ignore the tree entirely and just show a single list of results.

Youda008 commented 1 year ago

Yea, but whether it's a list or tree is an core property of the UI element (widget) and can't be changed. You would have to delete the tree-view element and create a list-view element in its place everytime you start searching and vice versa, and that seems like an overkill.

ibin7777 commented 1 year ago

Maybe instead of adding tree-view, implement some sort of workaround for fake folder, like adding a script that hides all the preset underneath the separator upon clicking the said separator, thus creating an illusion of folding the folder.

So I guess the downside of it is that you can only do 1 layer of folder, but that's just my random thoughts, maybe there exists better workarounds that is both functional and requires less script.