[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NSComboBox closing window problem
From: |
Andreas Höschler |
Subject: |
NSComboBox closing window problem |
Date: |
Wed, 5 Nov 2014 16:13:10 +0100 |
Hi all,
a user clicks on the three dots of a combo box to view the option list and then
(before closing the option list) tries to close the window. This crashes the
app with
#0 0xfe4eda4e in objc_msg_lookup (receiver=0xc0b4aa0, op=0xfed3e5d8) at
sarray.h:207
207 x.idx = indx;
(gdb) bt
#0 0xfe4eda4e in objc_msg_lookup (receiver=0xc0b4aa0, op=0xfed3e5d8) at
sarray.h:207
#1 0xfeb043e0 in -[GSComboWindow runModalPopUpWithComboBoxCell:]
(self=0xab01800, _cmd=0xfed3e5b0,
comboBoxCell=0xe8880a8) at NSComboBoxCell.m:420
#2 0xfeb040d5 in -[GSComboWindow popUpForComboBoxCell:] (self=0xab01800,
_cmd=0xfed3ea30,
comboBoxCell=0xe8880a8) at NSComboBoxCell.m:379
#3 0xfeb08b07 in -[NSComboBoxCell(GNUstepPrivate) _didClickWithinButton:]
(self=0xe8880a8, _cmd=0xfd246478,
sender=0xa61c400) at NSComboBoxCell.m:1914
#4 0xfde38893 in L10 () from
/opt/GNUstep/System/Library/Libraries/libgnustep-base.so.1.15
#5 0x0e8880a8 in ?? ()
#6 0xfd246478 in _OBJC_SELECTOR_TABLE ()
from /opt/GNUstep/System/Library/Bundles/Camaelon.themeEngine/./Camaelon
#7 0x0a61c400 in ?? ()
#8 0x00000000 in ?? ()
Any idea what to do about this? I am already doing
- (BOOL)windowShouldClose:(id)sender
{
...
[mainWin makeFirstResponder:nil];
...
}
in the window delegate but this did not do the trick! :-(
Hints greatly appreciated!
Thanks,
Andreas
- NSComboBox closing window problem,
Andreas Höschler <=