Bug 54935 - kwebdesktop hangs at pages with meta refresh
Summary: kwebdesktop hangs at pages with meta refresh
Status: CLOSED FIXED
Alias: None
Product: kdesktop
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-20 22:08 UTC by Daniel Eckl
Modified: 2009-01-02 20:21 UTC (History)
2 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 Daniel Eckl 2003-02-20 22:08:47 UTC
Version:            (using KDE KDE 3.1)
Installed from:    SuSE RPMs
Compiler:          gcc 2.95.3 
OS:          Linux

Hi!

I tried to use a web page as desktop background using kwebdesktop.

But my page uses a meta refresh line in the header (e.g. <meta http-equiv="Refresh" content="300">) and on all pages with such a meta tag, kwebdesktop hangs (seemingly forever). 

I think it waits for the refresh event to occur.

This is very bad for kwebdesktop, because if you start such a configured kde, kdesktop waits for kwebdesktop to finish and in this case resulting in a very ugly grey X style background without any icons.

Greets,
Daniel Eckl
Comment 1 Tobias Kroha 2003-05-29 16:04:40 UTC
add the following line to kwebdesktop.cpp:

part->setMetaRefreshEnabled(false);

place it near to this statements:

part->setJScriptEnabled(false);
part->setJavaEnabled(false);

Comment 2 Daniel Eckl 2003-05-29 21:42:06 UTC
This solves the problem.

Looks like this one could go to stable tree easily.
Comment 3 David Faure 2003-05-30 11:25:13 UTC
Subject: kdebase/kdesktop/kwebdesktop

CVS commit by faure: 

Applied patch from Tobias Kroha to fix "kwebdesktop hangs at pages with meta refresh"
CCMAIL: 54935-done@bugs.kde.org


  M +1 -0      kwebdesktop.cpp   1.10


--- kdebase/kdesktop/kwebdesktop/kwebdesktop.cpp  #1.9:1.10
@@ -110,4 +110,5 @@ int main( int argc, char **argv )
     part->widget()->resize(width,height);
 
+    part->setMetaRefreshEnabled(false);
     part->setJScriptEnabled(false);
     part->setJavaEnabled(false);


Comment 4 FiNeX 2009-01-02 20:21:23 UTC
Bug closed. Kdesktop is no more mantained.