Bug 247391 - konq: embeded svg image not showing
Summary: konq: embeded svg image not showing
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: khtml svg (other bugs)
Version First Reported In: 4.5.0
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-11 16:41 UTC by missive
Modified: 2023-01-17 05:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
svg embed test case (193 bytes, text/html)
2010-08-11 16:50 UTC, missive
Details
matching svg image for test case (3.17 KB, image/svg+xml)
2010-08-11 16:55 UTC, missive
Details

Note You need to log in before you can comment on or make changes to this bug.
Description missive 2010-08-11 16:41:30 UTC
Version:           4.5.0 (using KDE 4.5.0) 
OS:                Linux

I've found 2 recommended ways to embed an svg image on an html page:

<object data="img.svg" type="image/svg+xml"></object>

and

<object data="img.svg" type="image/svg+xml">
  <embed src="img.svg" type="image/svg+xml"/>
</object>

Both ways display the svg image in Firefox, Opera and Chrome, but neither one works in Konqueror.

The svg image does display properly when browsing directly to the file.


Reproducible: Always

Steps to Reproduce:
Create html page with link to embed svg image.
Browse to page.

Actual Results:  
svg image is not visible.

Expected Results:  
svg image should display embedded in page.

OS: Linux (i686) release 2.6.32-24-generic
Compiler: cc
Comment 1 missive 2010-08-11 16:50:58 UTC
Created attachment 50014 [details]
svg embed test case
Comment 2 missive 2010-08-11 16:55:44 UTC
Created attachment 50015 [details]
matching svg image for test case
Comment 3 Maksim Orlovich 2010-08-12 00:37:42 UTC
Can't confirm. Could you please check your file associations for the SVG mimetype?
Comment 4 missive 2010-08-12 02:03:34 UTC
I have not changed it at all, but it says:

image/svg+xml:
  General:
    *.svg
    SVG image
    Image Viewer [first]
  Embedding:
    Use settings for 'image' group
    Svg Part (svgpart)

image/svg+xml-compressed
  same.
Comment 5 missive 2011-05-14 18:00:22 UTC
Upgraded to KDE 4.6.2 and this still does not work.

SVG File associations at default values:

image/svg+xml: 
  Use settings for 'image' group
    (Image says "Show file in embedded viewer")
  Svg Part (svgpart)
    (also tried khtml and katepart)


I just noticed that the settings for File Associations explicitly says:
File Management -> File Associations
  (which does not really apply to the problem here) and
"Left click action in Konqueror"
  (which is also not the problem here.)

I don't believe that this has anything to do with file associations.
Left clicking on an svg file while using Konqueror as a file browser
works perfectly.

The problem here is viewing the attached html file which embeds an svg. When loading the html file in Konqueror, all I see is the word "and"
Comment 6 Andrew Crouthamel 2018-11-05 03:16:35 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Andrew Crouthamel 2018-11-17 05:01:30 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Justin Zobel 2022-12-18 08:18:25 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 9 Bug Janitor Service 2023-01-02 05:26:26 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Bug Janitor Service 2023-01-17 05:17:49 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!