https://bugs.kde.org/show_bug.cgi?id=415948
Bug ID: 415948 Summary: Session creation in Kate causes invalid desktop file to be placed in ~/.local/share/applications Product: kate Version: 19.08.2 Platform: Fedora RPMs OS: Linux Status: REPORTED Severity: major Priority: NOR Component: sessions Assignee: kwrite-bugs-n...@kde.org Reporter: rud...@rudd-o.com Target Milestone: --- SUMMARY If the user creates a Kate session, Kate persists the session in a desktop file created in the user's local/share/applications folder. It does so the following way: ------------------------------------------ [Desktop Action Session d4c143f004d88b7286e6f999dea9d0d7] Exec=kate -s accounting Name=accounting [Desktop Entry] Actions=Session d4c143f004d88b7286e6f999dea9d0d7; Categories=Qt;KDE;Utility;TextEditor; Comment=KDE Advanced Text Editor Exec=kate -b %U GenericName=Advanced Text Editor Icon=kate InitialPreference=9 MimeType=text/plain; Name=Kate StartupNotify=true Terminal=false Type=Application X-DBUS-ServiceName=org.kde.kate X-DBUS-StartupType=Multi X-DocPath=kate/index.html X-KDE-HasTempFileOption=true ------------------------------------------ The presence of this header before the [Desktop Entry] header (which is a violation of the desktop entry spec) causes programs which use GIO's GDesktopAppInfo to launch applications (including the Qubes OS operating system) to fail to launch the applications. The same file minus the [Desktop Actions] header works fine in the same environment: -------------------------------------- [Desktop Entry] Actions=Session d4c143f004d88b7286e6f999dea9d0d7; Categories=Qt;KDE;Utility;TextEditor; Comment=KDE Advanced Text Editor Exec=kate -b %U GenericName=Advanced Text Editor Icon=kate InitialPreference=9 MimeType=text/plain; Name=Kate StartupNotify=true Terminal=false Type=Application X-DBUS-ServiceName=org.kde.kate X-DBUS-StartupType=Multi X-DocPath=kate/index.html X-KDE-HasTempFileOption=true -------------------------------------- It is unclear at this time whether the problem is with the editor that does it, or somewhere in KDELibs that is doing the creation of the desktop file, but it's certainly a bug. OBSERVED RESULT Programs compliant with the desktop entry specification fail. Please see https://gitlab.gnome.org/GNOME/glib/issues/1987 for more information. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Latest available in Fedora 30. -- You are receiving this mail because: You are watching all bug changes.