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 128089 - Renderers in the narrow columns of rtl-oriented GtkTreeView aren't clipped
Renderers in the narrow columns of rtl-oriented GtkTreeView aren't clipped
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkTreeView
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtktreeview-bugs
gtktreeview-bugs
Depends on:
Blocks: 76219
 
 
Reported: 2003-11-28 06:21 UTC by chinen
Modified: 2011-02-04 16:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for test/testreeview.c to reproduce this bug (6.80 KB, patch)
2003-11-28 06:23 UTC, chinen
none Details | Review
Proposed patch (Based on CVS 2003/Nov/27) (5.41 KB, patch)
2003-11-28 06:25 UTC, chinen
none Details | Review

Description chinen 2003-11-28 06:21:56 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.
Comment 1 chinen 2003-11-28 06:23:45 UTC
Created attachment 21882 [details] [review]
Patch for test/testreeview.c to reproduce this bug
Comment 2 chinen 2003-11-28 06:25:08 UTC
Created attachment 21883 [details] [review]
Proposed patch (Based on CVS 2003/Nov/27)
Comment 3 Matthias Clasen 2003-12-06 00:36:20 UTC
No API involved here, AFAICS.