| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Dispatch DetachedFromWindow and AllDetached to their matching Python overrides instead of AllAttached. Add a regression test that exercises both C++ trampoline paths and verifies the callbacks received by a Python BView subclass.
| Back | FazBrowse Home | New Git URL |
Problem
The BView trampolines for DetachedFromWindow() and AllDetached() both dispatch to the Python AllAttached() override.
Python subclasses therefore receive the wrong lifecycle callback when a view is detached.
Fix
Dispatch each trampoline to its matching Python override.
Validation
Verified that the bound base methods now invoke DetachedFromWindow() followed by AllDetached().