- Open two files/documents side by side
- Use Menu: Window -> Remove All Splits
==> From now on all clangbackend jobs are ignored/postponed (no reparse, no completion, ...)
- ModelManagerSupportClang::ModelManagerSupportClang() connects to Core::EditorManager::editorsClosed
- In the corresponding slot Core::EditorManager::visibleEditors() is called, which yields an empty list for the "Remove All Splits" case - as a result no visible documents are propagated to the clangbackend and so it ignored all jobs. Expected: Since one document is visible afterwards, it should be reported as visible here, too.
This happens since
Clang: Fix another crash when closing document
where the connection was changed from queued to normal.
|For Gerrit Dashboard: QTCREATORBUG-20464|
|230366,2||Fix that removing splits results in code model issues||4.7||qt-creator/qt-creator||Status: MERGED||+2||0|