Red Hat Bugzilla – Bug 497349
gtk_entry_set_text is broken in GTK 2.10.4 (and thus in RHEL 5.3)
Last modified: 2014-06-25 17:07:09 EDT
Description of problem:
RHEL 5.3 contains GTK 2.10.4. gtk_entry_set_text should emit the "changed" signal once but emits it twice. The first emit happens when the function clears the text buffer. The second emit happens after it fills the text buffer. The first one shouldn't happen. The second one should.
This breaks existing applications software. (Which is how I found it)
I believe that this bug is fixed in 2.10.7. (I saw a GTK authored changelog to that effect). My tests indicate the bug didn't exist in 1.2 and 2.8.20. It also doesn't exist (per my testing) in 2.12.8 and 2.12.9.
Version-Release number of selected component (if applicable):
2.10.4 of GTK2
Steps to Reproduce:
1. You'd have to write a GTK program. Or you could just trust GTK's changelog for 2.10.7
Two signal emissions for "changed."
One signal emission.
The people at CentOS told me to say that they asked me to post here.
The solution, IMHO, is to update GTK to 2.10.7 or later. I haven't found any problems with 2.12.9.
Upstream fix -
Did this bug get fixed in RHEL 6?
EL6 ships with gtk2-2.18.9-4.el6, and consequently should be fixed. If otherwise, feel free to escalate this to support (http://www.redhat.com/support/).
Hi, I just wanted to report that, based on my tests, the bug has indeed been fixed as of 6.2 (if not sooner). Thank you.
Thank you for submitting this request for inclusion in Red Hat Enterprise Linux 5. We've carefully evaluated the request, but are unable to include it in the last planned RHEL5 minor release. This Bugzilla will soon be CLOSED as WONTFIX. To request that Red Hat re-consider this request, please re-open the bugzilla via appropriate support channels and provide additional business and/or technical details about its importance to you.
Hi, since RHEL 6.x has been released (with the library bug fixed), I have no need or desire to have this bug fixed in the final version of RHEL 5.x.
Ok, closing WONTFIX for RHEL 5, thanks for reply.