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

            Bug ID: 497409
           Summary: Application Editor Seems to Save .desktop files in a
                    Wrong Location
    Classification: Applications
           Product: kmenuedit
           Version: 6.2.4
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: peter...@disroot.org
  Target Milestone: ---

SUMMARY
If one edits a .desktop file, it could be saved in a wrong location due to
slashes in file path replaced with dashes, so that Kickoff still looks at the
original version, effectively ignoring all changes made.

STEPS TO REPRODUCE
1. Open .desktop file editing dialogue (In my case, it is Rome: Total war,
installed with wine, path to the desktop file
~/.local/share/applications/wine/Programs/Total War/Rome - Total War/Rome -
Total War.desktop )
2. Make some changes (I have added gamescope invocation)
3. Save the file

OBSERVED RESULT
Kickoff ignores all changes, and if one opens the .desktop file editing
dialogue again, it will show the original version.
Also, there is a new .desktop file (In my case,
~/.local/share/applications/wine-Programs-Total War-Rome - Total War-Rome -
Total War.desktop) which contains all the changes.

EXPECTED RESULT
The dialogue writes changes to the old file, so Kickoff picks the changes and I
can play my game with gamescope

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20241211
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.1
Kernel Version: 6.11.8-1-default (64-bit)
Graphics Platform: Wayland
Processors: 16 × 13th Gen Intel® Core™ i7-1360P
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® Graphics

ADDITIONAL INFORMATION
Just in case, I will repeat file paths involved:
Original, supposed to be edited:
~/.local/share/applications/wine/Programs/Total War/Rome - Total War/Rome -
Total War.desktop
Where it was written: ~/.local/share/applications/wine-Programs-Total War-Rome
- Total War-Rome - Total War.desktop

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

Reply via email to