Bug 1000987

Summary: image scaled to 99% instead of 100%
Product: [Fedora] Fedora Reporter: Steve Tyler <stephent98>
Component: eogAssignee: Kalev Lember <kalevlember>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: kalevlember, stephent98
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-17 16:55:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot showing corrupt text in image scaled to 99% by eog
none
screenshot of VM window used as an example
none
screenshot highlighting corrupt text in image scaled to 99% by eog none

Description Steve Tyler 2013-08-26 09:13:21 UTC
Created attachment 790354 [details]
screenshot showing corrupt text in image scaled to 99% by eog

Description of problem:
When an image is opened with eog from the command-line, the image is scaled to 99% instead of 100%. When a VM screenshot is slightly downsized by this problem, text may become corrupt or unreadable.

See attached screenshot for an example.

Version-Release number of selected component (if applicable):
eog-3.8.2-2.fc19.x86_64

How reproducible:
Always.
Most of the images I work with are screenshots of VM windows.
They invariably exhibit this problem.

Steps to Reproduce:
1. Take a screenshot of a VM window.
2. $ eog Screenshot\ from\ 2013-08-26\ 01\:58\:35.png

Actual results:
Image is scaled to 99%.
Text is corrupt or unreadable.
Gray bands are visible along the left and right sides of the image.
See attached screenshot.

Expected results:
Image is scaled to 100%.
The window is sized to fit the image.

Additional info:
My display is 1920 x 1080 pixels:
$ xrandr | grep current
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192

Comment 1 Steve Tyler 2013-08-26 09:16:00 UTC
Created attachment 790356 [details]
screenshot of VM window used as an example

The VM command-line:
$ qemu-kvm -m 4096 -hda f19-test-1.img -vga std -boot menu=on

Comment 2 Steve Tyler 2013-08-26 09:17:52 UTC
(In reply to Steve Tyler from comment #0)
...
> Description of problem:
> When an image is opened with eog from the command-line, the image is scaled
> to 99% instead of 100%. When a VM screenshot is slightly downsized by this
> problem, text may become corrupt or unreadable.
...

The problem also occurs when the image is opened from a web browser that launches eog.

Comment 3 Steve Tyler 2013-08-26 09:56:26 UTC
Created attachment 790386 [details]
screenshot highlighting corrupt text in image scaled to 99% by eog

Comment 4 Kalev Lember 2013-08-26 10:03:07 UTC
Hi Steve,

Thank you for the bug report! We don't really do much EOG development here though and are only packaging it up. Could you please open a ticket with the upstream bug tracker and explain the issue there?

https://bugzilla.gnome.org/enter_bug.cgi?product=eog

Comment 5 Steve Tyler 2013-08-26 10:23:08 UTC
Do you think this is an eog problem or a library problem?

BTW, this NEW bug hasn't received the take-it-upstream brush-off: :-)
Bug 735611 - eog does not recognize XWD files

Comment 6 Kalev Lember 2013-08-26 10:32:08 UTC
(In reply to Steve Tyler from comment #5)
> Do you think this is an eog problem or a library problem?

I would assume it's an EOG problem and the initial size of the window is miscalculated: it's supposed to be big enough to fit the image at 100%, but apparently it's a few pixels too small.

Comment 7 Steve Tyler 2013-08-26 10:43:13 UTC
(In reply to Kalev Lember from comment #6)
> (In reply to Steve Tyler from comment #5)
> > Do you think this is an eog problem or a library problem?
> 
> I would assume it's an EOG problem and the initial size of the window is
> miscalculated: it's supposed to be big enough to fit the image at 100%, but
> apparently it's a few pixels too small.

OK, thanks.

Comment 8 Steve Tyler 2013-08-26 10:51:09 UTC
There is already an upstream bug for this problem. I cross-referenced to this one:

Bug 690236 - eog shows (small) pictures at 96% (and 97%) zoom, instead of (easily achievable) 100% 
https://bugzilla.gnome.org/show_bug.cgi?id=690236

Comment 9 Kalev Lember 2013-08-26 11:21:54 UTC
Excellent, thanks.

Comment 10 Fedora End Of Life 2015-01-09 19:35:44 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 11 Fedora End Of Life 2015-02-17 16:55:13 UTC
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.