[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #20434] NSTextfield setStringValue: problem

From: Fred Kiefer
Subject: [bug #20434] NSTextfield setStringValue: problem
Date: Tue, 10 Jul 2007 11:31:39 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.5 (like Gecko)

Update of bug #20434 (project gnustep):

                  Status:                    None => Wont Fix               
             Assigned to:                    None => FredKiefer             
             Open/Closed:                    Open => Declined               


Follow-up Comment #3:

I just tested and both of these lines work perfectly:

   [txt setStringValue: [arr description]];
   [txt setObjectValue: arr];

I will decline this bug report. What is strange is that GNUstep is not able
to report properly what is going wrong. When trying to show an alert panel
with the doesNotRecognizeSelector: message the text cell falls over as the
arguments cannot be handled as text. This leads to a very strange output. But
this is an unrelated issue:

Array2TxtFld.app/Array2TxtFld: Uncaught exception NSGenericException, reason:
Glyph generation was triggered for a layout manager while the text storage it
was attached to had unprocessed editing. This is not allowed. Glyph
generation may be triggered only at points where calls to -beginEditing and
-endEditing are balanced.

Program received signal SIGABRT, Aborted.
[Switching to Thread -1222420800 (LWP 20612)]
0xb7ee8410 in ?? ()
(gdb) bt
#0  0xb7ee8410 in ?? ()
#1  0xbf89ee18 in ?? ()
#2  0x00000006 in ?? ()
#3  0x00005084 in ?? ()
#4  0xb7639060 in raise () from /lib/libc.so.6
#5  0xb763a801 in abort () from /lib/libc.so.6
#6  0xb78d0b66 in _terminate () at NSException.m:686
#7  0xb78d0d3b in _NSFoundationUncaughtExceptionHandler
    at NSException.m:710
#8  0xb78d14a2 in -[NSException raise] (self=0x8220ce0, _cmd=0xb7ed23e8)
    at NSException.m:841
#9  0xb7dd5842 in -[GSHorizontalTypesetter
(self=0xa108c30, _cmd=0xb7ed0a28, layoutManager=0xa10b190,
    textContainer=0xa10b330, glyphIndex=0, previousLineFragRect=
        {origin = {x = 0, y = 0}, size = {width = 0, height = 0}},
    nextGlyphIndex=0xbf89f18c, howMany=0) at GSHorizontalTypesetter.m:1258
#10 0xb7dce45b in -[GSLayoutManager(LayoutHelpers) _doLayout] (
    self=0xa10b190, _cmd=0xb7ed0a38) at GSLayoutManager.m:1596
#11 0xb7dce67a in -[GSLayoutManager(LayoutHelpers) _doLayoutToContainer:] (
---Type <return> to continue, or q <return> to quit---
    self=0xa10b190, _cmd=0xb7ed0a48, cindex=0) at GSLayoutManager.m:1660
#12 0xb7dd004c in -[GSLayoutManager(layout) usedRectForTextContainer:] (
    self=0xa10b190, _cmd=0xb7e945c0, container=0xa10b330)
    at GSLayoutManager.m:2200
#13 0xb7d2288d in cache_lookup_attributed_string (string=0x8127438,
    hasSize=0, size={width = 0, height = 0}, useScreenFonts=1)
    at NSStringDrawing.m:345
#14 0xb7d232b0 in -[NSAttributedString(NSStringDrawing) size] (
    self=0x8127438, _cmd=0xb7e34c20) at NSStringDrawing.m:500
#15 0xb7c33956 in -[NSCell cellSize] (self=0x81147c8, _cmd=0xb7e2a588)
    at NSCell.m:1796
#16 0xb7c197e5 in -[NSBox(Private) calcSizesAllowingNegative:] (
    self=0x81bf730, _cmd=0xb7e2a4b0, aFlag=0 '

reply via email to

[Prev in Thread] Current Thread [Next in Thread]