gnustep / libs-back

The GNUstep gui library is a library of graphical user interface classes written completely in the Objective-C language; the classes are based upon Apple's Cocoa framework (which came from the OpenStep specification). *** Larger patches require copyright assignment to FSF. please file bugs here. ***
http://www.gnustep.org
GNU General Public License v3.0
50 stars 34 forks source link

First GS app launched has bad Icon #30

Open rmottola opened 3 years ago

rmottola commented 3 years ago

The first GNUstep application launched in an X11 has a bad icon in the mini-window when using WindowMaker. It is recognizable since it is the Alphachannel, first filled with garbage then quickly after application start it becomes black, the Icon is seen as a black silouhette.

trunkmaster commented 3 years ago

I assume you mean "application icon" instead of "mini-window". It seems like bad applicationn icon handling by WindowMaker (libwraster). Could you please share how does cached icon for this application look like (~/GNUstep/Library/WindowMaker/CachedPixmaps)? I can revert my change but:

  1. Every application start should show described in PR #29 misbehavior.
  2. IMHO hacks is not good way to solve problems.

Additionally I've got fixed libwraster in NEXTSPACE source tree. Potentially we could discuss bundling this library with GNUstep.

trunkmaster commented 3 years ago

I've figured out what is the cause of that flickering. WindowMaker updates the application icon on every window mapping. Generally it's not quite correct but it's how WindowMaker acts. ART backend handles this event well, Cairo - does not. I think we need help from @fredkiefer.