-
-
Notifications
You must be signed in to change notification settings - Fork 394
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
PICARD-2791: Prevent panes of options window being fully collapsible #2345
Conversation
Prevents users accidentally hiding a pane without knowing how to get it back.
@zas: I'll adjust this patch for the 2.10.x branch after it got merged. Also can you test this in the options? For me with Qt6 resizing the panes is extremely laggy. Works well in Qt5. No such issue in the main view. |
That is actually what is supposed to be prevented by If In any way, this seems to be all unrelated to the sluggish behavior, as this is the same either way (and not present in Qt5). I rather suspect that some drawing or layout calculation performance is worse, and resizing this particular view has to recalculate the layout of all the different option pages. This seems to be the case, as you for example cannot resize beyond a certain size if it is prevented by the layout of any specific page. |
Yes, that's it, I removed |
d0dc0c4
to
9c1f00f
Compare
@zas I added a config upgrade hook to clear splitters_OptionsDialog |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Summary
Problem
Prevents users accidentally hiding a pane without knowing how to get it back.
Solution
Set setChildrenCollapsible on the splitter and minimum widths for the panes. Very similar to what was done in #1634 for the main window panes.