GNOME Bugzilla – Bug 128089
Renderers in the narrow columns of rtl-oriented GtkTreeView aren't clipped
Last modified: 2011-02-04 16:16:03 UTC
The renderers in the narrow column in ltr-oriented GtkTreeView is clipped. However, the renderers in the narrow columns in rtl-oriented GtkTreeView is not clipped. Here's the detail of the bug: *) testtreeview-for_rendererclip-20031127.patch is not necessary for fixing the bug. It is used to reproduce this bug. (I'll attach the patch as a comment.) *) If you applyed patch for Bug #127874 before looking at this issue, you can understand this bug more clearly. [Steps to Reproduce] 1. Apply testtreeview-for_rendererclip-20031127.patch to ./tests/testtreeview.c. The following changes are performed: - Create columns with empty titles and without images - Increase length of text - Make columns resizable and so on. 2. Run ./tests/testtreeview demo in bidi locale. 3. Make a width of column shorter. The contents of cell are displayed with overlapping. <-- Problem [Actual Results] Contents of cell isn't clipped when its width (or total width of all renderers from current column) is greater than the width of column. [Expected Results] Contents of cell should be clipped like ltr-oriented GtkTreeView if total width of all renderers is greater than the width of column.
Created attachment 21882 [details] [review] Patch for test/testreeview.c to reproduce this bug
Created attachment 21883 [details] [review] Proposed patch (Based on CVS 2003/Nov/27)
No API involved here, AFAICS.