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

Score view forcibly changes to Page View while exporting audio #23257

Open
4gboframram opened this issue Jun 15, 2024 · 2 comments
Open

Score view forcibly changes to Page View while exporting audio #23257

4gboframram opened this issue Jun 15, 2024 · 2 comments
Labels
P3 Priority: Low regression MS3 Regression from MS3 (3.6.2) UI Visual issues affecting the UI (not notation)

Comments

@4gboframram
Copy link

Issue type

UI bug (incorrect info or interface appearance)

Bug description

View mode should not change while exporting.

Steps to reproduce

  1. Open any score
  2. Change to any view that isn't page view
  3. Export audio as mp3 (haven't tested other formats than mp3 yet)
  4. Notice that the score view has been forcibly changed to Page View while exporting the audio and changes back when export is finished.

Screenshots/Screen recordings

2024-06-15.12-38-49.mp4
2024-06-15.12-54-23.mp4

MuseScore Version

Both stable and nightly, see above

Regression

Yes, this used to work in MuseScore 3.x and now is broken

Operating system

Windows 11, haven't tested on others yet

Additional context

Tested on:

  • OS: Windows 10 Version 2009 or later, Arch.: x86_64, MuseScore Studio version (64-bit): 4.3.2-241630831, revision: github-musescore-musescore-22b46f2
  • OS: Windows 10 Version 2009 or later, Arch.: x86_64, MuseScore Studio version (64-bit): 4.3.2-241670505, revision: github-musescore-musescore-22b46f2
@muse-bot muse-bot added regression MS3 Regression from MS3 (3.6.2) UI Visual issues affecting the UI (not notation) labels Jun 15, 2024
@4gboframram
Copy link
Author

I believe it happens here. I'm not experienced with the codebase, so I'm wondering why it would hardcoded like this. Is there some weird bug that happens when not temporarily changing to page view? Do we change to page view to get page counts or something?

setViewModes(notations, ViewMode::PAGE);

@cbjeukendrup
Copy link
Contributor

It is necessary for exporting to graphics, so I think that is the reason that it's there. But indeed it doesn't make a lot of sense for audio or midi export.

@bkunda bkunda added the P3 Priority: Low label Jun 18, 2024
@bkunda bkunda unassigned Eism Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 Priority: Low regression MS3 Regression from MS3 (3.6.2) UI Visual issues affecting the UI (not notation)
Projects
Status: In the further future
Development

No branches or pull requests

5 participants