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

List:       kde-core-devel
Subject:    Re: Mimetypes in kdelibs ?
From:       Simon Hausmann <tronical () gmx ! net>
Date:       1999-08-11 16:35:38
[Download RAW message or body]

On Tue, 10 Aug 1999, Stephan Kulow wrote:

> Simon Hausmann wrote:
> > 
> > On Tue, 10 Aug 1999, David Faure wrote:
> > 
> > > On Tue, Aug 10, 1999 at 12:02:01PM +0200, Simon Hausmann wrote:
> > > > On Tue, 10 Aug 1999, David Faure wrote:
> > > > > [other stuff]
> > >
> > > > Even koffice doesn't run without kdebase.
> > > >
> > > > Why?
> > > >
> > > > Because the FilterManager in KOffice uses KMimeType. In particular it uses
> > > > KMimeType::find() and KMimeType::findByURL() . This will bomb the user
> > > > with certain QMessageBoxes about not installed mimetypes, since the
> > > > previous KRegistry init code (for KServiceTypes) in KoFilterManager will
> > > > not find any mimetypes and therefore not load anything.
> > > >
> > > > I somehow wonder why the mimetypes are in kdebase at all? Was it that
> > > > only kfm used them directly?.
> > > > I remember that this has been discussed some time ago, but I actually
> > > > forgot the outcome of the discussion. (I need to upgrade my brain with
> > > > more memory ;)
> > >
> > > I can't remember there was a good reason for that.
> > > kio needs mimetypes, so I think kdebase/mimetypes should be moved
> > > to kdelibs. ok, it needs kioslaves as well, but that's for more "advanced"
> > > usage of kio (i.e. kiojobs). Anyway the slaves could be moved as well.
> > >
> > > I think it's better _not_ to require kdebase to be installed for koffice
> > > to run. Who needs a file manager, and desktop manager, a web browser, ...
> > > for an office suite to run ? :)
> > 
> > I definitely agree with you. And I even vote for moving the slaves, too.
> Hmm, can't we have the basic slaves there only? It doesn't make too much
> sense
> to have others there than say kio_file (which shouldn't exist in my
> humble opinion ;).
> At least I do not see a good reason how someone could require kappname
> to load
> ftp urls if KDE isn't running or is installed at least.

I agree with you. Plain kio_file in kdelibs looks a very good compromise
to me.

Perhaps you can move the mimetypes and kio_file to kdelibs with all your
CVS magic ;) directly on zeus ( like you did it with the corba module ), 
so that no revisions are lost?

Ciao,
 Simon

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

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