Bug 444658

Summary: lib*.so.X.Y.Z file type listed as executable instead of shared library
Product: [Applications] dolphin Reporter: Katalin Rebhan <me>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: dolphin-bugs-null, nicolas.fella, p.r.worrall
Priority: NOR    
Version First Reported In: 21.08.2   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Katalin Rebhan 2021-10-30 10:01:19 UTC
SUMMARY
Shared libraries are listed as executables if their filenames don't end in .so. Often, libraries are versioned, e.g. "libQt5Core.so.5.15.2", which causes them to lose the "shared library" type in dolphin. The "libQt5Core.so" symlink to the library is still listed as a shared library as expected.

STEPS TO REPRODUCE
1. Look for a shared library in /usr/lib that is versioned, e.g. Qt

OBSERVED RESULT
File type is listed as "executable"

EXPECTED RESULT
File type is listed as "shared library"

SOFTWARE/OS VERSIONS
Operating System: Gentoo 2.8
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.14.14-gentoo-dist (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 23.4 GiB of RAM
Graphics Processor: Radeon RX Vega

ADDITIONAL INFORMATION
Using dolphin commit c1200b3
Comment 1 Nicolas Fella 2021-10-30 17:47:38 UTC
Should be fixed with https://gitlab.freedesktop.org/xdg/shared-mime-info/-/merge_requests/160
Comment 2 Katalin Rebhan 2023-12-03 19:24:04 UTC
Fixed in https://gitlab.freedesktop.org/xdg/shared-mime-info/-/merge_requests/165.

(not sure if RESOLVED FIXED is the correct status for bugs that were actually in an external project but here we go)