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 531319 - "weight-set" cellrenderertext attribute misbehaves with treestores
"weight-set" cellrenderertext attribute misbehaves with treestores
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Documentation
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2008-05-04 01:10 UTC by Tristan Van Berkom
Modified: 2012-05-26 19:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test case (5.64 KB, text/plain)
2008-05-04 01:15 UTC, Tristan Van Berkom
Details

Description Tristan Van Berkom 2008-05-04 01:10:55 UTC
I am attaching here a small test case that displays how I found
treeviews to be broken.
Comment 1 Tristan Van Berkom 2008-05-04 01:15:21 UTC
Created attachment 110342 [details]
test case

In the attached testcase, you'll see that Ive set "weight" to be bold
and "weight-set" to sync with ATTRS_COLUMN_IS_TITLE.

When you compile without -DTREEVIEW_WAS_WORKING then no child iters
are added and the titles are bold, if you compile with the said flags
it will add a child iter that is not flagged to be bold, and this 
causes the parent iters to also lose boldness.
Comment 2 Tristan Van Berkom 2008-05-05 16:22:55 UTC
Ok, thanks to Mitch I found the proper way to set attributes is
to skip the "attrib-set" properties alltogether and sync the values
of the "attrib" properties themselves to appropriatly typed values 
in the corresponding store.

Heaping this into "doc" bugs, this usage should be better documented.