-
-
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
Issues with BB Editor on project load #1621
Comments
Recent changes are here. https://github.com/LMMS/lmms/commits/master/src/gui/editors/SongEditor.cpp P.S. @lukas-w is already looking into this. |
I have the same problem except I can't get the Beat+Bassline editor window working, no matter how much a click on it or resize it. |
@romabysen Even after clicking play? |
Oh wait, I do but only after I have loaded a few songs. After making a new project and then load a song it's back to not working and then I load a few songs and I can get it working by resizing the window. Edit: it seems a bit random, sometimes I can get it working after loading one song, sometimes I need to load two or more. |
is this graphic glitch on all platforms -? Never saw it on win 32 (?) |
@musikBear @romabysen This was introduced recently and should not be present on any stable version. I am going to take a look at it. |
Yep, it was introduced after the 1.1.0 release. I've only built from git source on Linux but I presume it also happen on Windows. |
Partly closed with #1657. Will leave open for BBEditor. |
Ok, so used git bisect to try find out which commit introduced the bug on the B/B Editor. However I wasn't able to determine if some commits were good or bad. This is due to the fact that a change on the Timeline source file introduced compiling issues, so I had to skip these. Certainly one of these commits is the offending one:
This is the commit that introduced the Timeline build issue: 11898a5. Let me try fixing this manually and re-running |
Hm… What exactly is the issue here? Is the BBEditor's content just not showing up at all or is it misplaced like it was in the song editor? What steps fix the issue when it occurs? |
Just updated the description, just load a different project with many BB Instruments, if the quantity is enough so that it overflows the window vertically then the BB Editor becomes unusable. Here is a project that presents this problem: https://lmms.io/lsp/download_file.php?file=3587&name=sidechain.mmpz |
@romabysen I discovered the reason why this bug seems random, read the updated description of this issue. |
@badosu Thanks for the detailed research :) |
Thanks @lukas-w, I am sorry I could not find it by myself. I am still trying to get the hang of the code. :-) |
Huh? No worries. :) I'm the one who introduced the bug so I'm quite happy that I'm the one who cleans up the mess. |
Thanks for the description @lukas-w. Let me just ask how did this commit fix the overflow issue, was it by fixing the |
The The |
@lukas-w thanks for the detailed explanation, I'll take a look and study it to understand the codebase better. :-)
Yes it works. Thanks! |
So, the BB Editor simply disappears after loading a different project:
You should be able to reproduce this by simply loading a project that has as many BB Tracks as enough to overflow the BB window vertically, something like 10 tracks should be enough.
You can use this project as a reference: Sidechain. Load the project and click on the BB Editor button to show it. Notice how the BB Editor does not show anything inside the container, and you can't add or edit tracks.
The text was updated successfully, but these errors were encountered: