f9f936e71a
Changing the workspace of a window causes the window tracker to remove and add it to the app again. If this happens from within _shell_app_add_window() before the window has been added to the windows list, this will cause the check that is supposed to prevent adding the same window multiple times to fail and the window to be added twice. The app will then be considered still running after the last window has been closed. Then when clicking on the corresponding app icon, the shell would attempt to switch to a NULL workspace for the closed window instead of starting a new instance, resulting in a crash. Changing the workspace also needs to happen after increasing the interesting window count, because otherwise removal of the window by the window tracker would trigger a uint underflow leading the app to be considered running with UINT_MAX interesting windows, despite having no windows, leading to crashes right after launching the app. Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3833 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1745> |
||
---|---|---|
.gitlab/issue_templates | ||
.gitlab-ci | ||
.settings | ||
data | ||
docs/reference | ||
js | ||
lint | ||
man | ||
meson | ||
po | ||
src | ||
subprojects | ||
tests | ||
tools | ||
.eslintrc.yml | ||
.gitignore | ||
.gitlab-ci.yml | ||
.gitmodules | ||
config.h.meson | ||
COPYING | ||
gnome-shell.doap | ||
HACKING.md | ||
meson_options.txt | ||
meson.build | ||
NEWS | ||
README.md |
GNOME Shell
GNOME Shell provides core user interface functions for the GNOME 3 desktop, like switching to windows and launching applications. GNOME Shell takes advantage of the capabilities of modern graphics hardware and introduces innovative user interface concepts to provide a visually attractive and easy to use experience.
For more information about GNOME Shell, including instructions on how to build GNOME Shell from source and how to get involved with the project, see the project wiki.
Bugs should be reported to the GNOME bug tracking system. Please refer to the Schedule wiki page to see the supported versions.
Contributing
To contribute, open merge requests at https://gitlab.gnome.org/GNOME/gnome-shell.
Commit messages should follow the GNOME commit message guidelines. We require an URL to either an issue or a merge request in each commit.
License
GNOME Shell is distributed under the terms of the GNU General Public License, version 2 or later. See the COPYING file for details.