[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSCursor mismatched push and pop
From: |
Germán Arias |
Subject: |
Re: NSCursor mismatched push and pop |
Date: |
Tue, 08 Oct 2013 00:54:04 -0600 |
El mar, 08-10-2013 a las 00:36 -0600, Germán Arias escribió:
> El lun, 07-10-2013 a las 16:06 -0600, Germán Arias escribió:
> > mouseMoved, has a the delta:
> >
> > deltaX = 430.000000, deltaY = 82.000000
> >
> > This assumes the cursor is entering, and set the I-beam again.
> >
>
> I added some NSLog messages to see what is happening here. Are these:
>
> _lastPoint after resert cursor rects {x = 454; y = 62}
> _lastPoint used in _checkCursorRectangles {x = 33; y = 468}
> _lastPoint in MouseMoved {x = 453; y = 62}
>
> First message is the value of _lastPoint after call the method
> -resetCursorRectangles after close the "open" panel. Second message show
> the value of _lastPoint used at _checkCursorRectangles:, when mouse
> moves. And the last message is the value that MouseMoved set to
> _lastPoint after check all rectangles.
>
> The coordinates {x = 33; y = 468}, are where I clicked over the toolbar
> item. How is this possible? There isn't any piece of code that restores
> a previous value of mouse location to _lastPoint. So, what is happening
> here?
>
> Germán.
>
I found the problem. The NSToolBarItem send a NSLeftMouseDown event. But
this is processed after close the "Open" panel, and after the window has
reset its cursor rectangles.
Germán.
- Re: NSCursor mismatched push and pop, (continued)
- Re: NSCursor mismatched push and pop, David Chisnall, 2013/10/05
- Re: NSCursor mismatched push and pop, Germán Arias, 2013/10/06
- Re: NSCursor mismatched push and pop, David Chisnall, 2013/10/06
- Re: NSCursor mismatched push and pop, Germán Arias, 2013/10/06
- Re: NSCursor mismatched push and pop, David Chisnall, 2013/10/06
- Re: NSCursor mismatched push and pop, Fred Kiefer, 2013/10/06
- Re: NSCursor mismatched push and pop, David Chisnall, 2013/10/06
- Re: NSCursor mismatched push and pop, Germán Arias, 2013/10/07
- Re: NSCursor mismatched push and pop, Germán Arias, 2013/10/08
- Re: NSCursor mismatched push and pop, Germán Arias, 2013/10/08
- Re: NSCursor mismatched push and pop,
Germán Arias <=