overview: Hide search results while leaving overview
There is currently no proper transition from search results to the session: Only the top bar fades, but the rest of the screen just changes abruptly at the end of the transition. Fix this by hiding search results before leaving the overview, so the regular transition can take place. Close https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3821 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3152>
This commit is contained in:
parent
9a528ca7bb
commit
3cb1fb7428
@ -720,6 +720,7 @@ class ControlsManager extends St.Widget {
|
||||
}
|
||||
|
||||
prepareToLeaveOverview() {
|
||||
this._searchController.prepareToLeaveOverview();
|
||||
this._workspacesDisplay.prepareToLeaveOverview();
|
||||
}
|
||||
|
||||
|
@ -117,6 +117,10 @@ export const SearchController = GObject.registerClass({
|
||||
this._setSearchActive(false);
|
||||
}
|
||||
|
||||
prepareToLeaveOverview() {
|
||||
this._setSearchActive(false);
|
||||
}
|
||||
|
||||
vfunc_unmap() {
|
||||
this.reset();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user