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

            Bug ID: 430157
           Summary: KDE .desktop parser complains about files that have
                    Type= "Application" but no Exec line, although this
                    situation is normal.
           Product: frameworks-kservice
           Version: 5.76.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: fa...@kde.org
          Reporter: lockyw...@gmail.com
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

SUMMARY

Certain .desktop files describe applications that have no executable. An
example is qemu, which has a qemu-ARCH binaries, but no binary that can be run
from a GUI application. If you run any application that initialises KDE, such
as khelpcenter, in the console window you will see an error report:

kf.service.services: The desktop entry file
"/usr/share/applications/qemu.desktop" has Type= "Application" but no Exec line
kf.service.sycoca: Invalid Service :  "/usr/share/applications/qemu.desktop"

This is a misleading report (according to qemu developers).

STEPS TO REPRODUCE
1. Run a DE that is not involving KDE, such as twm.
2. run khelpcenter in a terminal
3. observer the aforementioned error message

OBSERVED RESULT

Error message

EXPECTED RESULT

No error message

SOFTWARE/OS VERSIONS
Windows: not tested
macOS: not tested
Linux/KDE Plasma:  5.4.80, 5.76.0
(available in About System)
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

A bug  has been reported at the qemu bug tracker, asking the developers to
correct their .desktop file, but they seem to be absolutely sure that this is
not a .desktop format error, but rather a kde .desktop parser bug.

https://bugs.launchpad.net/qemu/+bug/1868221?comments=all

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

Reply via email to