DenisLabrecque / Bible-Browser

Load Zefania XML files into a visual Bible reader (WIP)
1 stars 0 forks source link

When search interrupts another search, search results are not reinitialized, and the progress bar is not correctly reinitialized to zero #43

Open DenisLabrecque opened 4 years ago

DenisLabrecque commented 4 years ago

This works now. I'm not sure about how well the progress bar reacts and so on.

DenisLabrecque commented 4 years ago

Since adding a parallel loop, this may well happen, but so quickly that it's difficult to notice or reproduce.

DenisLabrecque commented 4 years ago

So because of UI notifications, I'm actually noticing that this happens, and that it is a fault with the code.

DenisLabrecque commented 4 years ago

This seems to also have an effect when there are too many search results for a particular search. The app almost fails, because even though the search is canceled, it continues searching until it reaches 100% internally.