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

Attachment: draw-me-now.diff
Description: draw-me-now.diff

_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to