katepart displays source code without konqueror knowing it

David Faure david at mandrakesoft.com
Wed May 15 15:01:29 BST 2002


On Wednesday 15 May 2002 13:29, Erik Sjölund wrote:
> > This example doesn't apply: kate doesn't claim to be able to display
> > application/postscript data, so it will never get reused to do that.
> 
> In kdelibs/kate/data/katepart.desktop
> under MimeType=
> application/postscript is one of the types listed. I thought that 
> the part published its supported mimetypes there. Are they published
> somewhere else?

Oh, didn't know that. Ok then, the example applies.

> Ok, I see what you mean. Yes, it would be inconvenient for the
> user to repeatedly choose the same viewer.

Yes.

> What I meant was the situation, where there are two different
> default viewers for, let say, postscript and pdf. The pdf viewer
> might be capable of showing postscript also. Let say the user has
> one bookmark of a postscript file and one bookmark of a pdf file.
> Whether or not the user just opened the pdf bookmark before he 
> opens the postscript bookmark might make a difference in the
> presentation of the postscript file.

Yes - just like the case of kate and HTML text.
But how do you differenciate this case with the one above? They're the
same AFAICS.

Well, after all, I'm not opposed to "always firing up the preferred viewer",
it seems it would give less problems (the non-preferred image viewer case)
than the current situation (HTML source in kate).

-- 
David FAURE, david at mandrakesoft.com, faure at kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
KDE, Making The Future of Computing Available Today





More information about the kfm-devel mailing list