bug-gnustep
[Top][All Lists]
Advanced

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

NSMenuView and mouse tracking. Test needed


From: Serg Stoyan
Subject: NSMenuView and mouse tracking. Test needed
Date: Thu, 17 Apr 2003 12:24:08 +0300

Hi,

Could anybody test the attached patch? As you can see, this patch is
changing time interval between periodic events on mouse click. As a result,
dragging mouse process through the menu is more "responsive", popups
scrolling takes less time (Matt Rice posted EvilPopUp example in "scrolling
extremely large popups.." mail; before patch it's scrolling 25 seconds,
after - 7 seconds for me) and so on. But, improving menu's response, this
patch also increases number of generated periodic events, I guess. So, it
works fine for me (visible speed and response improvements) on my
Pentium III 800. What about for example Pentium 200?

There is another approach in improving speed and response - stop using
periodic events. I've tried to change NSMenuView's trackWithEvent: to act
that way, but menu appearing (sliding if it's partly off screen) stop
working properly.

-- 
Serg Stoyan

Attachment: NSMenuView.m.diff
Description: Text document


reply via email to

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