bug-gnustep
[Top][All Lists]
Advanced

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

[bug #25105] recursive notifications on text field exit when changing th


From: Richard Frith-Macdonald
Subject: [bug #25105] recursive notifications on text field exit when changing theme
Date: Tue, 16 Dec 2008 17:35:43 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_5; en-us) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1

URL:
  <http://savannah.gnu.org/bugs/?25105>

                 Summary: recursive notifications on text field exit when
changing theme
                 Project: GNUstep
            Submitted by: CaS
            Submitted on: Tue 16 Dec 2008 05:35:41 PM GMT
                Category: Gui/AppKit
                Severity: 2 - Minor
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

I'm not even completely sure this is a bug, but it's a change in behavior 
which caused Thematic to hang (eventual crash when machine ran out of
memory).

The way it happens is this ... when Thematic changes anything, it gets the
theme to update by sending an -activate message to it.

Now, when changing the author and other descriptive information, what happens
is that ending editing causes a notification which thematic catches and uses
to update with the edited text, then calls -activate.  However, the activation
of the theme is somehow causing the textfied to send another end editing
notification ... so re have recursion and a crash.

The only reason I've marked this as minor rather than critical was because it
was possible to check in the Thematic code to see if the text in the textfield
has actually changed, and refrain from activating the theme if it hasn't.

To reproduce this problem ... get Thematic from svn  from 15th December 2008
and build it.  Go in and start a new theme.  Click on the gnustep icon to edit
theme author etc.  Type something in to the authors field then click on the
details field to end editing the authors field ... your system will then grind
to a halt as the recursing program uses all your cpu.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?25105>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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