Bug 875124

Summary: "Take screenshot" dialog should add .png to the saved file name and ignore all common image extensions typed
Product: Red Hat Enterprise Virtualization Manager Reporter: David Jaša <djasa>
Component: mingw-virt-viewerAssignee: Marc-Andre Lureau <marcandre.lureau>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: bsanford, cfergeau, dblechte, jbiddle, pvine, sgrinber
Target Milestone: ---   
Target Release: 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mingw-virt-viewer-0.5.3-18.el6ev Doc Type: Bug Fix
Doc Text:
Previously, it was possible to save a screenshot with any extension name, despite the fact that screenshots are always in .png format; for example it could be saved as screenshot.jpg even though it was coded as .png. Now, when saving a screenshot, the .png extension is enforced; other image types are also now an option.
Story Points: ---
Clone Of:
: 875126 (view as bug list) Environment:
Last Closed: 2013-06-10 20:01:14 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
mingw-virt-viewer-0.5.3-20.el6ev screenshot of files saved none

Description David Jaša 2012-11-09 15:18:54 UTC
Description of problem:
"Take screenshot" dialog should add .png to the saved file name and ignore all common image extensions typed.

The image saved is always in PNG format so .png file extension should be harcoded to the dialog in some smart way. Currently, if you change your image name to "something.jpg", it will be saved with such name but the data is still png-encoded...

Version-Release number of selected component (if applicable):
mingw-remote-viewer-0.5.3-16
virt-viewer-0.5.2-16.el6.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Marc-Andre Lureau 2013-02-14 18:15:53 UTC
This bug should really have been a dup of bug 875126.

Since it's already included in mingw-virt-viewer-0.5.3-18.el6ev, moving to MODIFIED (right?)

Comment 3 Bill Sanford 2013-03-12 18:57:33 UTC
The bug says this is fixed in mingw-virt-viewer-0.5.3-18.el6ev.

I am testing with mingw-virt-viewer-0.5.3-20.el6ev and can save a screenshot with the .jpg and not have the .png appended as the file extension.

Setting this back to assigned.

Comment 4 Marc-Andre Lureau 2013-03-12 20:12:52 UTC
Are you sure the extension is not hidden my windows explorer?

Comment 5 Bill Sanford 2013-03-13 14:57:28 UTC
Created attachment 709627 [details]
mingw-virt-viewer-0.5.3-20.el6ev screenshot of files saved

Comment 6 Bill Sanford 2013-03-13 14:59:22 UTC
I am positive that the "Hide extensions for known file types" is unchecked and the file is a .jpg file.

Comment 7 Marc-Andre Lureau 2013-03-13 15:12:35 UTC
(In reply to comment #6)
> I am positive that the "Hide extensions for known file types" is unchecked
> and the file is a .jpg file.

I propose to move that bug out of 3.2 (...)

Comment 8 Marc-Andre Lureau 2013-03-13 16:57:08 UTC
the file format saved depend on the extension you give. So jpg if it ends with .jpg. If extension is not recognized it falls back to png, and .png extension is appened.

Comment 9 Bill Sanford 2013-03-18 15:41:51 UTC
Ok, this bug is verified fixed.

Comment 12 errata-xmlrpc 2013-06-10 20:01:14 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2013-0889.html