-
-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Viewer Panel contents get carried over from one Project to another #1718
Comments
Could you please state which version you are referring to since there are both full and pre-release available? I could not reproduce the issue as described. I tested with two active projects, and the content reloaded as expected. The only way I could get such an effect was if I loaded a project with no tags at all. Could you please check if this is what you did as well? I can see in the code that the |
That was a one line fix, pluss added a regression test. I believe this should solve all scenarios as a general solution, though I couldn't find any other ones than the one I described. |
Is it possible this was only a Qt5 thing? Given I was seeing tabs otherwise hidden on the Viewer Panel. FWIW I reproduced it on both 2.2.1 and 2.3rc1. |
No, definitely not,
Sure, it turned out to be the same on both those. What I was more curious about was under which conditions it occurred, because for two projects with defined tags, I could not reproduce your issue. The only case where I got the bleed through was when the second project had no tags defined at all. |
The Problem
After loading novelWriter:
... you will observe that the contents being shown are those belonging to the previously open Project, not the currently open one.
The Expectation
nW should be clearing out the Viewer Panel state on Project close, and should load it with the newly opened Project state instead.
The text was updated successfully, but these errors were encountered: