Your message dated Mon, 30 Apr 2018 18:35:51 +0000
with message-id <[email protected]>
and subject line Bug#684300: fixed in policykit-1-gnome 0.105-7
has caused the Debian Bug report #684300,
regarding policykit-1-gnome: Authentication dialog window loses focus easily
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
684300: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684300
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: policykit-1-gnome
Version: 0.105-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu quantal ubuntu-patch
*** /tmp/tmpxkPNXr/bug_body
In Ubuntu, the attached patch was applied to achieve the following:
* debian/patches/08-fresh-x11-timestamps.patch: use fresh X11 timestamps
when displaying authentication dialog to circumvent focus-stealing
prevention. (LP: #946171)
This happens frequently when using metacity. See the following downstream
bug:
https://bugs.launchpad.net/ubuntu/+source/policykit-gnome/+bug/946171
and the Gnome bug:
https://bugzilla.gnome.org/show_bug.cgi?id=676076
Thanks for considering the patch.
-- System Information:
Debian Release: wheezy/sid
APT prefers precise-updates
APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500,
'precise-proposed'), (500, 'precise')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-29-generic (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru policykit-1-gnome-0.105/debian/changelog policykit-1-gnome-0.105/debian/changelog
diff -Nru policykit-1-gnome-0.105/debian/patches/08-fresh-x11-timestamps.patch policykit-1-gnome-0.105/debian/patches/08-fresh-x11-timestamps.patch
--- policykit-1-gnome-0.105/debian/patches/08-fresh-x11-timestamps.patch 1969-12-31 19:00:00.000000000 -0500
+++ policykit-1-gnome-0.105/debian/patches/08-fresh-x11-timestamps.patch 2012-08-08 09:56:17.000000000 -0400
@@ -0,0 +1,28 @@
+Description: use fresh X11 timestamps when displaying authentication dialog
+ to circumvent focus-stealing prevention.
+Author: Jeffrey Knockel <[email protected]>
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/policykit-gnome/+bug/946171
+Bug: https://bugzilla.gnome.org/show_bug.cgi?id=676076
+
+Index: policykit-1-gnome-0.105/src/polkitgnomeauthenticator.c
+===================================================================
+--- policykit-1-gnome-0.105.orig/src/polkitgnomeauthenticator.c 2012-07-27 00:39:09.000000000 -0600
++++ policykit-1-gnome-0.105/src/polkitgnomeauthenticator.c 2012-07-27 00:40:27.185547436 -0600
+@@ -26,6 +26,7 @@
+ #include <sys/types.h>
+ #include <pwd.h>
+ #include <glib/gi18n.h>
++#include <gdk/gdkx.h>
+
+ #include <polkit/polkit.h>
+ #include <polkitagent/polkitagent.h>
+@@ -307,7 +308,8 @@
+ }
+
+ gtk_widget_show_all (GTK_WIDGET (authenticator->dialog));
+- gtk_window_present (GTK_WINDOW (authenticator->dialog));
++ gtk_window_present_with_time (GTK_WINDOW (authenticator->dialog),
++ gdk_x11_get_server_time (gtk_widget_get_window (GTK_WIDGET (authenticator->dialog))));
+ password = polkit_gnome_authentication_dialog_run_until_response_for_prompt (POLKIT_GNOME_AUTHENTICATION_DIALOG (authenticator->dialog),
+ modified_request,
+ echo_on,
diff -Nru policykit-1-gnome-0.105/debian/patches/series policykit-1-gnome-0.105/debian/patches/series
--- policykit-1-gnome-0.105/debian/patches/series 2012-02-10 23:21:49.000000000 -0500
+++ policykit-1-gnome-0.105/debian/patches/series 2012-08-08 09:18:28.000000000 -0400
@@ -4,3 +4,4 @@
04-autorestart.patch
06-authentication-failure-string.patch
07-use-accountsservice.patch
+08-fresh-x11-timestamps.patch
--- End Message ---
--- Begin Message ---
Source: policykit-1-gnome
Source-Version: 0.105-7
We believe that the bug you reported is fixed in the latest version of
policykit-1-gnome, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Martin Pitt <[email protected]> (supplier of updated policykit-1-gnome package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 30 Apr 2018 18:15:21 +0000
Source: policykit-1-gnome
Binary: policykit-1-gnome
Architecture: source
Version: 0.105-7
Distribution: unstable
Urgency: medium
Maintainer: Utopia Maintenance Team
<[email protected]>
Changed-By: Martin Pitt <[email protected]>
Description:
policykit-1-gnome - authentication agent for PolicyKit
Closes: 684300
Changes:
policykit-1-gnome (0.105-7) unstable; urgency=medium
.
* Update Vcs-* for migration to salsa
* debian/changelog: Fix typo in previous changelog entry.
Spotted by lintian.
* debian/copyright: Rewrite to copyright format 1.0
* Bump Standards-Version to 4.1.4
* Convert patches to git-buildpackage pq
* Auth dialog: Make the label wrap at 70 chars.
Because GtkWindow doesn't have a default width anymore.
Thanks to Lars Uebernickel! (via Ubuntu)
* Get user icon from accountsservice instead of looking in ~/.face.
Thanks to Marc Deslauriers! (via Ubuntu)
* Use fresh X11 timestamps when displaying authentication dialog.
This circumvents focus-stealing prevention.
Thanks to Jeffrey Knockel! (Closes: #684300)
Checksums-Sha1:
3e729c5324903f781a2db9bcf4ad0e50409248a7 2215 policykit-1-gnome_0.105-7.dsc
283ca55859c854b6a6d023e8ef7a14496fe09caf 10120
policykit-1-gnome_0.105-7.debian.tar.xz
9bca11e38aaec17e06886a37d917ec4bddb1a78c 15336
policykit-1-gnome_0.105-7_source.buildinfo
Checksums-Sha256:
3b6ccc83ec0bd54c3863a2a43fa15d74d6823aac8f5eb4dc6ce8562ef926d07d 2215
policykit-1-gnome_0.105-7.dsc
fd2f30e16ff3d5a83fe7b5a5ca320af1a5ffc4b97b1b37ad694c1fb3a8e5627f 10120
policykit-1-gnome_0.105-7.debian.tar.xz
b72678063185c2010d670944d011071b63b7e60a9965fd82b8ce298f6050b00d 15336
policykit-1-gnome_0.105-7_source.buildinfo
Files:
62f0d9150592009a78a720a8ef04bcf8 2215 gnome optional
policykit-1-gnome_0.105-7.dsc
0f0cf0f2e2c15ab17c7719c6889d04b3 10120 gnome optional
policykit-1-gnome_0.105-7.debian.tar.xz
8ba92d24f05581f1ce300c47d0e6d89c 15336 gnome optional
policykit-1-gnome_0.105-7_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEExkOAo1eT0DvBz+1oxrkYDUvYt64FAlrnXW4ACgkQxrkYDUvY
t64hcg/8C1KnKoiqYfPlFfUrUSoeedeDO2fwQ9GbA7UVYlNvi/i2TQaP6oHUPcDD
+uBAWfRNLxThx+O+44D6MlG/gtudZqxnciBhRqEefyUhmYVQ3gclSJVu8k/rTJM3
/0NkJlu9DQnzmkRjbYJJCXnls34FG48MAvyLBGFlIowvszfMCl7sFAQYB0+jdchy
VnXyoRiPap5VQILRVchi6nREMz/xWGVuj2L+WZHgd1LWmu64pNRDDylWOA1ckCk3
F6VHVJuo2cTeGTQhXNcYX5UXyqHGectYF+OxbrlyF+nXI2DC2vTfUQVJ9jXq1CIG
Qt1ZeWIGFHmZqoMWnLwiVRfzRo6/P3SeNEi1ZrdedgC7+qxABIfuJFaBD6dc+PNX
VJ2sh0G4S6JTFecsj8vsSsfWtLm6qRVAJrqTMhEjTvFlaC5OH5exYm2qGdDgadWF
ZvF4VrZ2XxU0GPKkJrDzgsCTP7ugUUQWyHCcEX7w3JilPCr+9kzOGicZMMg4tt4o
je0fV2RrAjoyecMPiUU304Og5L8Y3Kcxztgt68tf6TyV4LJTQJ4yxKbJ1QVu4E9C
2uCQYXuwsWAZPWKDGoedOQLyS+dfWDdfF0WuwQ4AdGGIHK3xM6Xf1O6wNVRAkz2d
IQ9mCYz7kDdb8QlOUNtAvhY706AQdzUx8OAxUIsjV9+/Dhji+z4=
=gFv9
-----END PGP SIGNATURE-----
--- End Message ---