BuddhaNexus / buddhanexus

Backend for the Buddhanexus project
8 stars 2 forks source link

middle-view does not get cleaned up properly #337

Open sebastian-nehrdich opened 1 week ago

sebastian-nehrdich commented 1 week ago

In order to reproduce this: Select any text in any language, click on a coloured segment in text-view so the middle column shows matches. Now go to a completely different file, maybe even in a different language, and open it in text-view again. The middle view will remain visible and show the matches from the previous file, even though they are not connected to the current text at all. In this screenshot, what is left is Sanskrit will the middle view shows mistaken Tibetan that is 'left there' from previously looking at a Tibetan file. Image

TrebuhD commented 1 week ago

Most likely related to @aminahbl 's recent changes

ayya-vimala commented 1 week ago

Also when the filters change, the middle view should clear out, which it doesn't.

TrebuhD commented 1 week ago

This issue should be fixed now in the latest branch @sebastian-nehrdich

@ayya-vimala this change can also be made, it's quite simple to implement but hasn't been considered yet.