[PATCH] Permanent clear button for KLineEdit
thomas.luebking at web.de
Wed Mar 25 19:22:19 GMT 2009
Am Wednesday 25 March 2009 schrieb Aaron J. Seigo:
> lose a hover out event which happens way too often with Qt (my fave way to
> reproduce is to go into an item, open a context menu, then fellow the
> context menu out of the item, then dismiss the context menu with the
> keyboard; this often exposes these kinds of bugs).
afaik that's a problem with UI elements that grab the mouse (popups, dnd,
the hover state isn't properly updated (by X?)
the only way i know to handle this, is to implement an extra eventhandler
which polls the mouse pos. every few ms... :-(
> one issue that may be a bit concerning with this and line edits is that
> they are often very wiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiide. and the
> user is like to mouse over the part with the text. and the clear button
> will be waaaay the other side. hitting the clear button in such a situation
> can be a little frustrating as you point, move, click.
i assume this is mostly a learning problem. after a few trials, you'll
instinctively move the mouse to the right end when you just want to clear the
line (and in addition, the button could be kept visible for focussed lines
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the kde-core-devel