Bug#419672: gksu looses keyboard focus when "Remember password"
is checked by using Space
Wiktor Wandachowicz
siryes at gmail.com
Tue Apr 17 11:09:38 UTC 2007
Package: gksu
Version: 2.0.0-1
Severity: normal
*** Please type your report below this line ***
When using gksu to run programs with root privileges it is possible to
check the option to "Remember password" during current session or to
store it in the keychain. However, there is one exact moment when the
program looses keyboard focus, so all subsequent characters are being
passed to the first foreground program that was currently active before
starting gksu.
The problem applies only to the mode when gksu is asking for the root's
password and not when used in sudo mode (gksudo).
Steps to reproduce:
1. Open text editor, create new document and leave it open.
2. Try to start a program with root privileges, for example
press Alt+F2 and type:
gksu /usr/bin/gnome-terminal
3. In the screen asking for root's password, try to check
and uncheck the "Remember password" option. It should work
correctly. It can confirmed by checking/unchecking the option
and moving the focused element using the Tab key.
4. Press Tab enough times to select "Remember password" again.
5. Press Space to check/uncheck the option. Press some other
random keys, press Tab several times - nothing happens.
Additionally, the password screen cannot be closed by any
keys combination: Esc, Alt+F4 no longer work.
6. Cancel the password screen using mouse.
7. Admire all the random characters previously pressed in 5th
point typed right into the editor document.
This problem reveals itself mostly in Debian and not in Ubuntu,
as with the latter sudo is being used as a default setting.
However, I was able to reproduce the same behavior in Gentoo, so
the problem doesn't seem to be distro-specific.
With kind regards,
Wiktor Wandachowicz
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Versions of packages gksu depends on:
ii gnome-keyring 0.6.0-3 GNOME keyring services (daemon and
ii libatk1.0-0 1.12.4-3 The ATK accessibility toolkit
ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries
ii libcairo2 1.2.4-4 The Cairo 2D vector graphics libra
ii libfontconfig1 2.4.2-1.2 generic font configuration library
ii libgconf2-4 2.16.1-1 GNOME configuration database syste
ii libgksu2-0 2.0.3-7 library providing su and sudo func
ii libglib2.0-0 2.12.4-2 The GLib library of C routines
ii libgnome-keyring0 0.6.0-3 GNOME keyring services library
ii libgtk2.0-0 2.8.20-7 The GTK+ graphical user interface
ii liborbit2 1:2.14.3-0.1 libraries for ORBit2 - a CORBA ORB
ii libpango1.0-0 1.14.8-5 Layout and rendering of internatio
ii libstartup-notification0 0.8-2 library for program launch feedbac
ii libx11-6 2:1.0.3-7 X11 client-side library
ii libxcursor1 1.1.7-4 X cursor management library
ii libxext6 1:1.0.1-2 X11 miscellaneous extension librar
ii libxfixes3 1:4.0.1-5 X11 miscellaneous 'fixes' extensio
ii libxi6 1:1.0.1-4 X11 Input extension library
ii libxinerama1 1:1.0.1-4.1 X11 Xinerama extension library
ii libxrandr2 2:1.1.0.2-5 X11 RandR extension library
ii libxrender1 1:0.9.1-3 X Rendering Extension client libra
ii sudo 1.6.8p12-4 Provide limited super user privile
gksu recommends no packages.
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list