<table><tr><td style="">dfaure added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D13315">View Revision</a></tr></table><br /><div><div><p>(BTW thanks for what you said about FUSE, I agree 100% and it makes me glad to see some people from the opposite camp, when so many people are trying to convince me that network mounts via FUSE is the solution to all problems on earth, see bug 75324)</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>currentMimeType() method shouldn't do any detection. It's very misleading</p></blockquote>

<p>I disagree. This is what's called determination on demand, quite a classic pattern.</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>and when there are multiple candidates, choosing the first one on the list is not "accurate" or "real determination".</p></blockquote>

<p>You skipped the fact that if there are multiple candidates, we first try to sort it out using content detection.<br />
Only if that fails, will we then pick the first mimetype in the list, for lack of any other information. Again, see the MIME spec.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D13315">https://phabricator.kde.org/D13315</a></div></div><br /><div><strong>To: </strong>miklosm, Frameworks, dfaure, broulik<br /><strong>Cc: </strong>broulik, ngraham, apol, kde-frameworks-devel, michaelh, bruns<br /></div>