Your message dated Mon, 13 Jul 2009 21:37:08 +0000
with message-id <[email protected]>
and subject line Bug#445607: fixed in pinentry 0.7.6-1
has caused the Debian Bug report #445607,
regarding Make pinentry-gtk-2 transient for the root window
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.)
--
445607: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=445607
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pinentry-gtk2
Version: 0.7.3-1
Severity: wishlist
Tags: patch
Hi,
the attached patch makes the pinentry-gtk-2 transient for the root
window. This will prevent confusion for the user when another window
seems to have the focus but pinentry-gtk-2 has the keyboard grab. It
also helps window managers such as xmonad to properly position the
window.
Thanks,
Joachim
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.21.otto
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages pinentry-gtk2 depends on:
ii libc6 2.6.1-5 GNU C Library: Shared libraries
ii libglib2.0-0 2.14.1-4 The GLib library of C routines
ii libgtk2.0-0 2.12.0-2 The GTK+ graphical user interface
ii libncurses5 5.6+20070908-1 Shared libraries for terminal hand
ii libpango1.0-0 1.18.2-1 Layout and rendering of internatio
pinentry-gtk2 recommends no packages.
-- no debconf information
diff -u pinentry-0.7.3/debian/changelog pinentry-0.7.3/debian/changelog
--- pinentry-0.7.3/debian/changelog
+++ pinentry-0.7.3/debian/changelog
@@ -1,3 +1,9 @@
+pinentry (0.7.3-1.nomeata1) unstable; urgency=low
+
+ * Make window transient
+
+ -- Joachim Breitner <[email protected]> Sun, 07 Oct 2007 10:37:32 +0200
+
pinentry (0.7.3-1) unstable; urgency=low
* New upstream release
only in patch2:
unchanged:
--- pinentry-0.7.3.orig/gtk+-2/pinentry-gtk-2.c
+++ pinentry-0.7.3/gtk+-2/pinentry-gtk-2.c
@@ -84,6 +84,22 @@
GDK_HINT_MIN_SIZE | GDK_HINT_MAX_SIZE);
}
+/* Realize the window as transient, if we will grab the keyboard */
+static void
+make_transient (GtkWidget *win, GdkEvent *event, gpointer data)
+{
+ GdkScreen *screen;
+ GdkWindow *root;
+
+ if (!pinentry->grab)
+ return;
+
+ /* Make window transient for the root window */
+ screen = gdk_screen_get_default();
+ root = gdk_screen_get_root_window(screen);
+ gdk_window_set_transient_for(win->window, root);
+
+}
/* Grab the keyboard for maximum security */
static void
@@ -101,6 +117,9 @@
ungrab_keyboard (GtkWidget *win, GdkEvent *event, gpointer data)
{
gdk_keyboard_ungrab (gdk_event_get_time (event));
+
+ /* Unmake window transient for the root window */
+ gdk_window_set_transient_for(win->window, NULL);
}
@@ -206,6 +225,10 @@
G_CALLBACK (constrain_size), NULL);
if (!confirm_mode)
{
+ if (pinentry->grab)
+ g_signal_connect (G_OBJECT (win),
+ "realize",
+ G_CALLBACK (make_transient), NULL);
g_signal_connect (G_OBJECT (win),
pinentry->grab ? "map-event" : "focus-in-event",
G_CALLBACK (grab_keyboard), NULL);
--- End Message ---
--- Begin Message ---
Source: pinentry
Source-Version: 0.7.6-1
We believe that the bug you reported is fixed in the latest version of
pinentry, which is due to be installed in the Debian FTP archive:
pinentry-curses_0.7.6-1_i386.deb
to pool/main/p/pinentry/pinentry-curses_0.7.6-1_i386.deb
pinentry-doc_0.7.6-1_all.deb
to pool/main/p/pinentry/pinentry-doc_0.7.6-1_all.deb
pinentry-gtk2_0.7.6-1_i386.deb
to pool/main/p/pinentry/pinentry-gtk2_0.7.6-1_i386.deb
pinentry-qt4_0.7.6-1_i386.deb
to pool/main/p/pinentry/pinentry-qt4_0.7.6-1_i386.deb
pinentry-qt_0.7.6-1_i386.deb
to pool/main/p/pinentry/pinentry-qt_0.7.6-1_i386.deb
pinentry_0.7.6-1.diff.gz
to pool/main/p/pinentry/pinentry_0.7.6-1.diff.gz
pinentry_0.7.6-1.dsc
to pool/main/p/pinentry/pinentry_0.7.6-1.dsc
pinentry_0.7.6.orig.tar.gz
to pool/main/p/pinentry/pinentry_0.7.6.orig.tar.gz
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.
Peter Eisentraut <[email protected]> (supplier of updated pinentry 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: SHA1
Format: 1.8
Date: Mon, 13 Jul 2009 22:38:41 +0300
Source: pinentry
Binary: pinentry-curses pinentry-qt pinentry-qt4 pinentry-gtk2 pinentry-doc
Architecture: source all i386
Version: 0.7.6-1
Distribution: unstable
Urgency: low
Maintainer: Peter Eisentraut <[email protected]>
Changed-By: Peter Eisentraut <[email protected]>
Description:
pinentry-curses - curses-based PIN or pass-phrase entry dialog for GnuPG
pinentry-doc - documentation for pinentry packages
pinentry-gtk2 - GTK+-2-based PIN or pass-phrase entry dialog for GnuPG
pinentry-qt - Qt-3-based PIN or pass-phrase entry dialog for GnuPG
pinentry-qt4 - Qt-4-based PIN or pass-phrase entry dialog for GnuPG
Closes: 445607
Changes:
pinentry (0.7.6-1) unstable; urgency=low
.
* New upstream release
- Includes Qt 4 variant, formerly in separate source package pinentry-qt4
- Obsoletes gmalloc-prototypes.patch
- Made Gtk+-2 pinentry transient to the root window (closes: #445607)
* Changed copyright file to refer to GPL-2 file, per lintian
* Updated standards version
* Changed to debhelper level 7 and minimal version 7.2.17, to avoid obsolete
calls to install-info
Checksums-Sha1:
45b0622be23c4882994ea85fdaf8bab94a64a3b0 1198 pinentry_0.7.6-1.dsc
0c525ce81e5589bc9a4f2eb72705bed2b3e9a8b9 475101 pinentry_0.7.6.orig.tar.gz
807e79a4c6e1aff44952df9214f7bb34c2327292 6870 pinentry_0.7.6-1.diff.gz
627ba937b50cb33e91c0ea9b3698f7b84c9b42c5 35136 pinentry-doc_0.7.6-1_all.deb
a96250eb6ab3f6c31fb0ae5169c82bd122e3f661 46250 pinentry-curses_0.7.6-1_i386.deb
b2d3d22a237fbede7ff130df395042d187c99646 84672 pinentry-qt_0.7.6-1_i386.deb
6030f80b434edf02bf2fba12167da3ba2160de07 82286 pinentry-qt4_0.7.6-1_i386.deb
07fa1b27a5c8613d7a2d87e2d291dd8c47176847 66868 pinentry-gtk2_0.7.6-1_i386.deb
Checksums-Sha256:
0daf0d02f4ff77b799bdbcf9e6b9d91c29fca9e63e0e3e3060363cdcfa296d14 1198
pinentry_0.7.6-1.dsc
14670c18f4a042ffcbd7a937aa3f15de392816c56b472588383d8378f65b42ab 475101
pinentry_0.7.6.orig.tar.gz
0c2de3c0d0ab02bf08bb760199b05fd669912dfb2e3c4242ed87e644e46d3304 6870
pinentry_0.7.6-1.diff.gz
3aaca4e7deac1bc9acb394afba9018f84d9876cb338c74b8fe3b24cda04e287b 35136
pinentry-doc_0.7.6-1_all.deb
66adf6f1ffa1c4e0753e0447a2adb1041b36e5b1d531588966758b762b8a1695 46250
pinentry-curses_0.7.6-1_i386.deb
852763af0eba2e02edd9acb9e88385134fec3a8417d387f27279a83c7725a60d 84672
pinentry-qt_0.7.6-1_i386.deb
5bef2d0da3a809abbab276da8110fcca39952c4daa0c82f2ad02494eec976e6f 82286
pinentry-qt4_0.7.6-1_i386.deb
ac230e44282ee561db7eb04a056f60161cae7a66ec1d89834795a68997124c4f 66868
pinentry-gtk2_0.7.6-1_i386.deb
Files:
e3fed6a4cf5911a68c1e7dd2cec92ce8 1198 utils optional pinentry_0.7.6-1.dsc
5a4f676375fa882009da02013d77210f 475101 utils optional
pinentry_0.7.6.orig.tar.gz
a81dcb14da234b209141943f715e703f 6870 utils optional pinentry_0.7.6-1.diff.gz
9753a4dec217cadf734b4bf27d53eb72 35136 doc optional
pinentry-doc_0.7.6-1_all.deb
16df4c8a89fe6e0a9e97ae2360b7a44f 46250 utils optional
pinentry-curses_0.7.6-1_i386.deb
965441aca48a645ceb1e32ae4ff29005 84672 utils optional
pinentry-qt_0.7.6-1_i386.deb
243546774d01bb5a8f8882bcf94e9b94 82286 utils optional
pinentry-qt4_0.7.6-1_i386.deb
4958c1e1feedd5d2f75c8734f2768da1 66868 utils optional
pinentry-gtk2_0.7.6-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkpbjfEACgkQTTx8oVVPtMZS9wCgtRIrfTFYtlK0Wp1wsYY5+UuI
ExQAoLaFZFQDssnZWh+dwG5eS8OmD2TS
=xABm
-----END PGP SIGNATURE-----
--- End Message ---