GNOME Bugzilla – Bug 371908
Password Entry broken
Last modified: 2008-09-29 14:28:42 UTC
Change your keyboard to allow you to enter characters like these: äöüß Then when Gnome Keyrings asks you to specify the initial password for the default try this for some iterations: 1. Press a UTF8-multibyte character (like 'ä') 2. Press backspace 3. (see 1.) You see that the password entry gets quite polluted with characters.
Does this still happen for you? When I try this, I have to type two backspace characters for each character deleted. This happens in any GtkEntry with: gtk_entry_set_visibility (entry, FALSE); Looks like a GTK bug.
I can't reproduce this. I can enter multi-byte characters and remove them one-by-one regardless if the entry is invisible or not. Any more details ?
I can duplicate this in any GTK Entry. Attaching a (braindead) test program I used to verify it wasn't anything program specific. * LANG=en_US.UTF-8 * Main 'Germany' keyboard * Linux stef 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux * GTK: 2.10.11-0ubuntu3
Created attachment 92253 [details] [review] Simple test
works fine here, with either 2.11.6 or 2.10.14
still unreproducible. Any further hints ?
Whoops, sorry for the delay in getting back on this. Yes, I can still reproduce this with GTK 2.12.9 from Ubuntu 8.04 along with X.org/comiz from that same Ubuntu. I'm running a English/US session with a English/Dvorak keyboard, and switch (using the keyboard applet) to a German/default keyboard (and then removing all other keyboard layouts). I don't reboot or restart the session after doing this. But I can't imagine any of the above description is really helpful. Are there any specific tests you'd like me to do? I'm unfamiliar with the world of locales, keyboard maps and all that. stef@stef:~/Desktop$ set | grep 'LC\|LANG' GDM_LANG=en_US.UTF-8 LANG=en_US.UTF-8 MAILCHECK=60
The patch attached to bug 317002 fixes the backspace problem for invisible entries and multibyte characters.
2008-09-29 Matthias Clasen <mclasen@redhat.com> Bug 371908 – Password Entry broken Bug 317002 – Disable input method completely in GtkEntry when it's in invisible mode. * gtk/gtkentry.c (gtk_entry_backspace): Make backspace behave properly when invisible. * gtk/gtkentry.c (gtk_entry_create_layout): Show preedit even if invisible. * gtk/gtkentry.c (gtk_entry_set_visibility): Don't disable input methods when making the entry invisible.