Bug 143226 - Konqueror takes a long time to load some locally-saved webpages when there is no net connection
Summary: Konqueror takes a long time to load some locally-saved webpages when there is...
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: HI normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-19 18:16 UTC by Shriramana Sharma
Modified: 2011-06-01 23:10 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
tarball containing the mentioned webpages (29.55 KB, application/x-tgz)
2007-03-19 18:17 UTC, Shriramana Sharma
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shriramana Sharma 2007-03-19 18:16:08 UTC
Version:            (using KDE KDE 3.5.6)
Installed from:    Ubuntu Packages
OS:                Linux

1. Save the webpages:

http://www.space.com/scienceastronomy/070301_oldest_observatory.html 
http://www.space.com/scienceastronomy/070301_stereo_panorama.html
http://www.purinchu.net/wp/2007/03/06/qmail/

to a local folder.
2. Go offline by pulling your ethernet cable (*not* by choosing offline mode, see below).
3. Clear your Konqueror cache.
4. Try to load these html pages in Konqueror and you will find that they take over 60 seconds (or at least an unreasonably long time) to load even the first word.

However, if Settings > Configure Konqueror > Cache > Offline Browsing Mode is selected, these pages are displayed immediately.

I feel that Konqueror should at least show the text, even if it cannot show the images etc.
Comment 1 Shriramana Sharma 2007-03-19 18:17:38 UTC
Created attachment 20038 [details]
tarball containing the mentioned webpages

I included the files here in case the site goes down or something.
Comment 2 Rui G. 2008-08-22 16:43:39 UTC
Confirmed in both konq3 and konq4 (kde4 factory) in Opensuse 11.0 . Even the preview tooltip( is this the correct term? ) in konq3 allowed to see the page faster than the loading.

To reproduce is just to download the files and try and open them with no internet connection. 

However, there's a chance that this is expect behavior. Because there are elements in the html files that can only be loaded with an internet connection, and since konqueror isn't in offline mode, until the timeout sets off it will keep trying to get the elements. 
Comment 3 Shriramana Sharma 2008-08-25 16:21:59 UTC
If the timeout is the proper, then the timeout must be something short. Maybe I need to report a separate bug asking for a proper offline mode like all other good browsers, but I'll do that after checking the KDE 4 version.
Comment 4 Shriramana Sharma 2009-04-12 20:59:39 UTC
Confirmed that this bug still exists in the same form in KDE 4.2.2. Have asked for Work Offline menu item for Konqueror (bug 189483) but that's a different bug, so please fix this, pretty please?
Comment 5 Martin Koller 2011-06-01 23:10:58 UTC
I can not reproduce described problem with KDE 4.6.3
All the files are loaded immediately and the text is shown