[Lazarus] focus problem with autocomplete list

Martin lazarus at mfriebe.de
Mon Jul 12 21:44:43 CEST 2010


On 12/07/2010 20:21, Bernd wrote:
> 2010/7/12 Martin<lazarus at mfriebe.de>:
>
>    
>> There currently is no solution to it, so updating will not solve it either.
>>
>> I am not sure how easy this can be solved at all.
>>      
> Ok, I invested some time now to see what I can do and I think the
> symptoms can be solved by tweaking my settings of the window manager a
> bit:
>
> I don't know why I did not immediately see (and try) this but at least
> with kwin (which is the KDE window manager) there are a few different
> modes for the focus switching behavior, one is the focus will *always*
> be swiched to whatever window currently *is* below the cursor and the
> other one is it will switch focus only on the *event* of moving the
> mouse and *entering* a different window.
>    

The 2nd one, is what I would have expected.

The first one will conflict with any app, that moves the focus itself, 
or any attempt to move focus by keyboard. Since focus would always 
return immediately to where the mouse is.

It would make kind of sense, if focus would return to the window under 
the mouse, if and only if the mouse moves (even if it doesn't 
leave/re-enter the window).

BTW, out of interest: does (in the 1st mode) the focus also lock down to 
the window under mouse, if the mouse cursor is hidden/invisible? Lazarus 
has an option, to hide the mouse if you type.

Martin





More information about the Lazarus mailing list