Go to file
Jonas Dreßler 84250bbf88 altTab: Don't return from _init() if there are no windows/apps
If a new SwitcherPopup is created and there are no windows or apps to
switch through found, instead of returning from _init(), still
initialize the SwitcherPopup and let the check in SwitcherPopup.show()
return false to terminate the popup.

In both cases, with or without the return statements,
WindowManager._startSwitcher() will call SwicherPopup.destroy(), which
will try to disconnect signal handlers, destroy actors etc. Now if the
constructor can't finish creating the popup, some of the functions
called from _onDestroy() will fail and throw errors.

One of those cases is when window-switcher is limited to the current
workspace, and a WindowCyclerPopup is initiated on an empty workspace.
Because this._highlight hasn't been created, _onDestroy() will fail when
trying to destroy the actor of this._highlight.

Also, the actor of this._switcherList will not get destroyed in case
show() returns because this._items is empty. For example, this will
happen when a new AppSwitcherPopup is initialized with at least 1
running app, but 0 windows on the active workspace.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/168
2020-01-17 14:34:34 +00:00
.gitlab/issue_templates gitlab: Add issue templates 2020-01-07 22:42:46 +00:00
.gitlab-ci lint: Convert eslint JSON to YAML 2019-11-11 23:51:17 +00:00
.settings Clean out some eclipse artefacts 2019-02-13 04:39:26 +01:00
data theme: Don't apply the search entry style to the login entry 2020-01-17 12:21:44 +00:00
docs/reference docs: Fix interface prefix for D-Bus docs 2019-07-25 15:56:20 +02:00
js altTab: Don't return from _init() if there are no windows/apps 2020-01-17 14:34:34 +00:00
lint lint: Disable eqeqeq in legacy configuration 2019-11-11 23:51:17 +00:00
man man: Update project website 2018-01-07 21:39:18 +01:00
meson build: Use python postinstall script 2020-01-07 12:41:57 +01:00
po Update Slovak translation 2020-01-17 13:55:15 +00:00
src st/icon: Check icon name for empty string in setter function 2020-01-13 14:44:08 +01:00
subprojects extension-tool: Don't treat missing .js handler as error 2019-12-20 14:11:03 +00:00
test Add convert_xml test 2019-03-04 20:55:15 +00:00
tests Use paint and pick context to get framebuffer 2019-12-03 19:07:15 +00:00
tools build: Remove Canberra dependency 2019-01-09 23:09:18 +00:00
.eslintrc.yml lint: Convert eslint JSON to YAML 2019-11-11 23:51:17 +00:00
.gitignore theme: use the fontsize function consistently 2020-01-09 16:43:26 +01:00
.gitlab-ci.yml ci: Run tests through dbus-run-session 2019-10-30 19:43:53 +01:00
.gitmodules submodules: Replace non-functional git.gnome.org URL by GNOME Gitlab URL 2018-09-25 08:41:30 +02:00
cldr2json.py Fix override for fr-CA 2019-03-04 20:55:15 +00:00
config.h.meson Add check_cloexec_fds debug command 2018-07-30 23:11:41 +00:00
COPYING Changed obsolete FSF postal address. 2014-01-08 04:35:14 +07:00
gnome-shell.doap doap: Add Georges Stavracas as a maintainer 2019-12-18 15:24:38 -03:00
HACKING.md docs: Conform to coding style in HACKING guide 2020-01-06 19:53:21 +01:00
meson_options.txt extensions-tool: Start import 2019-08-21 18:28:02 +02:00
meson.build build: Use python postinstall script 2020-01-07 12:41:57 +01:00
NEWS Bump version to 3.35.3 2020-01-05 12:22:35 +01:00
README.md README.md: Add contribution section 2019-02-13 20:37:39 +01:00
README.mdwn Add basic documentation 2019-03-04 20:55:15 +00:00

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.

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.