enthought / pyface

pyface: traits-capable windowing framework
Other
106 stars 55 forks source link

Better testing for event filters #1097

Open corranwebster opened 2 years ago

corranwebster commented 2 years ago

In the Qt backend we use event filters a fair but so we don't need to subclass qt widgets, but this has led to some issues around reference cycles and object lifetimes.

We should develop and implement patterns for testing that the even filters work as expected and also that they are cleaned up properly during garbage collection (eg. can handle situations such as Python objects not longer existing).