I have set basically all file types in Edit->Preferences->Applications to "Always ask" because I want to decide for every file whether I want to open or save it.
My usual workflow when saving a file to disk is opening the Firefox downloads list and double clicking the file from there after it has finished downloading. However, Firefox uses nonsensical applications to open the files when clicking them in the download list.
E.g. Firefox uses Krita (used for painting and illustration) to open PDF files. Even worse: when right clicking a file and selecting "Open containing folder" Firefox will open the folder using Filelight, KDE's disk space analyzer tool.
I am assuming that Firefox is using the applications that have the note "(default)" next to their name in the select list on Edit->Preferences->Applications. How does Firefox determine which application is the default? And how can I change this?
Note: I have already seen Application that would set default application for file types and How can I choose the default application for opening files in Firefox? and do not want to set Firefox to always open a file using a specific application. I want to leave the settings on Edit->Preferences->Applications at "Always ask" and only change the application that is used when actively clicking the file in the downloads list.