Open Bug 875715 Opened 6 years ago Updated 5 months ago

Add a "Save Image" item in the context menu for standalone SVG

Categories

(Firefox :: Menus, enhancement)

enhancement
Not set

Tracking

()

UNCONFIRMED

People

(Reporter: s.mehrbrodt, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: dupeme, Whiteboard: [wontfix?] )

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:21.0) Gecko/20100101 Firefox/21.0 (Beta/Release)
Build ID: 20130512194445

Steps to reproduce:

Open an SVG Image, e.g. http://openclipart.org/people/J32/color_icons.svg
Look for a way to save the image to disk.


Actual results:

There is no "Save Image" entry in the context menu.


Expected results:

There should be one.
What's wrong with Save Page As... ?
bug 334801 comment 19 says:
"they can either View Page Source on the SVG file itself, or they can save it locally" from the "File" menu.
SVG is a document itself that can contain <image>s within it, and indeed the linked example has this. Should right-clicking each individual <image> within the SVG provide a save option for just that part?
I'm not sure if this is a duplicate of bug 348755 which is asking for a specific context menu just for SVG.
Well, the average user doesn't see an SVG file as document, but as Image.
I would find it naturally that an SVG file has an option "Save Image" which would save the whole SVG document the same way any other image can be saved.
Component: Untriaged → Menus
Whiteboard: [wontfix?]
Summary: Missing "Save Image" entry on SVG Images → Add a "Save Image" item in the context menu for SVG
Summary: Add a "Save Image" item in the context menu for SVG → Add a "Save Image" item in the context menu for standalone SVG
Severity: normal → enhancement
OS: Linux → All
Hardware: x86_64 → All
Whiteboard: [wontfix?] → [wontfix?] [dupeme]
Version: 21 Branch → Trunk
(In reply to Samuel M. from comment #3)
> Well, the average user doesn't see an SVG file as document, but as Image.
> I would find it naturally that an SVG file has an option "Save Image" which
> would save the whole SVG document the same way any other image can be saved.


Samuel is correct. I confirm this is a Bug, an omission of a Command in the Menu, since the Browser recognizes .SVGs as Images. 

If we did not support .SVG Files then that would be a different circumstance and thus we would not need such a feature to be present.


Here is an example STR:

 1. Visit this HTML Page: http://en.wikipedia.org/wiki/File:Light_spectrum.svg
 2. Scroll to the bottom of the Page and notice the "poweredby_mediawiki_88x31.png" Image in the bottom right corner.
 3. The "poweredby_mediawiki_88x31.png" Image is a .PNG File (and most would not argue that it is an Image).
 4. You can right click on an Image to save it (as we all know), but I ask that you right click and "Copy Image Location". This is the URL you are copying: http://bits.wikimedia.org/static-1.23wmf18/skins/common/images/poweredby_mediawiki_88x31.png .
 5. Open a new Tab and paste that URL into the URL Bar and 'goto' that Image.
 6. Now you can right click on that tiny Image and save it (you do not have to "save Page As").
 7. You can close that Tab (containing the "poweredby_mediawiki_88x31.png" Image) and continue these STRs.
 8. Now, back at the http://en.wikipedia.org/wiki/File:Light_spectrum.svg URL (from Step 1) that you opened, go to the top of the Page (again).
 9. Right click on the "Class Freq. Wavelenght Energy" Image at the top of the Page (the main Image featured on this Page) (It's URL is http://upload.wikimedia.org/wikipedia/commons/thumb/e/eb/Light_spectrum.svg/324px-Light_spectrum.svg.png).
10. Note that right click allows save Image as. Dismiss that right-click Menu by clicking on the white space to the right of it.
11. Now click on that (.SVG) Image which will take you to the URL http://upload.wikimedia.org/wikipedia/commons/e/eb/Light_spectrum.svg .
12. Now right click on that Image. Note that you can NOT "Save Image As", though you could "Save Page As" that does not explain the missing Menu Feature.

Thus, Samuel is correct (I was going to file this Bug but I found this Dupe).

The Menu is inconsistent and is missing the "Save Image As" Feature when you ARE viewing an "Image" (in this case an .SVG Image, which our Browser recognizes and supports as an Image File); where you to visit a .PNG Image in the same manner you would have the choice to "Save Image As", thus the Menu is missing this Command.





PS: Note you can not click on the 'WikiGlobe' (upper left corner) since it is a 'div background' -- IE:

background-image: url(//upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png);
Depends on: 1235179
See Also: → 1496992
Keywords: dupeme
Whiteboard: [wontfix?] [dupeme] → [wontfix?]
You need to log in before you can comment on or make changes to this bug.