Skip to content

Fix #28664: Overlapping panels - #28912

Merged
DmitryArefiev merged 1 commit into
musescore:masterfrom
mathesoncalum:28664-overlapping_panels_bug
Jul 29, 2025
Merged

DmitryArefiev merged 1 commit into
musescore:masterfrom
mathesoncalum:28664-overlapping_panels_bug

Conversation

@mathesoncalum

Copy link
Copy Markdown
Contributor

Reverts: 99501cb
Resolves: #28664
Reopens: #26009

The solution in 99501cb was a misdiagnosis of the problem. The problem isn’t a failure to call setCurrentDockWidget with the mixer panel. We are doing this, it’s just immediately followed by another call to setCurrentDockWidget with the widget at index 0 (put a breakpoint in TabWidgetQuick::setCurrentDockWidget to see this in action).



My understanding is that this happens when we load a panel with a toolbar component (currently just the Mixer Panel or Percussion Panel). DockFrameModel intercepts this in event and emits tabsChanged, which eventually this leads to a reset of the tabs model in DockTabBar.qml (setting currentIndex to 0).

We'll simply revert for now for a couple of reasons:

  1. #28664 is a more severe bug than #26009
  2. The "definitive" fix for #26009 looks like it could be quite involved

@DmitryArefiev

Copy link
Copy Markdown
Contributor

Tested #28664 on Win10, Mac13.7.2, LinuxUbuntu24.04.2 LTS - FIXED

There are some changes in behavior appeared. They will be logged separately

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Transparency issue with History panel

3 participants