Skip to content

Fix #33531: Page view menu positioning [4.7.4] - #33867

Merged
mathesoncalum merged 1 commit into
musescore:4.7from
mathesoncalum:33531-menuview_empty_space-474
Jun 22, 2026
Merged

Fix #33531: Page view menu positioning [4.7.4]#33867
mathesoncalum merged 1 commit into
musescore:4.7from
mathesoncalum:33531-menuview_empty_space-474

Conversation

@mathesoncalum

@mathesoncalum mathesoncalum commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Resolves: #33531

Two problems:

  • newPopupPos was being set to PopupPosition::Left (introduced in #31657). This is inaccurate since we're not actually placing the menu to the left - we're just shuffling it left by the overlap amount (it's still placed above).
  • The movePos call is incorrect/outdated - instead of shuffling left by the overlap amount we're actually shuffling it right by padding() * 2 (see the 4.6.5 screenshot attached to the original issue - the menu is offset).

@mathesoncalum
mathesoncalum requested a review from Eism June 18, 2026 15:07
@mathesoncalum mathesoncalum linked an issue Jun 18, 2026 that may be closed by this pull request
4 tasks
@mathesoncalum
mathesoncalum force-pushed the 33531-menuview_empty_space-474 branch from 1bf2fd0 to 9be87a0 Compare June 19, 2026 09:17
@zacjansheski

Copy link
Copy Markdown
Contributor

Tested on MacOS Tahoe 26.2, Windows 11, Ubuntu 22.04.3. Approved
#33531 FIXED

@mathesoncalum
mathesoncalum merged commit 9c0ceaf into musescore:4.7 Jun 22, 2026
12 of 13 checks passed
@mathesoncalum
mathesoncalum deleted the 33531-menuview_empty_space-474 branch June 22, 2026 17:43
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.

Empty space between bottom menu and Page View options

3 participants