[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
DesktopMime issue?
[Thread Prev] | [Thread Next]
- Subject: DesktopMime issue?
- From: Salva <harpomix@xxxxxxxxx>
- Date: Tue, 29 Oct 2024 12:51:30 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Hey everyone, I found a possible issue with the DesktopMime component. An application was having trouble loading generic 'mime-types'. I tried debugging the component's code, and it loads the data in the ReadMimeFile function. The sPath parameter it receives has the following value: "/usr/share/mime/globs2". It loads correctly and then tries to load the generic 'mime-types' from the file: generic-icons. On line 209, it executes: If Exist(sPath &/ "mime/generic-icons") Then So it's looking for: "/usr/share/mime/globs2/mime/generic-icons". It never actually loads the generic icons. Best regards.