Bug 496687 - Middle clicking an executable text file opens in primary app not secondary app
Summary: Middle clicking an executable text file opens in primary app not secondary app
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-25 22:41 UTC by elydgolden
Modified: 2024-11-26 17:07 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description elydgolden 2024-11-25 22:41:51 UTC
SUMMARY

Exactly as the title. When middle clicking to open an executable text file it opens in its primary app instead of its secondary app as the context menu suggests. In my case, Kate is the primary app and KWrite is the secondary app.

STEPS TO REPRODUCE
1. Create a blank shell script, titled say test.sh, and make the file executable
2. Middle click to open the file in the secondary app

OBSERVED RESULT

File opens in primary app

EXPECTED RESULT

File opens in secondary app

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: openSUSE Tumbleweed 20241124
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0

ADDITIONAL INFORMATION

It is possible that this is intended behaviour and in fact it's the context menu that is wrongly saying that middle clicking will open in the secondary app and not the primary app. In this case the bug is in the context menu incorrectly stating that middle click will open in the secondary app.
Comment 1 Akseli Lahtinen 2024-11-26 14:45:00 UTC
Can confirm, seems to happen only with executable scripts.

Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.80
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.0
Kernel Version: 6.11.8-300.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15,5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600