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

List:       kde-devel
Subject:    Selecting a KPart for a mimetype with unknown KPart
From:       Jiří Paleček <jpalecek () web ! de>
Date:       2007-01-28 13:08:41
Message-ID: op.tmu7vlt0u2flwt () marcela-gaxm89c
[Download RAW message or body]

Hello,

I'd like to ask what are the rules that select which KPart is returned
 from KServiceTypeProfile::preferredService if there are no KParts
handling the given mimetype. This applies to application/octet-stream
and on my computer to DTDs, for example. On my computer, it yields
the KPart which handles archives, but on another computer it yields
the KHexView part. The problem is that none of these are useful
for all files taht fall to this category, and this (default) choice
is rather annoying.

Another problem is that if a part fails opening a file (for example,
if a text file is misclassified as diff output), it should not display
an error message to the user, but rather return false from openURL
and give the shell a chance to try another part.

Reagrds
     Jiri Palecek
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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