NSWindow's -discardEventsMatchingMask:beforeEvent: causes log message
NSWindow's -discardEventsMatchingMask:beforeEvent: causes log message
- Subject: NSWindow's -discardEventsMatchingMask:beforeEvent: causes log message
- From: Izidor Jerebic <email@hidden>
- Date: Fri, 7 Dec 2001 17:51:38 +0100
Hello!
The problem is that the following line of code produces an error message
in system log using NSLog every time it is executed ('e' is NSEvent, 'view'
is a subclass of NSView):
[[view window] discardEventsMatchingMask:NSPeriodicMask beforeEvent:e] ;
The log message is:
2001-12-07 17:37:08.478 MyApp[281] _DPSDiscardEvents: ignoring eventTime
endpoint
When I put the breakpoint on NSLog, the backtrace shows this:
(gdb) bt
#0 0x7084b380 in NSLog ()
#1 0x70c726f8 in +[NSEvent _discardEventsWithMask:eventTime:] ()
#2 0x70da08f0 in -[NSWindow discardEventsMatchingMask:beforeEvent:] ()
... the rest are application methods
Now, besides being a potential performance problem, this may also be a
serious problem - maybe I should avoid this method. But documentation says
nothing about it...
Is anybody experiencing the same behaviour?
Is there a workaround? Anybody cares to illuminate the situation?
TIA,
izidor