[RFC long] Opening files from different applications (gideon) - generic MIME configuration problem?

Waldo Bastian bastian at kde.org
Thu Jul 24 11:11:44 BST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 24 July 2003 02:35, Roger Larsson wrote:
> Hi all,
>
> Have you ever been hit by a MIME type related bug?
> I have, they are among the most common bugs that I run into when using KDE.
> And worse - they may lead to really strange problems...
> Especially when applications (konqueror, gideon) makes silent overrides!
> This is mostly to trigger some thinking in large - I will file additional
> bug reports / wishes for the specific issues later.

I think a lot of the text:plain related issues can be solved with the new 
isAlso property of mimetypes.

E.g. applications such as kword, kate and khtml shouldn't check for mimetype 
== text/plain but should check for mimetype.isAlso(text/plain) instead.
That way they will suddenly understand that they can open application/x-python 
just fine. (Assuming application/x-python has an is-also-text/plain property)

Cheers,
Waldo
- -- 
bastian at kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/H7DgN4pvrENfboIRAv0iAKCA3VeywvnW1JVfGTBxJI8B7GgL0wCgiduG
Fgn+DirqFybvnulbwaZBxSU=
=8ii7
-----END PGP SIGNATURE-----



More information about the kde-core-devel mailing list