gnustep-dev
[Top][All Lists]
Advanced

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

Re: Other cursor issue


From: Fred Kiefer
Subject: Re: Other cursor issue
Date: Sun, 15 Sep 2013 23:48:26 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8

On 14.09.2013 08:14, Germán Arias wrote:
> On 2013-09-03 02:00:22 -0600 Fred Kiefer <address@hidden> wrote:
>>
>> Thank you this great example for the problem. I think this is related to
>> the colour panel issue you already demonstrated. In both cases the
>> cursor gets set too often when switching windows.
>> At the moment I am to ill to look into this or rather my head is to
>> dizzy to think hard enough to solve this. Maybe on the next weekend?
>>
> 
> OK, today I did more tests and I found some interesting information and
> one solution for this problem. First apply the attached patch, this only
> add some NSLog messages at NSWindow. Then run the test app with
> --GNU-Debug=NSCursor. As you can see, sometimes when NSWindow
> print the message "Mouse exited", NSCursor don't print the
> corresponding message "mouseExited:". This is because there isn't a
> cursor associated with that tracking rectangle. Even when, obviously,
> there one cursor (the I-beam).
> 
> But obviously we should pop the current cursor. So one solution is write:
> 
> [[NSCursor currentCursor] mouseExited: theEvent];
> 
> when mouse exited (NSWindow line 4065). But I don't know if this can
> cause problems.
> 
> Germán.
> 
> <change.patch>
> 

Thank you for this very interesting observation. I will need to check
this myself, sorry for taking so long to do so.

Fred




reply via email to

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