-
Notifications
You must be signed in to change notification settings - Fork 96
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
visible_when=False in Vgroup Tabbed still visible #758
Comments
Hello, Any news about this issue? Ok, I fix a few typo:
PS: It works fine with wx, this is only with qt4 I have this issue. |
@fred4ets thanks for providing a way to reproduce the issue. I can reproduce this issue on windows + python 3.6 + pyqt5 5.14.2 and qt 5.12.6 |
This appears to be relevant: Also, I believe relevant traitsUI code is: traitsui/traitsui/qt4/ui_panel.py Lines 572 to 595 in 20f73e8
and specifically _fill_panel :traitsui/traitsui/qt4/ui_panel.py Lines 296 to 344 in 20f73e8
Doing some debugging, I am seeing that the UI is getting the Line 800 in 20f73e8
the tab remains visible. It seems to me the Unfortunately, we don't end up keeping track of the wrapped traitsui/traitsui/qt4/ui_panel.py Line 627 in 20f73e8
_visible list on the UI ). This makes it tricky, as I don't know who should be charged with listening to when {add/remove}Tab should be called...
In summary I don't think this is a simple quick fix 😞 but I will see if I can get something working |
Hi there,
I'm facing the following issue.
If i set 2 traits items and set one of them to be not visible, it is stil visible.
I join a CME to be more explicit : Tab #1 should be not visible.
What am I doing wrong?
Thanks in advance.
Regards
PS : Debian 10 x86_64 / Python 3.7.3, with Traits libs from git source (Traits 6.1.0 dev1414 & TraitsUI 6.2.0 dev123)
The text was updated successfully, but these errors were encountered: