[Cuis-dev] [Integrated] Re: Fix for nil cursor

Juan Vuletich juan at jvuletich.org
Fri Sep 20 04:14:44 PDT 2019


On 9/18/2019 9:31 PM, Phil B via Cuis-dev wrote:
> 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 
> <mailto: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
>

Now @ GitHub. Thanks Phil.

Cheers,

-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
@JuanVuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20190920/9899c469/attachment.htm>


More information about the Cuis-dev mailing list