[dolphin] [Bug 494124] New: Unsetting the executable bit might reorder a .desktop file

Mors Mortium bugzilla_noreply at kde.org
Fri Oct 4 16:54:18 BST 2024


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

            Bug ID: 494124
           Summary: Unsetting the executable bit might reorder a .desktop
                    file
    Classification: Applications
           Product: dolphin
           Version: 24.08.1
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-null at kde.org
          Reporter: morsmortium at disroot.org
                CC: kfm-devel at kde.org
  Target Milestone: ---

Created attachment 174425
  --> https://bugs.kde.org/attachment.cgi?id=174425&action=edit
The bug happening

***
If you're not sure this is actually a bug, instead post about it at
https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY

STEPS TO REPRODUCE
1. Copy a .desktop file, that has the executable bit set from
/usr/share/applications
2. Observe the order of lines, or just keep it open
3. Right click the file in Dolphin
4. Click Properties
5. Click Permissions
6. Uncheck "is executable"
7. Click Ok

OBSERVED RESULT
The file gets reordered

EXPECTED RESULT
The file stays the same, just not an executable

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3

ADDITIONAL INFORMATION
Tested it with org.kde.kmail2.desktop and kdesystemsettings.desktop, both got
reordered, but as org.kde.kmail2.desktop had different sections from [Desktop
Entry], that became the first, which in turn broke it opening with `gio launch`

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list