Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion qml/FullscreenFrame.qml
Original file line number Diff line number Diff line change
Expand Up @@ -883,8 +883,12 @@ InputEventItem {
Connections {
target: LauncherController
function onVisibleChanged() {
if (LauncherController.visible) {
searchEdit.forceActiveFocus()
return
}

// only do these clean-up steps on launcher get hide
if (LauncherController.visible) return
// clear searchEdit text
searchEdit.text = ""
if (listviewPage.currentItem) {
Expand Down
7 changes: 5 additions & 2 deletions qml/windowed/WindowedFrame.qml
Original file line number Diff line number Diff line change
Expand Up @@ -303,9 +303,12 @@ InputEventItem {
Connections {
target: LauncherController
function onVisibleChanged() {
// only do these clean-up steps on launcher get hide
if (LauncherController.visible) return
if (LauncherController.visible) {
bottomBar.searchEdit.forceActiveFocus()
return
}

// only do these clean-up steps on launcher get hide
// clear searchEdit text
bottomBar.searchEdit.text = ""
// reset(remove) keyboard focus
Expand Down
Loading