SUMMARY Symbolic links are not launched with associated file types. STEPS TO REPRODUCE 0. General files are accessed by default with Kate (like this: https://i.imgur.com/uBW4eFE.png). 1. Associate .md with KWrite. 2. Create a symbolic link to mymarkdown.md 3. Launch the symbolic link. OBSERVED RESULT File is launched with Kate. EXPECTED RESULT File is launched with KWrite. SOFTWARE/OS VERSIONS: KDE Plasma Version: 5.25.1 KDE Frameworks Version: 5.95.0 Qt Version: 5.15.5
If you hover your mouse over the symbolic link in Dolphin, what file type does it say in the status bar? For me, the link is only identified as a markdown file (and so opened by KWrite) if the link name ends with ".md"; without that it's identified as a link to a plain text document which is then opened by whatever app is associated with plain text documents. Other endings cause the link to open the app associated with that (e.g. .odt launches libreoffice). This could be the desired behaviour.
> If you hover your mouse over the symbolic link in Dolphin, what file type does it say in the status bar? plain text document, Link to... The link is without an extension. It's more convenient to have it like that for quicker access by Krunner.
Setting status to confirmed. (Arguably) files opened via a symlink should use the application associated with the target of the link.