[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Improving application startup visual appeareance
From: |
Michael Hanni |
Subject: |
Improving application startup visual appeareance |
Date: |
Mon, 17 Mar 2003 22:55:39 -0800 (PST) |
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...
Of course, this is not a patch to apply but rather as a conversation starter.
Could the display loop start firing earlier? I'm not sure how this works.
Thoughts?
Michael
draw-me-now.diff
Description: draw-me-now.diff
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Improving application startup visual appeareance,
Michael Hanni <=