Ticket #1772 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

image/svg+xml doesn't open in Browse

Reported by: walter Owned by: erikos
Priority: Unspecified by Maintainer Milestone: 0.88
Component: Browse Version: Unspecified
Severity: Major Keywords:
Cc: Distribution/OS: Unspecified
Bug Status: New

Description

The SVG mimetype (image/svg+xml) seems to not be registered with Browse. You should be able to open an SVG file in the browser.

Change History

Changed 3 years ago by walter

All that is needed is to add image/svg+xml to the mime_types list in activity.info

Any chance this could be done sooner than later, as it great enhances the save SVG capability of Turtle Art to have a way of viewing SVG files in Sugar.

Changed 3 years ago by walter

Please see  http://bugs.sugarlabs.org/ticket/1771#comment:1 re making Browse be the default activity for opening SVG.

Changed 3 years ago by erikos

  • status_field changed from Unconfirmed to New
  • milestone changed from Unspecified by Release Team to 0.88

Hi Walter, what about if imageviewer is the default activity for showing svg's? Would that makes more sense?

Changed 3 years ago by walter

Perhaps Imageviewer (which also doesn't seem to know about image/svg-xml) should be the default. But certainly Paint, which changes the format from SVG to PNG should not be the default. And you definitely want to be able to open SVGs in Browse, if only to be able to take advantage of View Source.

Changed 2 years ago by RafaelOrtiz

The issues of which activity is open by default is fixed on paint, nevertheless browse should open SVG files fixed on my clone

 http://git.sugarlabs.org/~RafaelOrtiz/browse/browse-test/commit/9fcc37eb400f2d3d1da9ea4a76f98690e746ccbf

merge request

 http://git.sugarlabs.org/browse/mainline/merge_requests/3

Changed 2 years ago by RafaelOrtiz

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.