GNOME Bugzilla – Bug 751112
Since gtk3 line number column isn't greyed in mousepad and gedit
Last modified: 2015-06-18 12:58:57 UTC
Don't know which component is exactly guilty, but since GTK3 there is theme change in GtkSourceView, so line number column is the same color as a text field, it's confusing. In gtk2 it was gray. Look here too https://bugzilla.xfce.org/show_bug.cgi?id=11990
Re-assigning to the right component, but it would be helpful to know: - the version of GTK+ 3 - the version of GtkSourceView - the theme you are using before anybody is able to give you a meaningful answer.
Also: a screenshot would help diagnose the issue for those not experiencing it.
Created attachment 305487 [details] Greybird Mousepad 0.4 Themes where bug appeared: Greybird, Numix, Highcontrast libgtk-3-dev Version: 3.14.13-0ubuntu1 libgtksourceview Version: 3.14.4-1
I think the bug occurs in any theme that doesn't explicitly set a "line-numbers" style (which also sets "text" style, so both seem to need to be changed). I can get a normal background in the line numbers margin if I copy those two styles from the Kate theme. I guess probably the default values broke/changed. Quickly skimming the Git log, it might be one of these: https://git.gnome.org/browse/gtksourceview/commit/gtksourceview/gtksourcestyle.c?id=9ba6e86db7aa1d985580d7edf4f86528cb8aff10 https://git.gnome.org/browse/gtksourceview/commit/gtksourceview/gtksourcestylescheme.c?id=3f7b4fdfcd601b91194fd056a836d2b7d097eb47 But I could be way off base, I didn't investigate deeply.
With GtkSourceView 3.16 the line numbers column is gray, also with the classic and tango style schemes.
In classic and tango theme they were grey even in 3.14. Check please with one of listed above: Greybird, Numix, Highcontrast