[Cuis-dev] [DEFECT] Ctrl-W does not work in some situations

Juan Vuletich juan at jvuletich.org
Mon Nov 29 10:03:03 PST 2021

On 11/29/2021 10:44 AM, Gerald Klix via Cuis-dev wrote:
> Hi all, Hi Juan,
> There is a defect in handling of Ctrl-W, which should
> close the current window.
> Ctrl-W is only handled when there is a morph that
> is the keyboard focus. Morphs that do not handle
> keyboard events, like PluggableButtonMorphs,
> set the keyboard focus to nil.
> With focusFollowsMouse enabled, Ctrl-W
> ceases to work if the mouse hovers over a
> button. Needless to say that Ctrl-W does not
> work for Transcripts; their submorphs do not
> handle keyboard events.
> Please find enclosed a change set, that highlights
> the title bar of the system window with the keyboard
> focus, actually the system window that has a submorph
> that is they keyboard focus.
> Once filed in, the change-set shows the problem nicely.
> The change-set might also be integrated into Cuis' core,
> but I am not quite satisfied with the drawing of highlighted
> title-bars, at least when the theme demands rounded corners.
> Best Regards,
> Gerald

Thanks Gerald. Yes, it whows the problem. I'll take a look later today 
or tomorrow.


Juan Vuletich

More information about the Cuis-dev mailing list