Bug 59815 - Javascript does not react until the last image is loaded
Summary: Javascript does not react until the last image is loaded
Status: RESOLVED REMIND
Alias: None
Product: konqueror
Classification: Applications
Component: khtml ecma (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-15 18:05 UTC by christian muehlhaeuser
Modified: 2008-04-06 07:28 UTC (History)
0 users

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 christian muehlhaeuser 2003-06-15 18:05:07 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources

I noticed this while developing an online game with Javascript support. We have some graphics loading in an iframe. Since those images are created on-the-fly with gd, it takes some time until the iframe is displayed correctly. During this timespan Javascript seems not to work. For example, onClick doesn't react, which makes Konqueror look unresponsive. Suddenly, when the last graphic was loaded the Click gets executed, which is even more annoying, since you didn't expect that this Click was accepted.

regards,
muesli
Comment 1 Kai Lahmann 2003-06-15 18:10:01 UTC
that is normal behavoir as specified in the JS-Standard....
Comment 2 christian muehlhaeuser 2003-06-15 18:15:14 UTC
Just looked at Mozilla and IE. They do react... and this makes sense in my 
eyes, since the image is loaded in an iframe. I do understand waiting for 
the whole page to built up the dom tree and stuff. But there are quite a few 
pages where this behaviour is annoying, since there are lots of Ads to load 
and Konqueror doesn't react for half a minute. Mozilla just feels more 
comfortable then. 
Comment 3 Louai Al-Khanji 2006-08-30 13:03:04 UTC
This is still a problem today. It is quite an annoying bug as certain websites will seemingly lock up for a while, and suddenly get clicks delivered.
Comment 4 Louai Al-Khanji 2006-08-30 14:42:35 UTC
You can go to e.g. https://www.famiko.fi/products.asp?id=209709 to reproduce the problem.
Comment 5 A. Spehr 2008-04-06 07:28:52 UTC
Please reopen if there is somewhere you can reproduce this with a modern version. Thanks!