GNOME Bugzilla – Bug 391718
Confusing indentation of threads
Last modified: 2013-09-13 12:24:44 UTC
This may be a GTK bug; I don’t know for sure. When Group By Threads is enabled, messages with children are displayed at (what appears to be) a greater indentation level than messages with no children, because of the extra space occupied by the expander triangles. This is confusing, even when I know what’s going on. Messages with no children should have extra space to replace the missing triangles. Compare this actual screenshot: <http://foo.kaseorg.com/~anders/evolution-threads.png> with this mockup of the desired appearance: <http://foo.kaseorg.com/~anders/evolution-threads-want.png> Other information:
Anders, this is due to the expander widget being inserted in mails with children. This is an evolution bug.
Bumping version to a stable release.
What would be a proper solution to this? Maybe draw an "empty" expander widget for mails w/o children. Empty as in same dimensions.
It's likely an issue with ETree. I don't think GtkTreeView has this problem.
This patch fixes the problem for me: diff --git a/widgets/table/e-cell-tree.c b/widgets/table/e-cell-tree.c index 27698f8..3b834e9 100644 --- a/widgets/table/e-cell-tree.c +++ b/widgets/table/e-cell-tree.c @@ -110,12 +110,7 @@ offset_of_node (ETableModel *table_model, gint row) ETreeModel *tree_model = e_cell_tree_get_tree_model(table_model, row); ETreePath path = e_cell_tree_get_node(table_model, row); - if (visible_depth_of_node (table_model, row) > 0 || - e_tree_model_node_is_expandable(tree_model, path)) { - return (visible_depth_of_node(table_model, row) + 1) * INDENT_AMOUNT; - } else { - return 0; - } + return (visible_depth_of_node(table_model, row) + 1) * INDENT_AMOUNT; } /*
*** This bug has been marked as a duplicate of bug 248745 ***