GNOME Bugzilla – Bug 3355
should be able to provide a buffer for GtkEntry
Last modified: 2004-12-22 21:47:04 UTC
Package: gtk+ Version: 1.2.x Werner Koch (author of GPG) requested the ability to provide a buffer to GtkEntry to be filled in with the entry contents. The reason is that passwords and such are normally placed in memory with paging disabled (using mlock()), and normally you have to disable paging right at the start of a program, so you can drop root privileges. So you want to give GtkEntry an mlock()'d buffer. havoc ------- Bug moved to this database by debbugs-export@bugzilla.gnome.org 2001-01-27 14:46 ------- This bug was previously known as bug 3355 at http://bugs.gnome.org/ http://bugs.gnome.org/show_bug.cgi?id=3355 Originally filed under the gtk+ product and general component. Reassigning to the default owner of the component, gtk-bugs@gtk.org.
I'm not sure if PangoLayout makes this easier or harder. Anyway, still kind of painful to implement...
Put all GTK 1.3.x bugs on 2.0.0 milestone
Setting API-affecting bugs to the API freeze milestone
Punting for 2.0
Actually, not at all painful to implement - gtk_entry_real_insert_text() is the only place that needs to be modified. Of course, there is the possibility of the entered text leaking out in other ways - GtkIMContext and so forth, but it wouldn't be all in one chunk.
*** Bug 152001 has been marked as a duplicate of this bug. ***
Lets WONTFIX this for now. There is no point in keeping this bug open further if it hasn't attacted any duplicates and no volunteer has shown up to implement this after 5 years...