Created attachment 106179 [details] Screenshot of the problem To reproduce: 1. Alt+Q 2. Type anything Expected: The lock button is available, next to the clear button, in the exact same position it was before there was text. Results: The lock button is replaced by a bigger clear button. See attached screenshot.
I did not pay attention if this happened before the OpenSUSE Tumbleweed upgrade to Qt 5.9. But this didn't use to happen a couple of months ago, so it's either a 5.5.x problem, an Akonadi/KDEPIM 17.04 problem, or Qt 5.9 one.
KLineEdit, for whatever reason, still has its own clearButton.
*** Bug 381747 has been marked as a duplicate of this bug. ***
*** Bug 382326 has been marked as a duplicate of this bug. ***
Git commit 17de924ad746f75ebd47c85dc7ddcc5d19de8827 by Montel Laurent. Committed on 02/08/2017 at 11:26. Pushed by mlaurent into branch 'Applications/17.08'. Fix Bug 381424 - When there's text in the search, the lock button is not accessible FIXED-IN: 5.6.0 Convert it to QLineEdit as it's a bug in klineedit + new qt I don't know where is the bug and I don't have time to investigate it. And this lineedit doesn't need to have klineedit feature M +33 -0 messagelist/autotests/searchlinestatustest.cpp M +2 -0 messagelist/autotests/searchlinestatustest.h M +3 -4 messagelist/src/core/widgetbase.cpp M +2 -2 messagelist/src/core/widgetbase.h M +8 -3 messagelist/src/core/widgets/quicksearchline.cpp M +1 -0 messagelist/src/core/widgets/quicksearchline.h M +44 -2 messagelist/src/core/widgets/searchlinestatus.cpp M +12 -2 messagelist/src/core/widgets/searchlinestatus.h https://commits.kde.org/messagelib/17de924ad746f75ebd47c85dc7ddcc5d19de8827