summaryrefslogtreecommitdiff
path: root/panels/user-accounts/data/gnome-user-accounts-panel.desktop.in.in
diff options
context:
space:
mode:
authorMario Sanchez Prada <mario@endlessm.com>2018-05-03 19:08:10 +0100
committerMario Sanchez Prada <mario@endlessm.com>2018-05-03 19:08:10 +0100
commitdf8eccc2649098f0fc23310d9e1b33e9c3daad10 (patch)
tree133847b5e419e4a1545be2b50c885c2340fb008f /panels/user-accounts/data/gnome-user-accounts-panel.desktop.in.in
parentaf0186aaf99cb6add6b5a3c85828e8a4d6e49fd5 (diff)
downloadgnome-control-center-startup-notify.tar.gz
Don't declare StartupNotify=true in panel-specific desktop filesstartup-notify
As per the Startup Notification Spec, when an application declares this in its desktop file, it the launcher (e.g. the shell) will initiate the startup process, expecting the launchee to finish it with a "remove" X message once it's ready, unless there's a failure launching it. The problem here is that this panel-specific desktop files declaring that key confuses the shell, since it will make it initiate the startup process but then no "remove" message is ever received if g-c-c was already running, since the newly launched process will realize it's not the main instance and will exit gracefully after handing over control of the situation to the original process, with exit code 0, leaving the startup process unfinished. Due to this, the shell will keep waiting for a supposedly new application (as per the the panel-specific desktop file used to launch) to finish, which will result in the cursor to keep spinning after the app is discarded by the shell on a timeout. We should fix this in a more general way (see [2]), since apps exiting due to handing control over to a previous instance should still send the "remove" message, but in the meantime let's make our user's lives better by not declaring this key in any of the panel-specific desktop files. [1] https://www.freedesktop.org/wiki/Specifications/startup-notification-spec [2] https://bugzilla.gnome.org/show_bug.cgi?id=795779
Diffstat (limited to 'panels/user-accounts/data/gnome-user-accounts-panel.desktop.in.in')
-rw-r--r--panels/user-accounts/data/gnome-user-accounts-panel.desktop.in.in1
1 files changed, 0 insertions, 1 deletions
diff --git a/panels/user-accounts/data/gnome-user-accounts-panel.desktop.in.in b/panels/user-accounts/data/gnome-user-accounts-panel.desktop.in.in
index 219921ad5..e8dc26dbe 100644
--- a/panels/user-accounts/data/gnome-user-accounts-panel.desktop.in.in
+++ b/panels/user-accounts/data/gnome-user-accounts-panel.desktop.in.in
@@ -7,7 +7,6 @@ Icon=system-users
Terminal=false
Type=Application
NoDisplay=true
-StartupNotify=true
Categories=System;Settings;X-GNOME-Settings-Panel;X-GNOME-DetailsSettings;
OnlyShowIn=GNOME;Unity;
X-GNOME-Bugzilla-Bugzilla=GNOME