code icon indicating copy to clipboard operation
code copied to clipboard

Duplicate projects in dropdown after opening second window from duplicate tab

Open jeremypw opened this issue 1 year ago • 1 comments

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

jeremypw avatar Jan 16 '25 16:01 jeremypw

Still happens in OS8 (v8.0)

jeremypw avatar Jun 12 '25 17:06 jeremypw

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.

jeremypw avatar Jul 01 '25 17:07 jeremypw