Re: [gtk-list] GtkEntry BUG




Gert Scholten <gs2@dds.nl> writes:

> Hi,
> 
> I found a bug in the GTKentry widget:
> If you have an entry widget, and select text from the back to the front, the
> first char is not written in white on blue, but in black on blue. This is also
> the case with a entry that has set_visible set to FALSE, now the first char is
> an BLACK char, a WHITE star and an BLUE background ...
> 
> This way, one can read passwords (char for char) ...

What version of GTK+ do you have? This was supposedly fixed
a couple of weeks ago, and should be OK in 1.1.13, 1.1.14.

Thu Jan 14 17:47:37 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkentry.c (gtk_entry_draw_cursor_on_drawable): Only
 	 redraw character under cursor when not displaying 
	highlighted selection.

Of course, you can cut and paste from a !visible
entry, so it still isn't safe to leave a typed-in
password sitting around on the screen...

                                        Owen




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]