[WebKit-devel] [kwebkitpart] [Bug 325942] New: Links to pdf and other file types are opened in an html embed frame

Grósz Dániel groszdanireg at gmail.com
Sat Oct 12 19:34:04 UTC 2013


https://bugs.kde.org/show_bug.cgi?id=325942

            Bug ID: 325942
           Summary: Links to pdf and other file types are opened in an
                    html embed frame
    Classification: Unclassified
           Product: kwebkitpart
           Version: 1.3.1
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: webkit-devel at kde.org
          Reporter: groszdanireg at gmail.com

If I click on a link to a pdf or other non-html file, then, while the url of
the pdf file appears in the Location bar, Konqueror actually opens a html page
that embeds the file like this:

<html><body marginwidth="0" marginheight="0" bgcolor="rgb(38,38,38)"><embed
width="100%" height="100%" name="plugin" src="http://example.com/document.pdf"
type="application/pdf"></body></html>

(It can be viewed as the document source.)

I don't know if this is intentional but it has the following consequences:
- The menu and toolbars of the kpart are not shown.
- View/View mode shows Webkit, KHTML and Kate instead of the kparts
corresponding to the file type.
- If loading plugins on demand only is enabled, I have to click on a Start
Plugin button to view the document.
- Bug 325940 and Bug 325935 are triggered.

It happens with Webkit but not with KHTML. If I refresh the page, the kpart is
loaded normally, not embeded into a HTML frame.

Reproducible: Always

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the WebKit-devel mailing list