Strange behaviour with wide images.

Issue #119 new
Frédéric Blondiau created an issue

Images taller than the effective window height (as available on the screen) makes Gaplin’s behaviour strange. You can’t scroll them, and resizing the window temporarily moves its title bar out of the screen.

Here is a simple .svg file exposing the problem (on my 1920x1080 screen – the screen height of 1080 being lower than 2000).

<svg viewBox="0 0 30 2000" xmlns="http://www.w3.org/2000/svg">
<rect x="10" y="10" width="10" height="10"/>
<rect x="10" y="1980" width="10" height="10"/>
</svg>

The Safari behaviour is to scale the image down… maybe, this would be a good default behaviour (even if it misses a way to zoom in or out).

The same happens with images wider than the screen width, but there you still can see the entire picture by moving the window left or right, dragging the title bar.

Comments (2)

  1. Log in to comment