diff --git a/linphone-desktop/ui/modules/Common/Form/+linux/SearchBox.qml b/linphone-desktop/ui/modules/Common/Form/+linux/SearchBox.qml index 2d0d3654f..9398f5a96 100644 --- a/linphone-desktop/ui/modules/Common/Form/+linux/SearchBox.qml +++ b/linphone-desktop/ui/modules/Common/Form/+linux/SearchBox.qml @@ -75,7 +75,7 @@ Item { } onActiveFocusChanged: { - if (activeFocus) { + if (activeFocus && !_isOpen) { searchBox.menuRequested() searchBox.showMenu() } diff --git a/linphone-desktop/ui/modules/Common/Form/SearchBox.qml b/linphone-desktop/ui/modules/Common/Form/SearchBox.qml index 2e197ae9b..401218c34 100644 --- a/linphone-desktop/ui/modules/Common/Form/SearchBox.qml +++ b/linphone-desktop/ui/modules/Common/Form/SearchBox.qml @@ -88,7 +88,7 @@ Item { } onActiveFocusChanged: { - if (activeFocus) { + if (activeFocus && !_isOpen) { searchBox.menuRequested() searchBox.showMenu() }