D28079: [keditfiletype] Prevent removing the "main" glob pattern for mime types

Ahmad Samir noreply at phabricator.kde.org
Tue Mar 17 08:54:12 GMT 2020


ahmadsamir added a comment.


  For background see: https://bugs.kde.org/show_bug.cgi?id=414742
  
  I may be wrong, but personally I think QMimeDatabase is acting sensibly by not allowing to remove the "main" glob pattern of a mimetype.
  
  Also IIUC it seems other tools are sort of doing the same, e.g. gio (see the bug report for some testing I posted there).
  
  So, either this diff makes sense, or someone will have to put his upstream Qt hat on and change QMimeDatabase :p; I dug into the git history upstream, and IIRC it seems QMimeDatabase prepends the main glob pattern since 2012 (from before it was merged into qtbase).

REPOSITORY
  R126 KDE CLI Utilities

REVISION DETAIL
  https://phabricator.kde.org/D28079

To: ahmadsamir, #plasma, dfaure, davidedmundson, apol
Cc: kde-frameworks-devel, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200317/b76534f3/attachment-0001.html>


More information about the Plasma-devel mailing list