[patch] broken keyboard handling in forms (#66296)(grave)

Germain Garand germain at ebooksfrance.org
Sun Jan 18 09:50:23 GMT 2004


Hi,
it seems the caret code maintains its internal state up-to-date, even when 
caret mode is off.
So far, so good, but whenever it recalculates itself and eventually chooses a 
caret node, it calls ensureNodeHasFocus(the_node).

This method is a noop when caret mode is on, 
but crudely *sets back the focusNode* to match its findings otherwise!

This is quite intrusive and delusive, especially when its findings can be 
wrong, as is the case for widgets.
Why it needs to force such an important property, on which it is not supposed 
to have a say - and that only when it is actually _disabled_, is beyond my 
understanding...

Germain
-------------- next part --------------
A non-text attachment was scrubbed...
Name: khtmlview.cpp.diff
Type: text/x-diff
Size: 1430 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20040118/cc5edad6/attachment.diff>


More information about the kfm-devel mailing list