Duplicate projects in dropdown after opening second window from duplicate tab
What Happened?
After duplicating a tab using the tab context menu, the duplicate tab was dragged out of the bar to create a new window. After this operation it was noticed that the project of which the duplicated document was part appeared twice in the project dropdown in the first window (but only once in the second window).
Steps to Reproduce
- Open a document in a project
- Duplicate that tab
- Drag tab out of window to create a new window
- Look at the project dropdown in the first window
Expected Behavior
The project dropdown should never have duplicate entries
OS Version
7.x (Horus)
Session Type
Classic Session (X11, This is the default)
Software Version
Latest release (I have run all updates)
Log Output
Hardware Info
No response
Still happens in OS8 (v8.0)
Caused by there being a single GitManager instance with one ListStore to store open projects. Code assumes there is only one window.
Need to decide whether we will support different projects open in different windows or whether the sidebars should be completely synchronized.