https://bugs.kde.org/show_bug.cgi?id=470454

            Bug ID: 470454
           Summary: Java executable opens with Kate through Dolphin
    Classification: I don't know
           Product: kde
           Version: unspecified
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-b...@kde.org
          Reporter: iodream...@gmail.com
  Target Milestone: ---

SUMMARY
I've recently downloaded a java game with the executable bit already set. If
you click the executable it provides Dolphin sees it as a "Manual page" and
tries to open it with Kate, which of course produces only garbage. The system
doesn't even ask if i want to open the file as an executable, like with
Appimages for example. It doesn't matter if the executable bit is set or not. 

The file command in the terminal sees it as a 
"ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked,
interpreter /lib64/ld-linux-x86-64.so.2,
BuildID[sha1]=b566cf063c546e8cd7ce4fe9c1ce81ddbb9c00f1, for GNU/Linux 3.2.0,
not stripped" 

and the mime type is  "application/x-executable; charset=binary"

I am not sure if i can attach the file as an example here but the example game
is from here: 
https://mslivo.itch.io/setris

The game launches just fine through the terminal.

STEPS TO REPRODUCE
1. Extract the archive
2. Double click the Setris-1.2 executable

OBSERVED RESULT
File is opened through kate

EXPECTED RESULT
Plasma treats it as an executable and asks me what to do

Operating System: Fedora Linux 38
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 6.2.15-300.fc38.x86_64 (64-bit)
Graphics Platform: Wayland

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to