Selecting the highest timetable in multi-mode

Started by pnlshd, November 28, 2024, 07:29:57 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pnlshd

Hello,

I have a suggestion regarding the multi-threaded generation, when no timetable is generated, there can be more than one highest timetable, and if it completes, there can also be one or more timetables

As far as I know, there is no way to select which highest (or completed) timetable to load in the application after generation ends, to view it the app itself not using the files, view conflicts, export and so on.

I think currently some timetable gets selected and I am not sure which one, and I may want to work with another one (highest/completed).

So maybe it would be good to be able to select which one to load if there are multiple ones generated (or multiple highest) when attempting to close the multi generation window (after having a look at the timetables using the generated files one can decide).

Another suggestion is very subtle and I don't know if it is on fet, but on single generation, when a new generation is stopped using view highest, it indeed writes the new files in the old highest folder (I enabled single overwrite), but it somehow doesn't update the last modified date of the containing folder itself.

I am not sure if fet should do it. Still, it definitely helps to have that last modified time of the folder the same as the files inside it, because many times there may be newer folders that show on top when I sort using last modified. I will have to look for the highest folder, double-check the last modified date of the files inside, and so on.

Thank you!

Liviu Lalescu

Hello, pnlshd,

1) About modified time, I just checked and there is no Qt function for changing this. I would prefer not to remove all the files and the directory before generating and then create it again - I am afraid of critical file/directory removals (also, maybe the user has some files there he would not like to remove).

2) In successful multi generation, you have the data_and_timetable.fet files in all the completed directories, and you can load it and generate instantly, then unlock it if you really want.

After a successful multi generation, the timetable in FET will be the last, I think.

3) In highest-stage, the timetable in FET will be the last, I think.

I will add your suggestions in the TODO.