vanilla icon indicating copy to clipboard operation
vanilla copied to clipboard

SplitView().isPaneVisible() returns the opposite value

Open justvanrossum opened this issue 6 years ago • 3 comments

It returns True when the pane is invisible and False when it's visible. isPaneVisible() calls getStateForPane_() which returns view.isHidden():

https://github.com/robotools/vanilla/blob/48dc7adeeccdafedf3f7358a54eba7aab237d24a/Lib/vanilla/vanillaSplitView.py#L63

justvanrossum avatar Dec 17 '19 16:12 justvanrossum

I'd make a PR but how many people would rely on the current behavior?

justvanrossum avatar Dec 17 '19 16:12 justvanrossum

I'd make a PR but how many people would rely on the current behavior?

Probably not many since no one else has mentioned it. 😄 Do you want me to fix it? I'm fine with making the change.

typesupply avatar Dec 20 '23 16:12 typesupply

That would be great, thanks!

justvanrossum avatar Dec 21 '23 06:12 justvanrossum