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

List:       koffice-devel
Subject:    Re: Opening "unsupported" file types
From:       David Faure <dfaure () klaralvdalens-datakonsult ! se>
Date:       2003-05-11 18:15:47
[Download RAW message or body]

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

On Sunday 11 May 2003 14:12, Clarence Dang wrote:
> 
> Hi,
> 
> The attached patch makes KoFilterManager to fall back to the ascii filter if 
> it "can't handle" the source mimetype.  This is so that it can open text 
> files other than text/plain such as .cpp files and files that have been 
> misidentified by magic as something other than text/ascii.
> 
> It is a real hack and probably only makes sense for KWord.  But as the filter 
> system would normally abort in this situation, we have nothing to lose by 
> trying text/plain.

Seeing vector graphics as "text plain" is going to be very confusing to users :)
I think there _is_ something to lose here: sensible behaviour :)

Yes, as your comment says: what about popping up a dialog that lets the user
select the type of the file?

- -- 
David Faure -- faure@kde.org, dfaure@klaralvdalens-datakonsult.se
Qt/KDE/KOffice developer
Klarälvdalens Datakonsult AB, Platform-independent software solutions
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+vpNT72KcVAmwbhARAoXfAJ4q76+N/+zmuq1lW3iXwuU0ry832gCfft/+
huUdam/+BvIW0YTlshU5yAQ=
=SMjX
-----END PGP SIGNATURE-----

_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel

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

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