For some reason, KDevelop has suddenly decided to open HTML files only in readonly mode. All other files can still be edited just fine, and those HTML files can still be edited just fine in other editors including kwrite. However, in kdevelop, they stay in read-only mode and I cannot figure out how to change it to edit mode. (I have also double checked that I have the filesystem permissions to write to those files, and that my filesystem is mounted rw and is not broken.)
In what looks to be related, for some strange reason, plasma insists that the mimetype for these html files is “application/x-extension-html”, when it should be just “text/html”. Kdevelop originally (when the problem randomly arose yesterday) refused to open the files in anything but the hexeditor view, until I manually added the katepart editor view to the type. (Just adding that was, btw, also an arduous, bug-riddled process, which I couldn’t finish without manually touching .config/mimeapps.list.)
It seems like Plasma can suddenly no longer recognize HTML files as what they are anymore…
I am running Kdevelop 5.11.230403, Plasma Framework 5.108.0 and Plasma 5.27.7 on Gentoo stable installed from default Gentoo packages.