elementary / code

Code editor designed for elementary OS
https://elementary.io
GNU General Public License v3.0
480 stars 112 forks source link

Active project dropdown sometimes out of sync on restart #1471

Open jeremypw opened 1 month ago

jeremypw commented 1 month ago

What Happened?

On reloading it was sometimes found that the active project as indicated by dropdown was different to the active project indicated by the open documents, expanded sidebar folder and terminal widget

Steps to Reproduce

  1. Open two projects
  2. Open a document from each project
  3. Open the Terminal widget
  4. Set as active the project that appears second in the sidebar
  5. Close and reopen Code
  6. Observe that the sidebar, documents and terminal are restored as expected but the dropdown shows the first project as active, not the second.

Expected Behavior

On restoring the dropdown should correctly show the active project.

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

No response

Hardware Info

No response