11

I recently noticed that Evince started showing the following unusual behavior when in Presentation mode (after F5 is pressed) on my laptop: instead of making the slide occupy most of the screen, it keeps it to a pretty low dimension, and fills the rest in black, as in screenshot below.

Zooming seems disabled in Presentation mode, despite working outside Presentation mode, and I couldn't find any other related options to adjust, so I can't find a way to enlarge the slide back.

This makes it quite unusable for seminars and for screen sharing. Does anybody have any suggestion? Many thanks!

enter image description here

3 Answers3

4

I'm using Ubuntu 20.04 and evince 3.36.7. I have met the issue.

After searching in evince official repository issues I think the answer is in:

https://gitlab.gnome.org/GNOME/evince/-/issues/1486

https://gitlab.gnome.org/GNOME/evince/-/issues/1504


Basically, the issue is introduced when fixing an issue on Wayland but forgetting to limit the fix to Wayland. You should either use Wayland protocol, or use a newer version of envice (you can install the newer version from snap, flathub, etc). For example, use evince from snap:
sudo snap install evince
yusanshi
  • 236
2

It seems as of this year (2023) this is still an unfixed issue in some cases: https://gitlab.gnome.org/GNOME/evince/-/issues/1600 - possibly when using Wayland with fractional or just non-100% scaling. I am still getting a small frame in presentation mode for Beamer slides as well, with Evince 45 under a gnome-shell 45.1 Wayland session with 150% display scaling (on arch linux).

The main workaround seems to be to temporarily switch to 100% scaling in the system display settings, which did work for me, but consequently makes all the UI toolbars tiny on my HiDPI screen.

An alternative quick workaround mentioned here is if you run Evince with WAYLAND_DISPLAY="", this forces it to start in X mode. It looks blurry for me on fractional scaling but at least fills the screen properly in presenter mode.

1

This is likely only tangentially related to your problem, but for the sake of creating a tutorial video in a given resolution, I needed fullscreen mode with a fixed size of 1280×720. Unable to find anything in Evince's command line arguments and options that would have helped, in the end I turned to running an Xnest server with the given resolution and started Evince inside.

I experienced exactly the problem you described. In my case, the culprit was that Evince started with its (X server given?) default window size and had no window manager available to tell it what size it actually wanted to be at. Starting xfwm4 in that artificial Xnest server helped: now Evince could ask to go fullscreen.

What does this imply for your problem? Not much likely, except that the configuration of your window manager is likely the best place to be looking for with regard to why the window resizing in presentation mode goes wrong, or even does nothing at all. And it might be worth trying out a different window manager (if necessary, by using a different desktop environment). If all else fails, using Xnest may work in the context of "screen" sharing though it would help more with specific application problems rather than, say, finding the best way to do something using your standard desktop.