From f332b5a076c501c3e6f8716923df3356a878de89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Fortin=20Tam?= Date: Wed, 21 Feb 2024 15:45:52 -0500 Subject: [PATCH] Delay search activation for better UX & perfs A more realistic default delay avoids spamming the search backends. Benefits of this approach: * Improves overall performance, allows wider search timeline ranges; * Reduces power consumption; * Reduces or eliminates flickering in the GUI; * Reduces the amount of trace logging noise by more than 15x. Fixes https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1170 --- src/gui/gcal-search-button.ui | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/gcal-search-button.ui b/src/gui/gcal-search-button.ui index b6a143d4..5fac0afb 100644 --- a/src/gui/gcal-search-button.ui +++ b/src/gui/gcal-search-button.ui @@ -54,6 +54,7 @@ Search events 0 0 + 500