Skip to content

Fix #32152: Fall back to lastElementHit in playFromSelection [4.7.0]#32232

Merged
mathesoncalum merged 2 commits intomusescore:4.7from
mathesoncalum:32152-play_no_selection
Mar 27, 2026
Merged

Fix #32152: Fall back to lastElementHit in playFromSelection [4.7.0]#32232
mathesoncalum merged 2 commits intomusescore:4.7from
mathesoncalum:32152-play_no_selection

Conversation

@mathesoncalum
Copy link
Copy Markdown
Contributor

Resolves: #32152

@zacjansheski
Copy link
Copy Markdown
Contributor

There is a crash if I open parts and use shift+space to play

2026-02-17.17-20-05.mp4

@zacjansheski
Copy link
Copy Markdown
Contributor

Diagnostic files:
PartsShiftSpaceCrash.zip

Basic test score if it helps
Untitled score.zip

@mathesoncalum mathesoncalum force-pushed the 32152-play_no_selection branch from 4dc2a7f to 8eb08a0 Compare February 18, 2026 13:20
@mathesoncalum
Copy link
Copy Markdown
Contributor Author

partscrash.mov

Can't quite repro that crash @zacjansheski (in this video I'm spamming shift+space immediately after opening all parts).

I've just rebased the PR - I'm wondering if this is present for you on both macOS and Windows?

@zacjansheski
Copy link
Copy Markdown
Contributor

Sorry I can't show my key presses on Linux, but I can reproduce. See if you can reproduce when you switch parts

Screencast.from.2026-02-18.10-56-31.mp4

@RomanPudashkin
Copy link
Copy Markdown
Contributor

@zacjansheski fixed, please retest

@zacjansheski

This comment was marked as outdated.

@mathesoncalum mathesoncalum changed the base branch from master to 4.7 March 27, 2026 10:27
@mathesoncalum mathesoncalum changed the title Fix #32152: Fall back to lastElementHit in playFromSelection Fix #32152: Fall back to lastElementHit in playFromSelection [4.7.0] Mar 27, 2026
@mathesoncalum mathesoncalum force-pushed the 32152-play_no_selection branch from 79ac1fd to c612eba Compare March 27, 2026 10:29
@zacjansheski
Copy link
Copy Markdown
Contributor

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

@mathesoncalum mathesoncalum merged commit c6970d7 into musescore:4.7 Mar 27, 2026
12 checks passed
@mathesoncalum mathesoncalum deleted the 32152-play_no_selection branch March 27, 2026 17:11
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.

"Play from selection" command should still start playback even if no selection

3 participants