bug-gnustep
[Top][All Lists]
Advanced

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

[bug #28415] crash with reoping an image with PRICE


From: Fred Kiefer
Subject: [bug #28415] crash with reoping an image with PRICE
Date: Tue, 29 Dec 2009 13:06:24 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.6) Gecko/20091201 SUSE/3.5.6-1.1.1 Firefox/3.5.6

Update of bug #28415 (project gnustep):

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

    _______________________________________________________

Follow-up Comment #1:

This problem is caused by multiple bugs in the source code of
PRWindowController. The method windowDidLoad registers for NSNotifications on
NSWindowDidResizeNotification. As the object to watch for the instance
variable window is used. This seems only to be set for NIB loading and it
shouldn't exist at all. This results in the window controller responding to
all window resize events, also the window controller is retained by the
notification center and wont go away when the window is released. That way
when a new window is loaded the notification center calls the _windowDidResize
method of the window controller and this will crash, as the view is long
gone.
The controller should register for the correct window and remove this
connection again, when the window is removed.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/





reply via email to

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