[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: khelpcenter & khtml
From:       Waldo Bastian <bastian () kde ! org>
Date:       2002-01-02 20:19:55
[Download RAW message or body]

On Wednesday 02 January 2002 12:49 am, Martijn Klingens wrote:
> > The bad news is that khtml's image cache doesn't know this, so after it
> > has loaded common/khelpcenter/bgtable.png it will also load
> > common/khelpcenter/quickstart/bgtable.png and
> > konqueror/common/bgtable.png and stores all three of them in its cache
> > while it could have used the same image in all three occassions. The same
> > goes for its stylesheet
> > common/kde-default.css
>
> Is there a way for the image cache to detect whether an image is a symlink
> and store the 'expanded' path instead? Might be impossible, but if it is
> not, that sounds more generic to me.

The image cache (being part of khtml) does not, and should not, have any 
special knowledge about help:/xyz URLs (file:/xyz URLs might be another 
story). However it is not unreasonable for khelpcenter to have some special 
knowledge about help:-style URLs, but in order to anything with that it needs 
to have a way to intercept these URLs on their way to the image cache. 
Currently khtml doesn't offer that functionality.

Cheers,
Waldo
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic