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

--- Comment #2 from ratijas <m...@ratijas.tk> ---
I believe this is due to an incorrect usage of a TextField API in QML/QtQuick:

>     onTextChanged: {
>         effect.searchText = text;
>         heap.resetSelected();
>         heap.selectNextItem(WindowHeap.Direction.Down);
>     }
>     Binding {
>         target: searchField
>         property: "text"
>         value: effect.searchText
>     }

My gut feeling tells my this Binding should've never existed. and onTextEdited
should've been used in the first place.

There's also the Window View effect, which is like Overview but should be
merged with it. And there's a similar SearchField, but with a comment:

>             // Binding loops will be avoided from the fact that setting the 
> text to the same won't emit textChanged

which supports my theory that developers simply didn't know the trick.

Also, the root cause here is this function:

>    function start() {
>        animationEnabled = true;
>        organized = true;
>        searchField.text = "";
>    }

Clearly, it resets search text too late.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to