musescore / MuseScore

MuseScore is an open source and free music notation software. For support, contribution, bug reports, visit MuseScore.org. Fork and make pull requests!
https://musescore.org
Other
12.15k stars 2.63k forks source link

[MU4 Issue][Intermittent] Instrument is not sounding after hiding and showing again in Instruments panel #15126

Open abariska opened 1 year ago

abariska commented 1 year ago

Describe the bug Sometimes, other instruments (randomly) stop sounding after one of those was hiding and showing again in Instruments panel

To Reproduce Steps to reproduce the behavior:

  1. Open the score smoke.mscz.zip
  2. Select any measure with notes for one instrument (better not the first from the top)
  3. Hide the instrument in Instruments tab in Inspector (selection is moved to the instrument above)
  4. Play the score (instrument with selected measure doesn't sound)
  5. Unhide the instrument and play it

The instrument starts sounding again after selecting a note on its staff

Expected behavior Instrument is sounding after hiding and showing again in Instruments panel

Screenshots

https://user-images.githubusercontent.com/101250347/207098973-640cd821-9209-46e0-9724-ee001e3eb79c.mp4

Mick45678 commented 1 year ago

Instruments that are also hidden also do not sound themselves.

abariska commented 1 year ago

Instruments that are also hidden also do not sound themselves.

@Mick45678 instruments which hidden shouldn't sound, it's expected for now.

zacjansheski commented 1 year ago

@abariska is this still an issue? I didn't have any issue hiding - unhiding - playing (unless I am misunderstanding the issue)

abariska commented 1 year ago

@zacjansheski the issue is still reproducible. Pay attention that after you hide an instrument with selected bar the selection moves to the top instrument and my expectation that this top instrument should sound. But it doesn't. You need to unselect and select again to get the sound from the top instrument