Version: (using KDE KDE 3.2.1) Installed from: SuSE RPMs OS: Linux Image pre-loading does not work as images loaded into a Javascript Image object are loaded twice: The first time, when the image object src attribute is set. The second time, when the image object has finished loading and its src attribute is assigned to an image element's src attribute on the web page. This is wrong. The expected behaviour is to fetch the image from the browser's cache instead (to save bandwidth and speed up the whole process and to display the image without flickering). Cheers Daniel Kabs Germany
Created attachment 9539 [details] Testcase: Live Webcam Image A HTML-Page that shows webcam image and updates it periodically using preloading technique for flicker free display.
Konqueror 3.3 (KDE 3.3.0) has this bug, too.
*** This bug has been confirmed by popular vote. ***
Bug can be confirmed with Apple's KHTML based Safari Browser, Version 1.2.
Bug can be worked around by sending a "Last-modified:" HTTP header indicating a date older than one day. Thus this bug does not appear with static images but only with live images streamed from e.g. a web cam.
Behaviour confirmed on konqueror 4 in trunk, the GET is called two time for the same image request.
maybe I stumbled ove a similar problem: http://bugs.kde.org/show_bug.cgi?id=149388 stiil the same in version 3.5.7 release 72.9
*** Bug 149388 has been marked as a duplicate of this bug. ***
Assigning this bug to khtml ecma, since it seems to be a JS problem.
If this really is a JS problem then #149388 is no duplicate of this bug and should be reopened because there is no JS used.
Hm you're right, I'll reopen it. These are 2 different bugs. Thanks for your feedback, Thomas :-)
Thank you for the bug report. As this report hasn't seen any changes in 10 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved.
Dear user, KHTML (and KJS) was a long time more or less unmaintained and got removed in KF6. Please migrate to use a QWebEngine based HTML component. We will do no further fixes or improvements to the KF5 branches of these components beside important security fixes. For security issues, please see: https://kde.org/info/security/ Sorry that we did not fix this issue during the life-time of KHTML. Greetings Christoph Cullmann