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 565780 - Message view is tightly packed and hard to read
Message view is tightly packed and hard to read
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.24.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[etable]
Depends on:
Blocks:
 
 
Reported: 2008-12-27 15:07 UTC by Andreas Nilsson
Modified: 2009-11-17 08:52 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
current spacing (86.74 KB, image/png)
2008-12-27 15:07 UTC, Andreas Nilsson
  Details
proposed spacing (75.62 KB, image/png)
2008-12-27 15:08 UTC, Andreas Nilsson
  Details
Proposed patch (1.15 KB, patch)
2008-12-28 00:45 UTC, Matthew Barnes
committed Details | Review
Patch in action (170.62 KB, image/png)
2008-12-28 00:47 UTC, Matthew Barnes
  Details
Revised patch (2.03 KB, patch)
2009-01-08 17:44 UTC, Matthew Barnes
none Details | Review

Description Andreas Nilsson 2008-12-27 15:07:21 UTC
The message view is currently a bit too tightly packed, making it a bit hard to read. Especially compared to apps like Banshee [1]
A bit more padding would also make the message view look a bit more attractive.

1. http://download.banshee-project.org/shots/1.4.1/android-purchased-music.png
Comment 1 Andreas Nilsson 2008-12-27 15:07:43 UTC
Created attachment 125382 [details]
current spacing
Comment 2 Andreas Nilsson 2008-12-27 15:08:06 UTC
Created attachment 125383 [details]
proposed spacing
Comment 3 Matthew Barnes 2008-12-27 15:56:43 UTC
How much padding did you use in the mockup?
Looks like maybe 2 or 3 px on the top and bottom?
Comment 4 Matthew Barnes 2008-12-28 00:45:49 UTC
Created attachment 125410 [details] [review]
Proposed patch

Increased the top and bottom padding in ECellText from 1 to 3.
Comment 5 Matthew Barnes 2008-12-28 00:47:28 UTC
Created attachment 125411 [details]
Patch in action

Screenshot is of the kill-bonobo branch just because that was more convenient, but I haven't touched ETable on the branch.  Patch applies cleanly to trunk.
Comment 6 Matthew Barnes 2008-12-28 01:07:15 UTC
I should also mention this patch affects ALL ETables, not just the message list.  That includes memo and task lists, and list view for contacts and calendars.
Comment 7 Andreas Nilsson 2008-12-31 11:42:05 UTC
Woohoo! Sweet!
Comparing the screenshot in #1 with #5 it seems Banshee use a padding of 4 instead of 3. Apart from that, it's perfect!
Comment 8 Matthew Barnes 2008-12-31 14:04:35 UTC
Confirmed, GtkTreeView is using a padding of 4.  Will adjust the patch.

Srini, any objections?
Comment 9 Srinivasa Ragavan 2009-01-08 09:11:15 UTC
Matthew, it looks great. But, just one thing, I don't want people to come back to say it was better before. I would suggest that you make this packing bit adjustable gconf/getenv or something. 

I remember, the Folder tree was e-trable and we moved to GtkTable and Dave (dave_largo) still complains that it takes too much space :-)
Comment 10 Matthew Barnes 2009-01-08 17:44:49 UTC
Created attachment 126045 [details] [review]
Revised patch

Very well.  Best solution would be a GtkStyle property, but I don't think even GtkTreeView supports such a property.  It's not worth another GConf key so I guess we'll make a secret environment variable for it: ETABLE_PACKED

This time the padding value is 4, and I verified the table rows line up perfectly with other applications like Rhythmbox and Nautilus.
Comment 11 Matthew Barnes 2009-01-21 10:55:59 UTC
Ping: Is the environment variable solution acceptable?
Comment 12 Srinivasa Ragavan 2009-01-27 07:43:06 UTC
Matt, I still prefer if it is a static var, picked from gconf once. 

Reason: Gconf is much easier to set and forget for ever than env. Just my preference. But be prepared to get comments on this from more *real* users.  
Comment 13 Srinivasa Ragavan 2009-04-20 08:43:34 UTC
Matt, lets close this. If you think, not worth it, ignore my comment.
Comment 14 Matthew Barnes 2009-04-21 14:44:26 UTC
I don't know.  I guess don't see why we should have to make concessions just for making a custom widget more closely resemble a standard widget.

If there's a huge outcry over it, I'd rather add a GtkStyle property and let the dissenters write their own ~/.gtkrc to override the padding.  It -should- be hard to revert.
Comment 15 Srinivasa Ragavan 2009-04-21 16:57:46 UTC
Fine to me. Go ahead then
Comment 16 Matthew Barnes 2009-04-23 18:23:25 UTC
Committed the original patch (with padding=4).  Let the backlash begin!

http://git.gnome.org/cgit/evolution/commit/?id=ce11d292c5487743d0543dd998cfd26b8afd0827
Comment 17 Tomas Bzatek 2009-06-10 12:52:34 UTC
Voting for configurability, a GtkStyle property would be ideal.

I understand the need for consistent look with GtkTreeView however I still find the old layout optimal for my work (I spend several hours beneath the e-mail client every day). Even with large 24" monitor I prefer small fonts and as much information displayed as possible. For the moment, I've reverted the patch on my machines and recompiled the packages. 
Comment 18 Johannes Berg 2009-07-29 12:47:56 UTC
It should just be adhering to GtkTreeView::vertical-separator. Cf. my bug #590127 which complains about the lack of consistency with the folder list.