EOG opens images with 99% zoom (blurry) instead of 100%

Bug #231385 reported by zubuntu on 2008-05-17
60
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Eye of GNOME
Fix Released
Medium
eog (Ubuntu)
Low
Ubuntu Desktop Bugs

Bug Description

the images which can fit the eog window with 100% zoom will be opened with 99% zoom - seem blurry, the eog windows must be resized each time.

Related branches

Pedro Villavicencio (pedro) wrote :

thanks for your report, that's likely known upstream you can track it here: http://bugzilla.gnome.org/show_bug.cgi?id=530447

Changed in eog:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Triaged
Changed in eog:
status: Unknown → Confirmed
sz (szeder) wrote :

Why not do simply the following?

diff --git a/src/eog-window.c b/src/eog-window.c
--- a/src/eog-window.c
+++ b/src/eog-window.c
@@ -1300,7 +1300,7 @@ eog_window_obtain_desired_size (EogImage *image,
  screen_height = monitor.height;

  deco_width = window_width - view_width;
- deco_height = window_height - view_height;
+ deco_height = window_height - view_height + 5;

  if (img_width > 0 && img_height > 0) {
   if ((img_width + deco_width > screen_width) ||

OK, it's not the right solution, but
- it solves the problem (at least with ubuntu's default gtk theme; I don't know, it might depend on the theme used)
- it has minimal impact (getting a window 5 pixel higher when image collection is shown doesn't really matters)
- you could ship intrepid with one less annoying bug

Changed in eog:
status: Confirmed → Fix Released
Pedro Villavicencio (pedro) wrote :

fixed upstream, thanks for reporting.

Changed in eog:
status: Triaged → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package eog - 2.24.1-0ubuntu1

---------------
eog (2.24.1-0ubuntu1) intrepid; urgency=low

  * New upstream release (lp: #286679)
    - Improvements to the JPEG metadata reader (Felix Riemann)
    - Fix progress reporting when images only need copying during
      "Save As" (Felix Riemann)
    - Fix some critical warnings (Claudio Saavedra, Vincent Untz)
    - Do not open some images at 98% or 99% (Felix Riemann)
    - Install metadata related headers properly (Pierre-Luc Beaudoin)
    - Avoid possible markup "injection attack" (Martin Olsson)
    - Docs improvements.
   Bug fixes:
   - #530447, Eye of GNOME opens images resized at 98% or
     99% zoom (Felix Riemann) (lp: #231385)
   - #555940, eog is vulnerable to pango injection
     attack :-) (Martin Olsson)
   - #555942, Not all public EXIF API headers are installed
     (Pierre-Luc Beaudoin)

 -- Pedro Fragoso <email address hidden> Mon, 20 Oct 2008 23:46:20 +0100

Changed in eog:
status: Fix Committed → Fix Released
Changed in eog:
importance: Unknown → Medium
Mike (0x656b694d) wrote :

Hello,

the bug is still here in Ubuntu 13.10

Nicolas (nickolas-ivanov) wrote :

For users information:
try hiding the toolbar to get your images displayed correctly.

Nazar Mokrynskyi (nazar-pc) wrote :

Still not fixed!

Nazar Mokrynskyi (nazar-pc) wrote :

Posted bug on their bugzilla, please, add your vote there
https://bugzilla.gnome.org/show_bug.cgi?id=733290

Rasmus Graver (rasmus-graver) wrote :

I have installed Ubuntu on several computers the last years, and I have experienced this bug in most of the installations. So annoying: Why not just make the window 2px bigger to fit the image on 100%.

pabouk (pabouk) wrote :

There is a new bug report specific to Ubuntu 14.04 / 14.10: bug #1296487

Could you please vote (and subscribe) there?

---
@Rasmus Graver: "Why not just make the window 2px bigger to fit the image on 100%."

Because the difference is not always 2 pixels. Try to change the theme to High Contrast - the bug will not show up. Try to disable the toolbar in EOG - the bug will not show up. ...and anyway adding two pixels will not be a correct fix and the problem would probably manifest different ways in the future.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.