After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 613241 - entry sends extra notify::text with "" on destroy
entry sends extra notify::text with "" on destroy
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkEntry
unspecified
Other Linux
: Normal major
: ---
Assigned To: gtk-bugs
gtk-bugs
: 613549 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-03-18 14:00 UTC by Christian Persch
Modified: 2010-03-22 13:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
testcase (1.38 KB, text/plain)
2010-03-18 14:01 UTC, Christian Persch
Details

Description Christian Persch 2010-03-18 14:00:37 UTC
On destroy, GtkEntry now sets its buffer to NULL which sends extra notify::text property notifications. This breaks e.g. the profile editor in gnome-terminal (it resets every property that's connected to a text entry to "").

With gtk 2.14:
Entry text is now "t"
Entry text property is now "t"
Response -7

With gtk master:
Entry text is now "t"
Entry text property is now "t"
Response -7
Entry text property is now ""
Entry text property is now ""
Comment 1 Christian Persch 2010-03-18 14:01:14 UTC
Created attachment 156452 [details]
testcase
Comment 2 Christian Persch 2010-03-22 13:12:44 UTC
*** Bug 613549 has been marked as a duplicate of this bug. ***