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 355214 - "weight-set" Problems
"weight-set" Problems
Status: RESOLVED DUPLICATE of bug 350882
Product: gtk+
Classification: Platform
Component: Widget: GtkTreeView
2.8.x
Other All
: Normal major
: ---
Assigned To: gtktreeview-bugs
gtktreeview-bugs
Depends on:
Blocks:
 
 
Reported: 2006-09-10 00:58 UTC by Richard Laager
Modified: 2006-09-24 14:42 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
Sample Application (1.03 KB, text/x-csrc)
2006-09-10 00:59 UTC, Richard Laager
Details
Swapped weight and weight-set (1.05 KB, text/x-csrc)
2006-09-10 01:07 UTC, Richard Laager
Details

Description Richard Laager 2006-09-10 00:58:55 UTC
Please describe the problem:
I have an application that bolds some items in a GtkTreeView, depending on a particular column in the GtkListStore. It used to work for me on Fedora Core 4, but when I upgraded to Ubuntu Dapper, it stopped working.

Steps to reproduce:
I've boiled the code down to a sample application. I think it should work, but it doesn't in Ubuntu. I haven't yet found someone to confirm that it works on an older version of GTK+.

Actual results:
Nothing is bolded.

Expected results:
The second row should be bolded.

Does this happen every time?
Yes.

Other information:
Is this code wrong, or is this a GTK+ bug?
Comment 1 Richard Laager 2006-09-10 00:59:29 UTC
Created attachment 72475 [details]
Sample Application
Comment 2 Richard Laager 2006-09-10 01:07:27 UTC
Created attachment 72476 [details]
Swapped weight and weight-set

By swapping weight and weight-set, this code can be made to work. A similar idea was proposed for the real application, but it's not the appropriate solution. The old code used to work and I believe it should work.
Comment 3 Matthias Clasen 2006-09-16 04:17:29 UTC
We tracked this change down a while ago to figure out why the italicizing
in gtk-demo broke. I forgot the full details, but we ended up changing
the code in gtk-demo, so we have de facto accepted this change and the
assorted breakage. the -set properties are not usable as independent
properties of their own.
Comment 4 Richard Laager 2006-09-18 03:52:46 UTC
I personally think this should be fixed. The previous behavior was consistent, intuitive, and useful. Plus, breaking backwards compatibility is bad. But, at the very least, this needs to be documented in the API docs.
Comment 5 Kristian Rietveld 2006-09-24 14:42:07 UTC
Actually pango break compatibility, and we are contemplating in the other bug about changing the code of the cell renderer or updating the docs.  (I think I vote for the latter)

*** This bug has been marked as a duplicate of 350882 ***