Skip to content

Fix retainPriorSearch behaviour on wayland

David Edmundson requested to merge work/krunner_wayland into master

A selection on a textfield clears when focus changes.

Debug shows that on wayland, we set ourselves to invisible, select the text then afterwards we get a focusOutEvent. Arguably weird, but not entirely wrong.

By selecting on show after the forceActiveFocus we avoid that condition.

Merge request reports