Bug 384751 - must supply filename extension when saving captured image
Summary: must supply filename extension when saving captured image
Status: RESOLVED DUPLICATE of bug 373167
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR grave
Target Milestone: ---
Assignee: Boudhayan Gupta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-15 17:53 UTC by bugcatcher1@cox.net
Modified: 2017-09-18 00:25 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bugcatcher1@cox.net 2017-09-15 17:53:55 UTC
User must supply ".png" suffix when doing "save as" on captured image. If not supplied, then told that spectacle cannot save file because of "unknown" file format.

Really???  Your program is saving something you captured and you do not know that it will be a png image???? Especially confusing when the default file search is is for "*.png"

If you search for "*.png" then why not make that the default file extension???

If user does not supply extension, then assume it is supposed to be a png. Why should user have to supply that as part of the name?

I am using "save as" because the "save" just dumps a screenshotxxxxxxx into my picture directory. I do not want that default name, nor do I want it dumped into that directory!
Comment 1 martonmiklos 2017-09-16 18:44:26 UTC
For me (Spectacle 16.04.3). The save as automatically suggest a filename with png extension. 
If I delete the .png extension from the filename the program automatically adds the png extension (I think this is an expected behaviour.)
Comment 2 bugcatcher1@cox.net 2017-09-16 19:38:06 UTC
Marton,

I agree with you that the program should do both of those things. However, mine does neither one. Yes, I would expect the program to provide the png extension automatically. That is why I am reporting this bug.

I am using Version 15.12.3

Attempt to do "save as" get the error as reported. 

NO there is NO filename suggested, so no ".png" suffix.

These are the error messages:

Get this pop-up box: QImageWriter cannot write image: Unsupported image format
click OK
Get this pop-up box: Cannot save screenshot. Error while writing file.

I then have to retype the entire filename, because the program did not save/redisplay it. This is actually another bug.


(In reply to martonmiklos from comment #1)
> For me (Spectacle 16.04.3). The save as automatically suggest a filename
> with png extension. 
> If I delete the .png extension from the filename the program automatically
> adds the png extension (I think this is an expected behaviour.)
Comment 3 martonmiklos 2017-09-16 20:07:28 UTC
Do you have ability to try out a newer version?
Because it seems to be fixed already.
Comment 4 Christoph Feck 2017-09-18 00:25:20 UTC

*** This bug has been marked as a duplicate of bug 373167 ***