Bug 204260

Summary: Cannot delete more than one recipient by repeated clicking on the "delete" icon in the text box
Product: [Applications] kmail Reporter: Christoph Lange <langec>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UPSTREAM    
Severity: normal CC: kollix
Priority: NOR    
Version: 1.12.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Christoph Lange 2009-08-18 12:43:05 UTC
Version:           1.12.0 (using 4.3.00 (KDE 4.3.0), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.28-thinkpad-r2

I would like to delete multiple recipients from the header of a mail.  Each recipient is shown in its own text box, and each text box has a "delete" icon on its right side.  For deleting a single recipient, it works if I click that delete icon.  But then, the line just deleted disappears, the next recipient moved up to the cursor position, and that text box gets the input focus.  Apparently deletion does not work when a text box is focused, so I cannot delete the next recipient by repeatedly clicking the mouse at the same position.

Workaround: just pick any other recipient I want to delete, i.e. move the mouse around in random order.
Comment 1 Martin Koller 2009-08-19 21:08:14 UTC
I can reproduce. It does not have to do with the textbox having focus, it has to do with the mouse position.
Obviously when the mouse is above a clearButton when the line is deleted, the other line over which the mouse is now does not react until you move the mouse out of the clearButton rectangle and come back to it.

I checked it and found this to be a Qt4.5.2 bug (underMouse() delivering wrong value in that case). I will report to Nokia.