Repository navigation
Fix incorrect process application matching - #586
Conversation
Skip desktop entries with empty command lines when populating the application info list to prevent incorrect process application matching.
|
Hi, Could you provide examples before/after? |
|
Desktop entries with an empty When populating the application info list, entries with an empty command line are added to the list with an empty string as their key. Since many processes have an empty command line (or the matching logic ends up comparing against an empty string), these entries can incorrectly match unrelated processes. For example, an application with an empty Skipping desktop entries with empty command lines prevents these false matches. |
|
Out of curiosity, what apps do have empty Exec fields in desktop files? I recall, I had this issue before, but not in recent years. |
Actually, in my case, the issue was caused by a bug in KWin, where a variable in its desktop file wasn't being substituted correctly, resulting in an empty |
Skip desktop entries with empty command lines when populating the application info list to prevent incorrect process application matching.