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 165017 - Using fixed-height-mode row changes don't cause the row to be redrawn
Using fixed-height-mode row changes don't cause the row to be redrawn
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkTreeView
2.4.x
Other Linux
: Normal normal
: ---
Assigned To: gtktreeview-bugs
gtktreeview-bugs
Depends on:
Blocks: 552905
 
 
Reported: 2005-01-23 20:49 UTC by Jorn Baayen
Modified: 2005-02-23 22:39 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8


Attachments
Testcase (3.37 KB, application/octet-stream)
2005-01-26 00:03 UTC, Jorn Baayen
  Details
Patch (544 bytes, patch)
2005-02-18 21:27 UTC, Jorn Baayen
none Details | Review

Description Jorn Baayen 2005-01-23 20:49:48 UTC
Create a treeview, set it to fixed height mode, change a row, and watch how the
row isn't redrawn. Works perfectly when commenting out the call setting fixed
height mode.
Comment 1 Jorn Baayen 2005-01-26 00:03:39 UTC
Created attachment 36530 [details]
Testcase
Comment 2 Jorn Baayen 2005-02-18 21:27:15 UTC
Created attachment 37664 [details] [review]
Patch

The problem actually is that requisition.width is 1 when using fixed size
columns without a specific width specified. This patch fixes this particular
problem, however, there are way more references to requisition.width in the
code ..
Comment 3 Jonathan Blandford 2005-02-23 22:39:11 UTC
Yup.  That's a bug.  I committed this patch to both stable and HEAD.  I looked
at the other references to requisition.width, and I don't think any of them
should cause problems.  I'll keep an eye out for those, though.