From 1b853b1623b171bfe3237e5eb7167cb124d5066c Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Wed, 30 Aug 2023 13:00:56 +0200 Subject: [PATCH] sysprof: add search bar to the D-Bus view For now this only supports searching in the sender, destination, path, interface and method fields. And will match if any of these fields contain the search term as substring. In the future it may be nice to allow searching individual fields as well as filter based on enum fields. --- src/sysprof/sysprof-dbus-section.ui | 104 ++++++++++++++++++++++++---- 1 file changed, 91 insertions(+), 13 deletions(-) diff --git a/src/sysprof/sysprof-dbus-section.ui b/src/sysprof/sysprof-dbus-section.ui index 11f2a0fa..fa1a4d14 100644 --- a/src/sysprof/sysprof-dbus-section.ui +++ b/src/sysprof/sysprof-dbus-section.ui @@ -56,6 +56,20 @@ + + + + + Filter Events + 3 + 3 + 3 + 3 + true + + + + @@ -81,19 +95,83 @@ column_view - - - - SysprofDBusSection - - - - - - SysprofDBusSection - - - + + + + + + SysprofDBusSection + + + + + + SysprofDBusSection + + + + + + + + + + + substring + + + + + filter_search_entry + + + + + + substring + + + + + filter_search_entry + + + + + + substring + + + + + filter_search_entry + + + + + + substring + + + + + filter_search_entry + + + + + + substring + + + + + filter_search_entry + + + + +