bug-gnustep
[Top][All Lists]
Advanced

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

[bug #25793] [NSImage imageNamed: @"GNUstep"] broken


From: Fred Kiefer
Subject: [bug #25793] [NSImage imageNamed: @"GNUstep"] broken
Date: Sun, 08 Mar 2009 21:16:41 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.10 (like Gecko) SUSE

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

                 Summary: [NSImage imageNamed: @"GNUstep"] broken
                 Project: GNUstep
            Submitted by: FredKiefer
            Submitted on: So 08 Mär 2009 21:16:38 GMT
                Category: Gui/AppKit
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

I was using the old test application gui_test3 to track down my cairo drawing
problem on SuSE 11.1 and noticed that nothing gets drawn, not just in cairo,
but for all backends. After some bug hunting I understood that the proxy
returned by [NSImage imageNamed: @"GNUstep"] was pointing to a nil image.

The next step was to add an NSLog statement at the end of NSImage setName:
and this statement 
NSLog(@"name %@ self %@ proxy %@", aName, self, proxy);
resulted in this output 
2009-03-08 22:16:26.776 image_draw[15391] name GNUstep self <NSImage:
0x825e498> proxy <NSImage: 0x825e498>
2009-03-08 22:16:26.779 image_draw[15391] name NSApplicationIcon self
<NSImage: 0x825e498> proxy <NSImage: 0x825e498>

Looks like the same image gets two different names assigned. Now this used to
work and it most likely got broken by the proxy introduced for the theme
handling. As that proxy is only needed for switching themes in the middle of
running an application, I would like to suggest to take back that feature
until we have it fully working. A correctly working imageNamed method seems
much more important to me.






    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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