'Save Page As' on standalone images suggests wrong filename
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Midori Web Browser |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
To reproduce:
Visit a page that's just an image, e.g. <http://
Press ^S or File->Save Page As.
Midori suggests "pDJcx.png (406x378 pixels)" as a filename, instead of just "pDJcx.png".
This is with a recent (~1 day) git version.
EDIT: Actually, this is substantially broken. If you change the filename and proceed, I ended up with both a file and a folder; the file is named <filename>.html where <filename> is the filename specified by the user, and the folder is named <filename> and is empty.
Ideally we would allow the user to choose whether to save just html or an archive for full pages; often the text is the only important part of a page and all the js and images are useless.
description: | updated |
Changed in midori: | |
status: | Fix Committed → Fix Released |
I went ahead and added a code path that only saves the file, also not using the title for the filename. I also added a checkbox that is visible whenever it's text and there may be other resources.