Conditional combobox, with toolbar overlap, crashes app
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Phatch |
Fix Released
|
Critical
|
Stani |
Bug Description
Add "Color to Alpha" action. Change "Select Color By" to the last option. Change it back to the first option so that it overlap with the toolbar.
-> crash:
Traceback (most recent call last):
File "/usr/lib/
lambda event: event.callable(
File "/usr/local/
self.
File "/usr/lib/
raise PyDeadObjectErr
wx._core.
jutuveps@
Traceback (most recent call last):
File "/usr/lib/
lambda event: event.callable(
File "/usr/local/
self.
File "/usr/lib/
raise PyDeadObjectErr
wx._core.
Tested in rev. 766 of trunk.
Changed in phatch: | |
importance: | Undecided → Critical |
status: | Incomplete → Confirmed |
Changed in phatch: | |
milestone: | none → 0.2.1 |
status: | Fix Committed → Fix Released |
Hi Juho, I can't reproduce this. Could you attach an action list and an example image? Also exactly describe the steps to reproduce as this might be dependent on what you did before as it doesn't reproduce out of the box. I try a possible fix as well and push it upstream. So try again.
$ bzr commit -m "avoid dead object" sync/python/ phatch/ trunk/ pyWx/lib/ popup.py
Committing to: /home/stani/
modified phatch/
Committed revision 767.
$ bzr diff -r-2 pyWx/lib/ popup.py' pyWx/lib/ popup.py 2009-06-12 03:53:32 +0000 pyWx/lib/ popup.py 2009-06-13 11:41:54 +0000
wx.CallAfter( self.OnAfterCha nge)
=== modified file 'phatch/
--- phatch/
+++ phatch/
@@ -121,7 +121,8 @@
def OnAfterChange( self): change( unicode( self.Get( ))) change( unicode( self.Get( )))
- self.on_
+ if self:
+ self.on_
class TextCtrl( _CtrlChoices, wx.ComboBox) : _(self, parent, value,id= -1,choices= None,** keyw):
def __init_