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

List:       kde-commits
Subject:    Re: kdegraphics/kview
From:       Stefan Schimanski <1Stein () gmx ! de>
Date:       2001-01-15 19:23:23
[Download RAW message or body]

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?

Schimmi

-- 
I used to think that the brain was the most wonderful organ in my body. Then 
I realized who was telling me this.

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

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