bug-gnustep
[Top][All Lists]
Advanced

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

[bug #26438] First application does not get a proper app icon under Wind


From: Wolfgang Lux
Subject: [bug #26438] First application does not get a proper app icon under Window Maker
Date: Sun, 03 May 2009 21:50:41 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US) AppleWebKit/525.18 (KHTML, like Gecko, Safari/525.20) OmniWeb/v622.6.0.109966

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

                 Summary: First application does not get a proper app icon
under Window Maker
                 Project: GNUstep
            Submitted by: wlux
            Submitted on: So 03 Mai 2009 21:50:39 GMT
                Category: Backend
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

The first application started in an X-Windows session using Window Maker as
window manager does not get a proper app icon and application menu. Instead,
the standard Window Maker application menu is shown when right clicking the
app icon as if the application was started with UseWindowMakerIcons = NO. If
the user default GSIgnoreRootOffsets is set to YES this happens for *every*
application.
Obviously, the problem is the code in XGServer's -_setupRootWindow method
that attempts to determine the dimensions of the window frame added by the
window manager. This code creates a few windows before the application creates
its app icon. Apparently, Window Maker creates a standard app icon with its
own menu when it becomes aware of the first of these windows and then ignores
the later request for a custom app icon from the application.
I'm not sure what a good fix for this problem is. Of course, we could always
special case Window Maker and just fix the window frame offsets for Window
Maker (hoping that they will never change :-). Maybe the backend could always
create an app icon window in advance before testing the window frame offsets
and then later use this window instead of creating a new one when the
application wants to create the real app icon window.




    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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