Skip to content

EOM window overflows past the screen for certain image resolutions  #349

@Botspot

Description

@Botspot

Expected behaviour

For images that are too large to display at 100% zoom level on this display, eom should display the image at a smaller size and scale the window appropriately.

Actual behaviour

For certain image resolutions, eom fails to scale down the image and instead covers the entire screen with a window larger than the physical screen size.

Steps to reproduce the behaviour

Open an image with the following dimensional characteristics:

  • Width of image is greater than the height of the screen.
  • Height must be less than or equal to width, but also greater than the height of the screen.

Here is an image with those characteristics: 2263x2262.jpg

On my 1080p screen, opening the image looks like this:
300643870-70889401-a7e7-44d8-b480-e05e7b61ba74
You can see that eom's interface and the window border is beyond the top and bottom edges of the screen. The only way to close it was with Alt+F4.

This may seem like an extreme edge case, but I have a number of manually cropped images with an odd X-dimension and an even Y-dimension, thanks to Shotwell's not-quite-perfect job at cropping pictures to a square.

MATE general version

Mate is not installed on this distro.

Package version

eom 1.26.0-2
Maintainer: Debian+Ubuntu MATE Packaging Team <[email protected]>

Linux Distribution

Raspberry Pi OS Bookworm 64-bit (wayfire window manager)

Link to bugreport of your Distribution (requirement)

RPi-Distro/repo#366

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions