Skip to content

Fix piano roll opening with minimum height#8293

Closed
extern-stat wants to merge 1 commit into
LMMS:masterfrom
extern-stat:window-size-fix
Closed

Fix piano roll opening with minimum height#8293
extern-stat wants to merge 1 commit into
LMMS:masterfrom
extern-stat:window-size-fix

Conversation

@extern-stat
Copy link
Copy Markdown
Contributor

Fixes #8292 by handling and ignoring Editor::closeEvent. I'm not sure if this is the best way to fix this bug, but it does fix the issue.

@messmerd messmerd added the bug label May 2, 2026
@bratpeki
Copy link
Copy Markdown
Member

Haven't tested this yet but have you looked at #8387? It seems to address the same bug but maybe does it in a cleaner way?

@sqrvrt
Copy link
Copy Markdown
Contributor

sqrvrt commented May 14, 2026

Oh, forgot this was a thing. This "accidentally" fixes the bug by overriding closeEvent, which would normally hide the widget when close() is called. Problem with this approach is that it's not universal, i.e. needs to be done for each subwindow content widget, plus if something else hides the child the bug will pop back up.

@extern-stat
Copy link
Copy Markdown
Contributor Author

Superseded by #8387

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Piano roll opening with minimum height after loading project

4 participants