Bug 98132 - Image link cached as broken when not
Summary: Image link cached as broken when not
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml renderer (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-29 08:22 UTC by Sean Lynch
Modified: 2012-06-18 19:55 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 Sean Lynch 2005-01-29 08:22:41 UTC
Version:           3.3.91 (using KDE 3.3.91 (beta1), compiled sources)
Compiler:          gcc version 3.3.3 (SuSE Linux)
OS:                Linux (i686) release 2.6.9-ck3

I've noticed, especially when working on my own php sites, that konqueror seems to cache the status of a broken image link until a refresh of the page is issued.  For instance, there are many of times where I may have a broken image on my file upload script, but will fix the image reference yet konqueror will still show it as broken.  I can right click on the broken image and go to 'View Image', which opens a new tab and shows the image just fine.  I keep my cache setting defaulted to 'Use Cache' and 'Keep cache in sync'.
Comment 1 Stephan Kulow 2005-01-29 14:00:44 UTC
where is the bug? If the image link is broken, what's wrong with caching that info?
Comment 2 Sean Lynch 2005-01-29 19:11:44 UTC
The image is not broken later, as in it was uploaded.

Example: On a page with a form and an image.  The img is hard coded to say <img src="foo.jpg">.  The form is made to ftp_put a file to the root.  You uploaded foo.jpg.  The image link is still broken, yet the image is now available to see.  You can right click on the broken image and click view, and it loads in another window/tab. F5/refresh fixes it, but its not always possibly to refresh, especially on a form as you will loose unsubmitted data.

This problem is also inherent on my university's online curriculum.  If you refresh, many of times it will kick you out of your login, crappy session detection or something on their side, maybe a 'security' feature (its ran through webct's new 'vista' program). 

I would write a testcase but I would need to host it somewhere I have ftp access/php/etc.  I run a local webserver, but my net has been flaky as heck and wouldn't been good to host it from.

Comment 3 Stephan Kulow 2005-01-30 12:46:15 UTC
if the web server doesn't explicitly say something shouldn't be cached, I see no problem. F5 is exactly there to refresh the page cache
Comment 4 Sean Lynch 2005-01-30 18:09:32 UTC
Would it be possible to maybe add a right click->Check Image image where the Copy Image/View Image or even have it check it on mouseover (how links are now, where the status if the link has been visited will be updated on mouseout... a bug imo.. which is reported as 24820).

Anyways, the right click menu wouldn't need to even be present except for broken images anyways.  I think IE might have something like this as well.. if I'm not mistaken (its been a while since I've used it), they called it View Image, which unlike how Konq/Firefox's View Image works (opening in a new window/tab), it just tried to display it again on the page.

The refreshing wouldn't be a big deal if not for data loss/having to relogin.
Comment 5 Eric Kjeldergaard 2006-09-01 07:06:36 UTC
I confirm that this "bug" exists.  I'll leave it to the devs to decide what they wish to do with it.
Comment 6 Myriam Schweingruber 2012-06-18 19:55:03 UTC
Message from the Bugsquad and Konqueror teams:
This bug is closed as outdated, as we do not have the manpower to maintain the KDE3 version anymore.
If you still can reproduce this issue with Konqueror 4.8.4 or later, please open a new report.
Thank you for your understanding.