DesktopFile for google-chrome.desktop is incomplete
Type : Bug
Priority : Medium
Gambas version : Unknown
Product : Unknown
DesktopFile created by new DesktopFile("/usr/share/applications/google-chrome.desktop) is incomplete, every property except "Name" is an empty string.
google-chrome.desktop's [Desktop Entry] section contains two comment lines:
# Only KDE 4 seems to use GenericName, so we reuse the KDE strings.
# From Ubuntu's language-pack-kde-XX-base packages, version 9.04-20090413.
This causes Gambas to abort its analysis of the [Desktop Entry] section at lines 110 and 111 of DesktopFile.class:
iPos = InStr(sLine, "=")
If iPos = 0 Then Break
No "=" so it aborts. Note that this code will also cause an abort with a blank line.