-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Custom layouts show panels that have ''visible=False'' #20078
Comments
Hey @dan123456-eng, thanks for reporting. I think I introduced this regression and will try to fix it in the first version we'll release next year (5.4.2). |
Thanks @ccordoba12 ! I hope to contribute more actively. |
You mean that you'd like to solve this problem? Because I can give you some pointers to get you started. |
If you can give the tips I can try to solve. Tks |
Great! I think I could have introduced this problem when I added support to restore the visible plugins in the previous session. I did that in PR #18962. So I'll start taking a look at that, to see if commenting that functionality fixes the issue. |
Hello @ccordoba12 . Thanks for that tip. I'll take a look.
|
->plugin.dockwidget.show() |
Great! I'm really glad you were able to find the solution to this issue! Could you create a pull request for it? If you decide to do that, please don't forget to read our Contributing guide first. If you don't comfortable with that, let us know and I can do it for you. |
Thanks for helping! I will make the pull request. |
Nice! Thanks a lot for your help with this! |
Problem Description
Custom layouts show panels with ''visible=False'' and third-party panels that are not part of a custom layout.
Custom layout in Spyder 5.3.2 with '' visible=False'':
self.add_area([SpyderPyMR.NAME], row=3, column=1, visible=False, )
Custom layout in Spyder 5.4.0 with '' visible=False'':
self.add_area([SpyderPyMR.NAME], row=3, column=1, visible=False, )
What steps reproduce the problem?
Versions
The text was updated successfully, but these errors were encountered: