[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: kdegraphics/kview
From: David Faure <david () mandrakesoft ! com>
Date: 2001-01-15 19:27:39
[Download RAW message or body]
On Monday 15 January 2001 19:23, Stefan Schimanski wrote:
> On Monday 15 January 2001 19:05, David Faure wrote:
> > On Monday 15 January 2001 17:58, CVS by sschiman wrote:
> > > kdegraphics/kview kview.desktop,1.134,1.135
> > > Author: sschiman
> > > Mon Jan 15 17:58:19 UTC 2001
> > > In directory cvs.kde.org:/tmp/cvs-serv30318
> > >
> > > Modified Files:
> > > kview.desktop
> > > Log Message:
> > > * added image/x-png
> >
> > Hmm, we call it image/png in KDE,
> > and kio_http does the conversion if the server says image/x-png...
>
> yep, I know. The problem is that the plugger Netscape plugin registers
> image/x-png which conflicts with image/png. The InitialPreference value in
> the mime type .desktop files is ignored for services with different mime
> type, but the same file extension. This is a fundamental problem of the mime
> type system in kde with those cases. Konqi will find the x-png mime type
> first and will only present mime type handler for x-png. So kview and pixer
> have lost.
>
> What I will do maybe in nspluginscan is that I will check which extensions of
> a potential new mime type are registered already. These will be removed from
> the nsplugin mime type list. In the above case a x-png mime type will be
> created in ~/.kde/share/mimelnk, but it won't be assigned to the png
> extension. What do u think?
Yes, I think you need to do that, because two mimetypes can't be assigned
the same extension - a given file can't be of two mimetypes.
Another thing to do might be to convert mimetypes, like kio_http does.
If you convert image/x-png into image/png, then the problem goes away.
audio/x-mp3 is another good candidate for this.
--
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic