mate-desktop / eom

An image viewer for MATE
http://www.mate-desktop.org
GNU General Public License v2.0
57 stars 32 forks source link

Fixed size of main window #11

Open CopyKat opened 11 years ago

CopyKat commented 11 years ago

EOM does resizing window depending on loaded image size. It would be nice to add function to fix window size, like a checkbox in settings or something other.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27524805-fixed-size-of-main-window?utm_campaign=plugin&utm_content=tracker%2F1187514&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1187514&utm_medium=issues&utm_source=github).
steffmeister commented 11 years ago

And what window size should it be then? Remember the last size / or always full-size or what size did you think of?

CopyKat commented 11 years ago

Hmm.. I think memorization of last size is best choice. In case of you need full-size, it can be done via maximizing size once with proposed option.

JBHoren commented 2 years ago

Even in eom-1.26.0-1 (arm64, Debian), this remains an annoying issue. Specifically:

  1. Launch eom (standalone, without specifying image file)
  2. Image:Open:File (image displays at ~60% of full size)
  3. View:Normal Size (image "zoomed", but window remains same size)
  4. Image:Open:File (different file opens at 100% of full size, new window sized to fit file)

Given that the image width/height are known (displayed in status bar), the window (Step 2) ought to be sized to fit the image at 100%.

Note: The aforementioned behavior does not happen when an image file is opened within the Nautilus file manager. There, the image opens at 100% of full size, and the window is sized to fit the file.