Bug#995267: devhelp doesn't load the selected content

Rinat Ibragimov ibragimovrinat at mail.ru
Sun Dec 5 21:45:58 GMT 2021


Среда, 24 ноября 2021, 12:51 +03:00 от "Alberto Garcia" <berto at igalia.com>:
> Who registers that MIME type there ? I'm not familiar with it, it
> looks like WebKit doesn't know about it either and treats it like
> binary data.
> 
> Berto

I've searched sources a bit, and found that GLib library has some code that
creates similar xml files named "user-extension-%s.xml". Particular function
name is "g_desktop_app_info_set_as_default_for_extension()" which is
an implementation that is called by "g_app_info_set_as_default_for_extension()".
So any application that calls "g_app_info_set_as_default_for_extension()",
creates such XML files.

For example, Firefox does that when one presses "Set as default browser" button.
To make it create files again, press "Make default..." button in the settings.
I suspect this is the way files were created on my machine.


---
Rinat


More information about the Pkg-webkit-maintainers mailing list