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

Freezing when typing/editing an element in a voluminous score #22975

Open
Dima-S-Jr opened this issue May 25, 2024 · 12 comments
Open

Freezing when typing/editing an element in a voluminous score #22975

Dima-S-Jr opened this issue May 25, 2024 · 12 comments
Assignees
Labels
crash Issues involving a crash of MuseScore needs review The issue needs review to set priority, fix version or change status etc.

Comments

@Dima-S-Jr
Copy link

Dima-S-Jr commented May 25, 2024

Issue type

Crash or freeze

Bug description

When working with voluminous scores, freezing occurs when entering or editing an element.

Steps to reproduce

  1. Open/create a voluminous score (The score to solve the issue.zip)
  2. Enter a text consisting of a considerable number of letters.
  3. MuseScore Studio will start to freeze, after which the program window will turn white.

Screenshots/Screen recordings

Video_240525230216.mp4

MuseScore Version

MuseScore Studio version (64-bit): 4.3.0-241231433, revision: github-musescore-musescore-5f36e74

Regression

No.

Operating system

Windows 11

Additional context

No response

@muse-bot muse-bot added the crash Issues involving a crash of MuseScore label May 25, 2024
@bkunda
Copy link

bkunda commented May 27, 2024

I've just noticed in the above video that you attempted to add text while the audio samples were still loading. When the input text cursor appears, the progress bar in the bottom left corner of the screen freezes.
Could you perhaps try and see if the issue reproduces when adding text after the audio samples have finished loading?
If this doesn't resolve the issue, then please attach the score and diagnostic files (Go to Diagnostic > Save diagnostic files).
Thanks!

@bkunda bkunda added the needs info More information is required before action can be taken label May 27, 2024
@Dima-S-Jr
Copy link
Author

Dima-S-Jr commented May 27, 2024

Could you perhaps try and see if the issue reproduces when adding text after the audio samples have finished loading?

I just checked it out. Regardless of whether I start typing during or after loading audio samples, freezing occurs in both cases.

Video_240527121550.mp4

I'm attaching the score and diagnostic files.
freezes.zip
The score to solve the issue.zip

@bkunda bkunda added needs review The issue needs review to set priority, fix version or change status etc. and removed needs info More information is required before action can be taken labels May 28, 2024
@bkunda
Copy link

bkunda commented May 28, 2024

@DmitryArefiev can you please investigate?

@bkunda bkunda assigned oktophonie and unassigned zacjansheski May 28, 2024
@DmitryArefiev
Copy link
Contributor

I can reproduce it on my side with the attached score (4.3.1, Windows10).
It takes a lot of cpu when editing text in frame (probably because of rendering processing in all parts)
It's not a recent regression (Occurs in 4.2 as well)
Maybe @RomanPudashkin can answer is it possible to do an optimization or not

bandicam.2024-05-29.01-33-43-000.mp4

@Dima-S-Jr
Copy link
Author

Dima-S-Jr commented May 29, 2024

Also, please note that the freeze occurs not only when entering text on the title page of the score, but also in general during any actions with the score itself (adding/removing strokes, text, entering notes etc.). The more operations over a certain period of time, the more freezes. When the Muse Sounds audio profile is activated, there are much more freezes. Personally, in my task manager, the load reaches 100 percent. (Processor: AMD Ryzen 3 PRO 4350G with Radeon Graphics 3.80 GHz; RAM: 16 GB)

Video_240529124604.mp4

@dcorson-ticino-com
Copy link

Does freezing mean very long response times?
If so this appears to be just a function of file size.
I have a string trio, just 3 parts, that is in the mean time over 600 measures with 880meg and the reaction time for many things is so slow that one asks ones self if the key switch in the mouse is broken. I am starting the last movement in a new file to be able to work normally. There is apparently some optimising to be done.
This is not a slow compi, it was purchased to do CAD which I would expect to be more power hungry than music notation and the CAD works fine.

@KiwiiKev
Copy link

KiwiiKev commented Jun 1, 2024

2024-06-01.16-57-15.mp4

Same issue on my end, with a quite small score, mscz file is 24 KB. Editing the composer field freezes the programm, then crashes.

@DmitryArefiev
Copy link
Contributor

@KiwiiKev Can you attach the score please?

@KiwiiKev
Copy link

The Legend of Zelda Links Awakening - Ballad of the Wind Fish.zip

@DmitryArefiev : Here is the score. Keep in mind that I did not start with a blank score, but used a midi version of that song from ninsheetmusic.org (https://www.ninsheetmusic.org/download/mid/1318)

@DmitryArefiev
Copy link
Contributor

DmitryArefiev commented Jun 26, 2024

The Legend of Zelda Links Awakening - Ballad of the Wind Fish.zip

@DmitryArefiev : Here is the score. Keep in mind that I did not start with a blank score, but used a midi version of that song from ninsheetmusic.org (https://www.ninsheetmusic.org/download/mid/1318)

@KiwiiKev The attached score doesn't have a composer fields (as on the video), and I can't reproduce it after adding some text to composer field. Can you re-attach again please?

Also, please check if your freeze is not the same as #17006

@KiwiiKev
Copy link

@DmitryArefiev : I updated to version 4.3.2-241630831 and it seems that the issue is gone now.

@DmitryArefiev
Copy link
Contributor

@DmitryArefiev : I updated to version 4.3.2-241630831 and it seems that the issue is gone now.

@KiwiiKev Cool. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash Issues involving a crash of MuseScore needs review The issue needs review to set priority, fix version or change status etc.
Projects
None yet
Development

No branches or pull requests

9 participants