bug-gnustep
[Top][All Lists]
Advanced

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

Re: [ 102031 ] mproving application startup visual appe


From: Serg Stoyan
Subject: Re: [ 102031 ] mproving application startup visual appe
Date: Wed, 9 Apr 2003 10:27:09 +0300

Hello,

> Support Request #102031, was updated on Sun 04/06/2003 at 21:02
> You can respond by visiting: 
> http://savannah.gnu.org/support/?func=detailsupport&support_id=102031&group_id=99
> 
> Category: AppKit
> Status: Open
> Priority: 5
> Summary: mproving application startup visual appe
> 
> By: fedor
> Date: Sun 04/06/2003 at 21:02
> Logged In: YES 
> user_id=328
> Browser: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.1) Gecko/20020905
> 
> Subject: Improving application startup visual appeareance
> Date: Mon, 17 Mar 2003 22:55:39 -0800 (PST)
> From: Michael Hanni <michael@deviant-behavior.com>
> To: bug-gnustep@gnu.org
> 
> Hi,
> 
> On a slow machine -- like mine -- an application like
> GWorkspace takes quite
> some time to load. During the loading process I get an
> empty white menu window
> and app icon window which are not "drawn" until the
> main loop kicks in. I've
> attached a small patch which adds a [NSView
> displayIfNeeded] call right after
> the orderFrontRegardless call for both the menus and
> app icon windows.
> (Afterwards because if I do it before the drawRect has
> no effect. I didn't
> trace the reasons for this out.) This has the effect of
> making both appear
> visually immediately. I really think this effect is
> quite nice...

  I've just commited change to NSWindow.m which have to improve 
  overall window drawing. The idea is to draw window's content view
  before backend window starts drawing on screen. After this change I
  noticed that almost all windows(including menu, appicon) draws without
  turning white (or black for back-art) first. Although, some panels
  (Save Panel, Open Panel), have NSBrowser and button while other content
  draws with delay and old behaviour. Maybe panels should be checked?

-- 
Serg Stoyan




reply via email to

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