-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
UI freezes when zooming to much in the song editor when there is a long sample track #7249
Comments
Confirmed. Bisecting points to d5f5d00
|
For me the zoom action starts to get wonky and freeze on projects that are 10 minutes long, 5 minutes seem fine. |
Do you mean "wonky" as in the sample view gets drawn with garbled data or the UI lags? Both of these happen prior to the commit. I've confirmed the issue to be an infinite loop, a pull request should be up soon |
I meant the UI lags (this issue). By sample drawn with garbled data you mean #3378 right? |
Yup Regarding the UI lag, it's due to the function scanning the waveform every paint event and painting the entire Rect even if a large chunk of it is off-screen. 2 identical clips still gets painted independently |
System Information
Debian 12 - gcc 12.2.0 - QT5 5.15.8
LMMS Version(s)
LMMS 1.3.0-alpha.1.591+gb71d4f2aa
Most Recent Working Version
9ca9143
Bug Summary
Hi,
With a long sample track zooming-in too much freezes the UI.
After the sample is loaded (but before it freezes I have the following message):
LMMS does not crash and I see two processes running at nearly 100% but the UI doesn’t respond anymore. If it happens during a playback the playback continues.
Expected Behaviour
UI not to freeze
Steps To Reproduce
Empty project.
Add sample track in the song editor with a quite long audio. In my case a mono 24bit/96kHz 00:35:03.43 long FLAC file (518Mo)
Zoom-in and zoom-out few times in the song editor (most of the times it happens when zooming-in too much)
The text was updated successfully, but these errors were encountered: