[Cuis-dev] Fix for nil cursor
Phil B
pbpublist at gmail.com
Wed Sep 18 17:31:37 PDT 2019
After taking another look at the changeset, I think Juan gets the blame for
that one ;-) My original changeset deleted all open SystemWindow instances
to try to prevent problems but the revised changeset only closes two types
of SystemWindow. That said, it does reveal a weakness in the current
behavior since nil is a real possibility.
How about we do the attached instead to try to eliminate all cases of nil
being returned? (as long as you don't mess with the default cursor... we
can only do so much) If one wants to deal with the nil case in another
way, they can send #cursorAt:ifAbsent: from their code instead.
On Wed, Sep 18, 2019 at 5:07 PM <ken.dickey at whidbey.com> wrote:
> On 2019-09-18 13:40, Phil B wrote:
>
> > I'm curious: how were you running into that issue?
>
> World Menu->Changes->Install New Updates
>
> I think the mouse just happened to be on a Window edge.
>
> Probably a rare event.
>
> Consider me a random event generator. ;^)
>
> -KenD
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20190918/fff1b1bb/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3879-Cursor-missing-use-default-PhilBellalouna-2019Sep18-20h14m-pb.1.cs.st
Type: application/octet-stream
Size: 630 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20190918/fff1b1bb/attachment.obj>
More information about the Cuis-dev
mailing list