[Digikam-devel] [digikam] [Bug 326718] Clear text button on file rename does nothing

Teemu Rytilahti tpr at iki.fi
Sun Oct 26 23:41:21 GMT 2014


https://bugs.kde.org/show_bug.cgi?id=326718

Teemu Rytilahti <tpr at iki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marcel.wiesweg at gmx.de,
                   |                            |tpr at iki.fi

--- Comment #1 from Teemu Rytilahti <tpr at iki.fi> ---
Hello there,

Just took a quick peek at the code.
The widget used is ProxyLineEdit defined in
libs/widgets/common/comboboxutilities.cpp
This widget overrides the input events of KLineEdit for some reason, found just
this comment there:
/**
 * We just re-implement all relevant QWidget event handlers and call
 * the QWidget implementation, not the KLineEdit one.
 */

As one can see from here, the signal is being emited in KLineEdit
implementation, and is not therefore ever emited in this case:
http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/klineedit_8cpp_source.html#l01144

Marcel probably has insight why it was done so, added to CC.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list