Bug 252818 - Popup 'Open with' errors when making thumbnails for locally saved html with relative iframe references
Summary: Popup 'Open with' errors when making thumbnails for locally saved html with r...
Status: RESOLVED DUPLICATE of bug 248478
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: thumbnail (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-30 05:21 UTC by David
Modified: 2011-06-04 02:42 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David 2010-09-30 05:21:26 UTC
Version:           unspecified (using KDE 4.5.1) 
OS:                Linux

When I find a neat static page on the web, such as a news article, I frequently save a local copy, as the web is pretty transient.  When I load a dolphin tab which lists such a saved page's HTML file, I get pop-up 'Open with' dialogs whenever it tries to generate a thumbnail for any html file that contains an iframe tag (which is now pointing to a local directory by reference.)

This is a rather annoying issue since it tries to make a thumbnail any time the html file is newly listed on screen, the mouse hovers over it, it is selected, etc.

By the way, may I humbly suggest that it shouldn't try to resolve any non-local external resources at all for thumbnails.

Reproducible: Always

Steps to Reproduce:
Using a sufficiently advanced browser that can save a Web Page, Complete (that is, not Konq) save a page that contains an iframe.  In dolphin settings, make sure thumbnails are enabled for HTML files.
View the directory that contains the saved html page (and associated page_files directory)

Actual Results:  
One or more pop-up Open with dialogs, with titles that contain part of the path to a file referenced in an iframe, and which list themselves as owned by kio_thumbmail (Yes, it says thumbMail, might want to fix that too.)
Open closing them, generally they pop-up again immediately.  Thankfully they are non-modal to the dolphin window.  
The thumbnail is of course not generated.

Expected Results:  
A simple thumbnail of the page.

OS: Linux (x86_64) release 2.6.32-25-generic
Compiler: cc
Comment 1 Michal Hlavinka 2010-11-26 11:41:22 UTC
I see this too in Fedora 14 with KDE 4.5.3
Comment 2 Jan 2010-12-28 00:06:30 UTC
can confirm it on kubuntu 10.10 (KDE 4.5.4)
HTML pages containing iframes results in an infinity loop asking how to open the iframe content. This is absolutely annoying.
Comment 3 Martin Rehn 2011-02-01 21:02:25 UTC
Confirmed in KDE 4.6.0 on openSUSE.
Comment 4 Alvaro Manuel Recio Perez 2011-02-08 17:41:03 UTC
I can confirm this problem in KDE SC 4.6.0 on Kubuntu 10.10. I'm attaching an HTML file and a folder which triggers the bug.

Moreover, I think this bug is a duplicate of 258101.
Comment 5 Martin Rehn 2011-04-16 22:34:53 UTC
Still there in 4.6.2. Should not the thumbnailing process be sandboxed so that it is impossible for it to interact with the user, and even more impossible for it to attempt to launch random applications?
Comment 6 Frank Reininghaus 2011-05-28 00:30:21 UTC
This looks like bug 248478. A fix has been proposed just today, see
https://git.reviewboard.kde.org/r/101365/
Comment 7 Dawit Alemayehu 2011-06-04 02:42:21 UTC

*** This bug has been marked as a duplicate of bug 248478 ***