[Patch] Fix keyboard navigation (tabbing out of a textarea)

bj at altern.org bj at altern.org
Tue Jul 13 01:36:00 BST 2004


On Monday 12 July 2004 16.31, Tobias Anton wrote:
> Great! Can we extend this to wheel events, too? (They get swallowed by the
> text area even if it is already at the top/bottom of the editable area.)

Well, wheel events are only swallowed if the textarea is focused. I don't see 
the point of having to use a context menu when you just need to focus in /out 
to have the wheel action react in textarea/global view. Maybe I missed 
something...

> BTW, Shift+Tab should move the focus back to the previous focusable element
> regardless of this setting.
Yes, my patch doesn't affect the Shift+Tab combination that always worked.

> And this code:
>
> +	    QApplication::sendEvent( parent(), ke );
> +	    return true;
>
> would better be written like this:
>
> +         return QWidget::event(ke);

I guess you mean :
+	    return QApplication::sendEvent( parent(), ke );

jean-baptiste




More information about the kfm-devel mailing list