-
-
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
saves the correct subwindow size when it is hidden #3589
Conversation
Now that the |
Possibly bug, how to reproduce:
GIF for proof: |
Ok, maybe it's fixed and I just making unnecesary noise. Ok, you fixed this. |
include/MainWindow.h
Outdated
@@ -142,7 +142,7 @@ class MainWindow : public QMainWindow | |||
return m_keyMods.m_alt; | |||
} | |||
|
|||
static void saveWidgetState( QWidget * _w, QDomElement & _de, QSize const & sizeIfInvisible = QSize(0, 0) ); | |||
static void saveWidgetState(QWidget * _w, QDomElement & _de); |
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.
Spaces at in the parenthesis.
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.
I've tested this and I haven't noticed anything out of the ordinary. Fix the spaces (comment above) and merge this.
@qnebra has objections. I talked to him in discord. He can reproduce the problems after checkout this branch. There seems to be something fishy. |
I don't know exactly how it worked, in my case it look like "pianoroll", "automation editor", "project notes" windows dimensions are set to 0x0, so you can't find them, but they are active. Maybe it's something specific, unable to reproduce. |
@BaraMGB Can you rebase this against stable-1.2 ? @qnebra |
Ok guys, very, very sorry for noise. Create a new one default template fixed issue locally. |
No, that is a concern. I still think we need to test this with the new template fix. |
@zonkmachine done |
Works fine here like before. @qnebra Can you build and test this? Test it both with and without the template you made. |
@zonkmachine Ok, I hope delete new default template will help test. Now install. |
That'll do. Merge! 🚜 |
👍 Thanks to @qnebra and @zonkmachine ! |
* saves the correct subwindow size when it is hidden * remove invisible size from saveWidgetState()
Cherry-picked and ready for master in 220559f. |
* saves the correct subwindow size when it is hidden * remove invisible size from saveWidgetState()
* saves the correct subwindow size when it is hidden * remove invisible size from saveWidgetState()
* saves the correct subwindow size when it is hidden * remove invisible size from saveWidgetState()
fixes #3584