Kwrite crashes the system when opening a mkv file

AndrĂ©s Segarra <[email protected]> Tue, 27 Dec 2022 21:23:20 +0100
Newsgroups gmane.comp.kde.devel.kwrite
Message-ID <CAEaYJm2cxK8g6Pg+sirYyXgMYTfP0tw8M2YbgJdzym-DJsUf=g@mail.gmail.com>
In debian, for some reason, kwrite opens mkv for default even though I have
installed video players. When it opens, the ram skyrockets, crashing the
system. Is there any way to stop consuming ram and sending a popup to let
the user choose?