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 747729 - Update UI styles to be closer to gtk+ 3.16
Update UI styles to be closer to gtk+ 3.16
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: general
3.16.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
: 747799 (view as bug list)
Depends on:
Blocks: 748285
 
 
Reported: 2015-04-12 09:35 UTC by Trinh Anh Ngoc
Modified: 2015-04-22 09:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot (Better UI) (410.08 KB, image/png)
2015-04-12 09:35 UTC, Trinh Anh Ngoc
  Details
Add-linked-style-class-for-ECanvas-header (1.14 KB, patch)
2015-04-12 09:37 UTC, Trinh Anh Ngoc
none Details | Review
Remove-shadow-in-scrolled-windows (6.09 KB, patch)
2015-04-12 09:37 UTC, Trinh Anh Ngoc
none Details | Review
Add-top-and-bottom-content-separators (1.22 KB, patch)
2015-04-12 09:38 UTC, Trinh Anh Ngoc
none Details | Review
Remove-override-background-color-in-eventbox (2.07 KB, patch)
2015-04-12 09:39 UTC, Trinh Anh Ngoc
none Details | Review
Add-miss-top-padding-in-switcher-buttons-layout (1.16 KB, patch)
2015-04-12 09:39 UTC, Trinh Anh Ngoc
none Details | Review
Add-margin-to-calendar-widget-in-sidebar (981 bytes, patch)
2015-04-12 09:40 UTC, Trinh Anh Ngoc
none Details | Review
Screenshot (without patches) (457.17 KB, image/png)
2015-04-15 09:58 UTC, Trinh Anh Ngoc
  Details
Screenshot (with wide handle) (453.47 KB, image/png)
2015-04-15 10:59 UTC, Trinh Anh Ngoc
  Details
unidentifiable columns in Task view (64.73 KB, image/png)
2015-04-16 18:37 UTC, Luis Henrique Mello
  Details
unidentifiable column in Memos view (57.28 KB, image/png)
2015-04-16 18:39 UTC, Luis Henrique Mello
  Details
Improve UI on GNOME 3.16 (11.21 KB, patch)
2015-04-21 16:37 UTC, Trinh Anh Ngoc
none Details | Review

Description Trinh Anh Ngoc 2015-04-12 09:35:11 UTC
Created attachment 301400 [details]
Screenshot (Better UI)

Evolution UI looks bad in recent versions of GNOME. I tweaked it a bit to look better. However, i think we need do more to improve UI. Many custom widgets is ugly and able replaced by new gtk+ widgets.
Comment 1 Trinh Anh Ngoc 2015-04-12 09:37:16 UTC
Created attachment 301401 [details] [review]
Add-linked-style-class-for-ECanvas-header
Comment 2 Trinh Anh Ngoc 2015-04-12 09:37:53 UTC
Created attachment 301402 [details] [review]
Remove-shadow-in-scrolled-windows
Comment 3 Trinh Anh Ngoc 2015-04-12 09:38:48 UTC
Created attachment 301403 [details] [review]
Add-top-and-bottom-content-separators
Comment 4 Trinh Anh Ngoc 2015-04-12 09:39:16 UTC
Created attachment 301404 [details] [review]
Remove-override-background-color-in-eventbox
Comment 5 Trinh Anh Ngoc 2015-04-12 09:39:56 UTC
Created attachment 301405 [details] [review]
Add-miss-top-padding-in-switcher-buttons-layout
Comment 6 Trinh Anh Ngoc 2015-04-12 09:40:22 UTC
Created attachment 301406 [details] [review]
Add-margin-to-calendar-widget-in-sidebar
Comment 7 André Klapper 2015-04-13 09:12:21 UTC
Thanks for the patches!
Comment 8 Milan Crha 2015-04-15 09:51:01 UTC
Thanks for a bug report and patches. Could you capture a screenshot without those patches applied, please? I do not see much difference, except of the icons in the header bar being aligned to the right, while they should be in the center.
Comment 9 Trinh Anh Ngoc 2015-04-15 09:58:37 UTC
Created attachment 301608 [details]
Screenshot (without patches)
Comment 10 Milan Crha 2015-04-15 10:10:24 UTC
*** Bug 747799 has been marked as a duplicate of this bug. ***
Comment 11 Milan Crha 2015-04-15 10:23:49 UTC
Thanks for the screenshot. I just noticed that bug #747799 has the screen shot too.

If I see the differences right, and they are mostly tiny from my point of view:
a) toolbar has a bottom horizontal line
   * I'm fine with this
b) added bigger vertical gap in the search bar line
   * I'm not a fan of bigger gaps, we also aim small screens where each
     pixel counts
c) removed lines around the folder tree
   * It makes it look awkward (without border, not separated from
     the surrounding darker widgets)
d) not much space for dividers/sliders between the folder tree and between
   the message list and the message preview
   * The way gtk begun to "render" sliders is awful from my point of view,
     because there is absolutely no indication that a user can actually slide
     anything there - "either you know or you are doomed" rule doesn't work
e) status bar has a top horizontal line, which divides it from the switcher
   buttons at the bottom
   * I would not add that line there, the division between the two is
     not necessary
f) the header icons has the aforementioned horizontal offset
   * the bug #747799 is about it, let's deal with it here
Comment 12 Trinh Anh Ngoc 2015-04-15 10:57:17 UTC
b) Sorry, that screenshot is outdate :)
c) I will add it.
d) We can set wide-handle property but requiring Gtk+ 3.16. Other way, get -GtkPaned-handle-size value from theme and apply custom css.
e) I think it's nice on Adwaita.
Comment 13 Trinh Anh Ngoc 2015-04-15 10:59:19 UTC
Created attachment 301615 [details]
Screenshot (with wide handle)
Comment 14 Luis Henrique Mello 2015-04-16 18:37:05 UTC
Created attachment 301751 [details]
unidentifiable columns in Task view

About icons, the 'Type' and 'Completed' columns in the Task view don't have anything (an icon for example) to make them easy to identify on the spot.
Comment 15 Luis Henrique Mello 2015-04-16 18:39:25 UTC
Created attachment 301752 [details]
unidentifiable column in Memos view

The 'Type' column in the Memos view is also identifiable at sight.
Comment 16 Milan Crha 2015-04-20 10:42:52 UTC
(In reply to Luis Henrique Mello from comment #14)
> Created attachment 301751 [details]
> unidentifiable columns in Task view
> 
> About icons, the 'Type' and 'Completed' columns in the Task view don't have
> anything (an icon for example) to make them easy to identify on the spot.

(In reply to Luis Henrique Mello from comment #15)
> Created attachment 301752 [details]
> unidentifiable column in Memos view
> 
> The 'Type' column in the Memos view is also identifiable at sight.

The both is a regression either from gtk+ itself or by the styling, because I see there those icons with gtk3 3.14.6, but not with gtk3 3.16.0. I also believe it's related to this:

(In reply to Milan Crha from comment #11)
> f) the header icons has the aforementioned horizontal offset
>    * the bug #747799 is about it, let's deal with it here
Comment 17 Milan Crha 2015-04-20 10:53:02 UTC
Trinh, could you merge all your patches into one, add the fix for header icons and upload it here for review, please?

(In reply to Trinh Anh Ngoc from comment #13)
> Created attachment 301615 [details]
> Screenshot (with wide handle)

Those handle lines look odd, especially at the left-center place where the horizontal slider is connected to the vertical slider. It's not that visible with the older (3.14.6) gtk, because the slider was a dark space, not a space with up/bottom or left/right border lines and a light background.

I do not think it's a good idea to overwrite the style in the code much, because: a) tweaking for one theme may break any other themes; b) diverging from the theme settings might change user's experience, different look and feel than other applications, which is slightly against your initiative here. In other words, it's hard to find a good consensus.

If the default gtk+ theme forces 0-width sliders, then there is basically nothing we can do about it (which is the meaning of my rant at the comment #11, it wasn't that much about your change, but about the theme change).
Comment 18 Trinh Anh Ngoc 2015-04-21 16:37:02 UTC
Created attachment 302086 [details] [review]
Improve UI on GNOME 3.16
Comment 19 Milan Crha 2015-04-22 09:17:36 UTC
Thanks for the update. The patch introduces one compiler warning:
   e-shell-sidebar.c: In function 'e_shell_sidebar_init':
   e-shell-sidebar.c:438:10: warning: unused variable 'bg' [-Wunused-variable]
     GdkRGBA bg;
             ^
which I fixed before committing.

Created commit 2702cc0 in evo master (3.17.1+)
Created commit beca851 in evo gnome-3-16 (3.16.2+)
Comment 20 Milan Crha 2015-04-22 09:46:59 UTC
I opened bug #748285, because the above change doesn't address that part.

Trinh, I'd appreciate if you could look on it. Thanks in advance.