Bug 875124 - "Take screenshot" dialog should add .png to the saved file name and ignore all common image extensions typed
Summary: "Take screenshot" dialog should add .png to the saved file name and ignore al...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: mingw-virt-viewer
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 3.2.0
Assignee: Marc-Andre Lureau
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-09 15:18 UTC by David Jaša
Modified: 2013-06-10 20:01 UTC (History)
6 users (show)

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.
Clone Of:
: 875126 (view as bug list)
Environment:
Last Closed: 2013-06-10 20:01:14 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
mingw-virt-viewer-0.5.3-20.el6ev screenshot of files saved (98.32 KB, image/png)
2013-03-13 14:57 UTC, Bill Sanford
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2013:0889 0 normal SHIPPED_LIVE mingw-virt-viewer enhancement update 2013-06-10 23:53:14 UTC

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


Note You need to log in before you can comment on or make changes to this bug.