Why does Evince add boundaries around the document?

1

Since upgrading my Xubuntu, Evince behaves weird: it doesn't use its full window for displaying the document, but wastes a lot of screen real-estate with empty margines around it as soon as the page width doesn't full fit within. I.e., as long as the zoom is set to “fit width” there is no problem, but as soon as I choose fixed zoom and adjust the window size to be narrower than the document, I get these useless margins:

The margin-adding behaviour of Evince

This didn't happen in the Ubuntu 14.04 version of Evince, where I always set the zoom to 100% and scaled down the window, precisely to get rid of the printing page boundaries. Now in Xubuntu 16.04, I can't comfortably fit multiple documents on one screen without zooming out to an extend that gets hard to read.

Is this some sort of new option (if so, where do I disable it?) or just a bug, perhaps one that only turns up when running a recent combination of Evince on XFCE?

leftaroundabout

Posted 2017-06-27T09:31:13.747

Reputation: 342

Answers

0

Actually, this turned out to be just an overzealous option setting in my appearance theme. Namely, in ~/.themes/Xfce-darkness/gtk-3.0/gtk-widgets.css,

* {
    /* inherit colors from parent */
    color: inherit;
    background-color: inherit;
}

Which made everything take over the theme's default background colour. That included also some kind of boundary element in the Evince window, which should really have been transparent.

Removing this (anyway questionable, because catch-all, and also completely unnecessary for me) clause fixed the problem.

leftaroundabout

Posted 2017-06-27T09:31:13.747

Reputation: 342