Bug#248109: marked as done (gksu's grab failure reporting is broken)

Debian Bug Tracking System owner@bugs.debian.org
Tue, 11 May 2004 17:18:09 -0700


Your message dated Tue, 11 May 2004 20:02:04 -0400
with message-id <E1BNhCG-0003Nm-00@newraff.debian.org>
and subject line Bug#248109: fixed in gksu 1.0.7-1
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 9 May 2004 11:10:05 +0000
>From rmurray@cyberhqz.com Sun May 09 04:10:05 2004
Return-path: <rmurray@cyberhqz.com>
Received: from (straylight.cyberhqz.com) [24.81.28.253] (postfix)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BMmC5-0006I9-00; Sun, 09 May 2004 04:10:05 -0700
Received: from localhost (localhost [127.0.0.1])
	by straylight.cyberhqz.com (Postfix) with ESMTP id AFC2454006
	for <submit@bugs.debian.org>; Sun,  9 May 2004 04:10:04 -0700 (PDT)
Received: from cyberhq.internal.cyberhqz.com (cyberhq.internal.cyberhqz.com [192.168.0.2])
	by straylight.cyberhqz.com (Postfix) with ESMTP id 444A454006
	for <submit@bugs.debian.org>; Sun,  9 May 2004 04:09:57 -0700 (PDT)
Received: by cyberhq.internal.cyberhqz.com (Postfix, from userid 1000)
	id 3032227C1CF; Sun,  9 May 2004 04:09:57 -0700 (PDT)
Date: Sun, 9 May 2004 04:09:57 -0700
From: Ryan Murray <rmurray@debian.org>
To: submit@bugs.debian.org
Subject: gksu's grab failure reporting is broken
Message-ID: <20040509110957.GA18344@cyberhqz.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.6i
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 1

Package: libgksu0
Version: 1.0.6-1
Severity: serious

If gksu fails to grab the keyboard (which almost always happens on my
system) it displays the error dialog before it shows the main window,
and the main window ends up never drawing any of its widgets.  In
addition, the error message ends up being behind the gksu window.  The
following patch fixes the problem:

--- libgksu.c   2004-05-09 03:40:59.000000000 -0700
+++ libgksu.c.new       2004-05-09 03:33:32.000000000 -0700
@@ -336,8 +336,8 @@
          while (gtk_events_pending())
            gtk_main_iteration ();
 
-         report_failed_grab ();
          gtk_widget_show (dialog);
+         report_failed_grab ();
        }
     }
 
This still leaves the problem of why the grabs are failing.  gnome-ssh-askpass
in the ssh package tries each grab 16 times, with a 250 millisecond delay
between each attempt, and it has no problems with grabbing on my system.
Perhaps gksu needs to do something similar?  If I slow gksu down by running
it under strace or ltrace, it has no problems obtaining the grabs.

---------------------------------------
Received: (at 248109-close) by bugs.debian.org; 12 May 2004 00:08:07 +0000
>From katie@ftp-master.debian.org Tue May 11 17:08:06 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BNhI6-0006ri-00; Tue, 11 May 2004 17:08:06 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1BNhCG-0003Nm-00; Tue, 11 May 2004 20:02:04 -0400
From: Gustavo Noronha Silva <kov@debian.org>
To: 248109-close@bugs.debian.org
X-Katie: $Revision: 1.49 $
Subject: Bug#248109: fixed in gksu 1.0.7-1
Message-Id: <E1BNhCG-0003Nm-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Tue, 11 May 2004 20:02:04 -0400
Delivered-To: 248109-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 2

Source: gksu
Source-Version: 1.0.7-1

We believe that the bug you reported is fixed in the latest version of
gksu, which is due to be installed in the Debian FTP archive:

gksu_1.0.7-1.diff.gz
  to pool/main/g/gksu/gksu_1.0.7-1.diff.gz
gksu_1.0.7-1.dsc
  to pool/main/g/gksu/gksu_1.0.7-1.dsc
gksu_1.0.7-1_i386.deb
  to pool/main/g/gksu/gksu_1.0.7-1_i386.deb
gksu_1.0.7.orig.tar.gz
  to pool/main/g/gksu/gksu_1.0.7.orig.tar.gz
gnome-sudo_1.0.7-1_all.deb
  to pool/main/g/gksu/gnome-sudo_1.0.7-1_all.deb
libgksu-dev_1.0.7-1_i386.deb
  to pool/main/g/gksu/libgksu-dev_1.0.7-1_i386.deb
libgksu0_1.0.7-1_i386.deb
  to pool/main/g/gksu/libgksu0_1.0.7-1_i386.deb



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 248109@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gustavo Noronha Silva <kov@debian.org> (supplier of updated gksu 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 11 May 2004 20:21:30 -0300
Source: gksu
Binary: gksu libgksu0 libgksu-dev gnome-sudo
Architecture: source all i386
Version: 1.0.7-1
Distribution: unstable
Urgency: low
Maintainer: Gustavo Noronha Silva <kov@debian.org>
Changed-By: Gustavo Noronha Silva <kov@debian.org>
Description: 
 gksu       - graphical frontend to su
 gnome-sudo - dumb package to provide smooth upgrade to gksu
 libgksu-dev - a graphical fronted to su library (development files)
 libgksu0   - a graphical fronted to su library
Closes: 244066 248109
Changes: 
 gksu (1.0.7-1) unstable; urgency=low
 .
   * New upstream release
   - grab failure reporting should be fixed (Closes: #248109)
   - the encoding for the .desktop files was set to UTF-8,
     so #247795 is semi-fixed (missing intltool support)
   * debian/menu:
   - fix hints usage, applied patch from Jon Dowland
     <jon.dowland@durham.ac.uk>, thanks! (Closes: #244066)
Files: 
 e1577062e21bfe04daf8c0b9ac08b61b 1417 admin optional gksu_1.0.7-1.dsc
 956cdd86fcc2abff8918161aeaa09daf 559415 admin optional gksu_1.0.7.orig.tar.gz
 deba4507b95996a6e379fd0027b5f9aa 13856 admin optional gksu_1.0.7-1.diff.gz
 53009cad710a4d0b73a319fdf99c8aa2 11244 gnome optional gnome-sudo_1.0.7-1_all.deb
 260e2768be93844cf2199ccb368ac676 38898 admin optional libgksu0_1.0.7-1_i386.deb
 47bbfa3b4405e0bef3e08145c7959a8e 30698 admin optional libgksu-dev_1.0.7-1_i386.deb
 cca6b67a770eb4f62765852daadc51bb 31742 admin optional gksu_1.0.7-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAoWTat1anjIgqbEsRAmeiAKDe1aKwzNPRV0ycxHpBQFgfiVwIdACfdVSt
/0qJa8o4y3T/hjOAZi8UEKM=
=UpeT
-----END PGP SIGNATURE-----