Repository navigation
Conversation
Compare executable basenames when matching processes to desktop applications. This fixes application identification when the process command contains an absolute executable path but the desktop entry specifies only the executable name.
|
Hi, could you provide an app example, so I could verify this? Since we do not have tests for this I have to check manually. Thanks! |
|
I have encountered this with some D-Bus-activated applications. For example, you can reproduce it with:
For example, dconf-editor has |
|
I'm using dconf-editor 49.0 and dbus-broker 37. When the application is launched via D-Bus, I get the following values: apps_info_list.get (key).get_executable () = dconf-editor
Path.get_basename (apps_info_list.get (key).get_executable ()) = dconf-editor
command_sanitized = /usr/bin/dconf-editor
command_sanitized_basename = dconf-editorI can also reproduce this by running |

Compare executable basenames when matching processes to desktop applications.
This fixes application identification when the process command contains an absolute executable path but the desktop entry specifies only the executable name.