From kde-devel Sun Jan 28 13:08:41 2007 From: =?iso-8859-2?B?Smn47SBQYWxl6GVr?= Date: Sun, 28 Jan 2007 13:08:41 +0000 To: kde-devel Subject: Selecting a KPart for a mimetype with unknown KPart Message-Id: X-MARC-Message: https://marc.info/?l=kde-devel&m=116998979204153 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 <<