<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Segoe'; font-size:10pt; font-weight:400; font-style:normal;">Am Wednesday 25 March 2009 schrieb Aaron J. Seigo:<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>> lose a hover out event which happens way too often with Qt (my fave way to<br>
> reproduce is to go into an item, open a context menu, then fellow the<br>
> context menu out of the item, then dismiss the context menu with the<br>
> keyboard; this often exposes these kinds of bugs).<br>
afaik that's a problem with UI elements that grab the mouse (popups, dnd, pushed buttons...)<br>
the hover state isn't properly updated (by X?)<br>
the only way i know to handle this, is to implement an extra eventhandler which polls the mouse pos. every few ms... :-(<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>> one issue that may be a bit concerning with this and line edits is that<br>
> they are often very wiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiide. and the<br>
> user is like to mouse over the part with the text. and the clear button<br>
> will be waaaay the other side. hitting the clear button in such a situation<br>
> can be a little frustrating as you point, move, click.<br>
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 anyway)<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p></body></html>