Bug 513612 - Dolphin thinks a binary executable is a desktop file
Summary: Dolphin thinks a binary executable is a desktop file
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.08.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-20 15:07 UTC by Damglador
Modified: 2025-12-20 15:07 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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".