History combo bug

David Faure faure at kde.org
Mon Sep 24 20:23:46 BST 2007


On Saturday 22 September 2007, Jakub Stachowski wrote:
> 2) with completion box hidden
> - event is delivered to khistorycombobox
> - there are no event filters there, so keyPressed is called
> - qcombobox keyPress directly calls lineedit->event() (instead of using 
> sendEvent). This means that event filters registered for lineedit are not 
> called, and klineedit does not handle return.
> 
> How can it be fixed?
OK, KLineEdit changed to handle events in its event() method rather than in an event filter on itself,
as discussed on irc.
Unit test passes, please report any regressions.
Thanks for the investigation!

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kde-core-devel mailing list