Skip to content
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

PR: Reapply dock tabbar style if previous session was a Spyder 6 one (Layout) #21975

Merged
merged 1 commit into from
Apr 6, 2024

Conversation

ccordoba12
Copy link
Member

@ccordoba12 ccordoba12 commented Apr 6, 2024

Description of Changes

  • This is necessary if users start a Spyder 5 session after running a Spyder 6 one before.
  • The reason is that we had to bump the window state version in Spyder 6 due to the migration of the Editor to the new API. And that requires reapplying the dock tabbar style because it's reset by Qt when a different state version is used.
  • The changes in master to account for the inverse situation (i.e. starting Spyder 6 after a Spyder 5 session) are different. I'll apply them when merging this PR with that branch.

Affirmation

By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: @ccordoba12

@ccordoba12 ccordoba12 added this to the v5.5.4 milestone Apr 6, 2024
@ccordoba12 ccordoba12 self-assigned this Apr 6, 2024
@ccordoba12 ccordoba12 changed the title PR: Reapply dock tabbar style if previous session was a Spyder 6 one (Layouts) PR: Reapply dock tabbar style if previous session was a Spyder 6 one (Layout) Apr 6, 2024
@ccordoba12 ccordoba12 merged commit 4fc8f5f into spyder-ide:5.x Apr 6, 2024
23 checks passed
@ccordoba12 ccordoba12 deleted the reapply-docktabbar-style branch April 6, 2024 20:30
ccordoba12 added a commit that referenced this pull request Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant