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

List:       kfm-devel
Subject:    Bug#16436: Picture opened as text/html
From:       David Faure <david () mandrakesoft ! com>
Date:       2000-12-03 21:14:01
[Download RAW message or body]

On Sunday 03 December 2000 19:54, Christian A Strømmen \[Number1/NumeroUno\] wrote:
> Package: khtml
> Version: 3.0 (KDE 2.0 >= 20001117)
> Severity: grave
> Compiler: gcc version 2.95.3 19991030 (prerelease)
> OS: Linux 2.4.0-test10 i686 (compiled sources)
> 
> I've encountered this problems before the launch of kde 2.0.0 (running 2.1.0 cvs \
> now), and I thought it was fixed, but it doesn't seem like that :)
> 
> Go to http://www.tactical-ops.net/ and click on the small snapshot on the right \
> side (Pic Of The Week), this will open a new window for displaying the .jpg file, \
> but it is threated by khtml/konqueror as html/text instead of jpg.

This is the famous "when creating a window with javascript we have to assume it's \
HTML" problem.

I wonder if we couldn't fix this issue by using KIO::NetAccess::mimetype().
This would give us the mimetype synchronously, which we could then send to 
konqueror for the window creation.
Harri, what do you think ?

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://www.mandrakesoft.com/~david/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today
See http://www.kde.org/kde1-and-kde2.html for how to set up KDE 2


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

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