Bug 513612

Summary: Dolphin thinks a binary executable is a desktop file
Product: [Applications] dolphin Reporter: Damglador <vse.stopchanskyi>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: dolphin-bugs-null
Priority: NOR    
Version First Reported In: 25.08.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Damglador 2025-12-20 15:07:50 UTC
SUMMARY
Binary files with .Desktop at the end are treated as desktop files instead. For example builds of this PR: https://github.com/UnderminersTeam/UndertaleModTool/pull/2126. The tendency to slap .Desktop is either something from Avalonia or dotnet, since that's not the first time I encounter it.

STEPS TO REPRODUCE
1. Get an executable and add .Desktop at the end of it's name
2. Double-click the executable

OBSERVED RESULT
Dolphin tries to open it with an editor

EXPECTED RESULT
Binary executables should not be treated as other file types based on their suffix.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel Version: 6.18.1-zen1-2-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600H with Radeon Graphics
Memory: 16 GiB of RAM (13.5 GiB usable)
Graphics Processor 1: AMD Radeon Graphics
Graphics Processor 2: NVIDIA GeForce RTX 3060 Laptop GPU

ADDITIONAL INFORMATION
Aside from simple confusion, it also kinda makes them impossible to execute without opening a terminal, even though Dolphin recognizes "Content: Executable".