texstudio
texstudio copied to clipboard
empty search results after closing file searched
Environment
- TeXstudio: current dev
- OS: Windows 10
Expected behavior
It seems that the result data is lost. In this case I suggest removing the remaining tree items (including those with the "File closed").
Actual behavior
After an extended search over a project I close the root file where I started the search. Moving the mouse pointer over the search result list, the list gets updated: The tree items with file names are changed to "File closed (3)" where (3) is the number of search results. But following three tree items are empty.
How to reproduce
Have a root file opened, maybe one that includes files. Start a search you can expect that there are hits in the root and some of the included files (this is optional). Press extended search button, then close the root file. Hover the mouse pointer over the search results.
not reproducible. Please be more precise about the set up.
I can reproduce this with a simple temporary file created with wizard:
\documentclass[10pt,a5paper]{article}
\usepackage{mathtools}
\begin{document}
\end{document}
with ctrl+f search for doc and find 3 hits. Press extended search button. Close the untitled file. Ext. Search panel immediately shows
Click below the text in the ext. search panel to find empty lines:
Maybe my problem here: https://github.com/texstudio-org/texstudio/issues/3595
Have something to do with the problem here
Could that be?