harlam357 / hfm-net

Client Monitoring Application for Folding@Home
34 stars 6 forks source link

Newly download projects are not sorted in the Points Calculator until restart #307

Closed anand-bhat closed 4 years ago

anand-bhat commented 4 years ago

Newly downloaded projects do not appear in the Points Calculator unless the program is restarted.

Newly downloaded projects are not sorted in the Points Calculator unless the program is restarted. Once added, they appear at the bottom of the picklist.

harlam357 commented 4 years ago

Can you provide some more detail? I cannot reproduce. If I simply close the Points Calculator and open it again, the new projects are there. This is the expected behavior. Here are my repro steps:

1) Tools > Points Calculator 2) Tools > Download Projects... 3) Drop down Points Calculator Projects combo box, newly downloaded projects will NOT be listed 4) Close Points Calculator 5) Tools > Points Calculator 6) Drop down Points Calculator Projects combo box, newly downloaded projects ARE listed

anand-bhat commented 4 years ago

Sorry, this took a while. Here are the steps:

  1. Observe that project P16439 missing in points calculator. This is a newly released project, long after HFM was opened on my system. image

  2. Sync projects from Stanford from HFM. Observe that p16439 was added. image

  3. However, going back to the points calculator, p16439 is not shown sorted in the picklist. image

  4. See next comment.

anand-bhat commented 4 years ago

Oh wait, I was too hasty. It appears the newly downloaded projects are added to the points calculator projects list. It's not inserted into the correct sequence and is added at the end of the list.

image

harlam357 commented 4 years ago

So this appears to simply be a sorting issue?

anand-bhat commented 4 years ago

Correct, the originally reported issue was an incorrect observation.

harlam357 commented 4 years ago

This is fixed in master and will be available in the next release.