GNOME Bugzilla – Bug 752693
how to turn off the distracting dash line?
Last modified: 2018-05-22 16:17:36 UTC
A distracting 1 pixel thick dash line is drawn at the top and bottom of the page when the whole page cannot be fit onscreen. I already know I'm only looking at part of the page. Duh. This dashed line is very distracting. Can I turn it off?
That is not something set in Evince, but in GTK+ or maybe in ATK. It is also in other applications, like Gedit, evolution, Rhythbox, etc.
This is done by GtkScrolledWindow, and it's done unconditionally without any API to turn it off (gtk_scrolled_window_draw_undershoot()). The only way I see to fix this in evince would be to install some CSS that overrides the theme's .undershoot.{top,bottom,left,right} rules that are in gtk+/gtk/theme/Adwaita/gtk-contained.css .
*** Bug 763459 has been marked as a duplicate of this bug. ***
Bug 747710 is related to this.
I forgot to add the relevant comment that states the behaviour is intentional: "Yes, that's how the scrolled window communicates that there is further content."
g-t has some css that should (untested) do away with the dashed lines: https://git.gnome.org/browse/gnome-terminal/tree/src/terminal.common.css (need to adapt the css selctor from 'terminal-window' to whatever evince uses, of course).
Good point Christian. I was wondering if Evince would be the only application to do that (if it were going to do it). I believe It would be annoying in a terminal. Regarding to Evince, I confess that at the beginning I found the dash lines uncomfortable, but maybe I got used to with the time, or that they seem to be less visible when using fit width.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/evince/issues/613.