-
-
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
Layout issues after SlicerT UI update #7510
Comments
Sorry, I don't have a machine to test with at the moment, but looking at the code this is probably caused by this line here, where it seems like height and width are in the wrong order. subWin->setMaximumSize(m_instrumentView->maximumHeight() + 12, m_instrumentView->maximumWidth() + 208); Could you maybe quickly change the line to this to test it? If you can't I'll do it in a few days. // fixed line
subWin->setMaximumSize(m_instrumentView->maximumWidth() + 12, m_instrumentView->maximumHeight() + 208); If this doesn't fix it I'll look trough the code a bit more later on. |
From my investigation, I can confirm that it is. Reverting that PR fixed the bug. |
I have rolled out a proper fix for the effect view glitch in #7511 |
I have pushed the fix for this bug too in my PR, but haven't tested that one because I don't have any lv2 plugins yet. |
IMO the instrument window is in dire need of an overhaul anyway. By default they are very small and crammed: So it would be good if the instrument window had a larger default size so that the layouts of the different tabs have space to "breathe". The layouts should also be adjusted so that they have a reasonable resize behavior. Having the envelope resizable is a good thing in my opinion as it allows for more precise editing. It just looks ugly because it uses pixmaps to render its background. |
If we are planning on overhauling the instrument window and making it larger, we should consider adding space for a Pin Connector button, preferably near the Channel spinbox. (See: #7459) |
Mentioning #7524 here, which might fix some of these issues. |
Listing all issues and adding 5 new ones. New ones:J1: Start default Project with TripleOsc, Drag SlicerT onto the TripleOsc TrackLabelButton (TLB), Click TLB to open SlicerT J2: J1, but other way round J3: Open LMMS, create Zyn Track, Click TLB to open Zyn J4: Lv2 UI Instruments (testable if you rebase lv2-ui here) can be resized to size 0 J5: Drag the preset "Kicker/SnareMarch.xpf" into the Song Editor, then open the Instrument (#5851). Adding the OP issue here again to have one post with all:Z1: Drag a Caps - C* Fractal into a project and open the instrument |
I think SlicerT being resizeable at all is something that should be delayed. The only way to fix the layout issues under non-instrument tabs would be to revamp the instrument view entirely, which is a subject for The Great Redesign. We could improvise something in the mean time, of course, but that would require similar efforts without the payoff The Great Redesign provides. |
System Information
Ubuntu 22.04
LMMS Version(s)
master after and including 7d35d42
Bug Summary
There are some issues with the instrument layouts after 7d35d42
The ones I've noticed are LV2 instrument layouts. I'm unsure if the cut off FX chains in #7508 are also from this commit.
Steps To Reproduce
Screenshots / Minimum Reproducible Project
Caps LV2 - C* Fractal (before and after)
Please search the issue tracker for existing bug reports before submitting your own.
The text was updated successfully, but these errors were encountered: