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
2 changes: 1 addition & 1 deletion qml/windowed/FreeSortListView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Item {
let wasFollowing = listView.highlightFollowsCurrentItem
listView.highlightFollowsCurrentItem = false
listView.currentIndex = 0
listView.contentY = 0
listView.positionViewAtBeginning()
listView.highlightFollowsCurrentItem = wasFollowing
}

Expand Down
6 changes: 6 additions & 0 deletions qml/windowed/WindowedFrame.qml
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,12 @@ InputEventItem {
}
}

Component.onCompleted: {
// Since LauncherController onVisibleChanged only reset state on visible === false,
// we also need to do it to ensure initial state also get its listview's state reset
appList.resetViewState()
}

Connections {
target: LauncherController
function onVisibleChanged() {
Expand Down