From ec15121d5da21f8c51906660a66c03a5572f4234 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= Date: Mon, 9 Nov 2026 11:44:53 +0100 Subject: [PATCH] Fix Backspace and Delete handling in search results popover Forward Backspace and Delete key events to the search entry delegate when the search results popover is open, allowing text deletion to work as expected. --- src/MainWindow.vala | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/MainWindow.vala b/src/MainWindow.vala index c450261..2ebf34a 100644 --- a/src/MainWindow.vala +++ b/src/MainWindow.vala @@ -214,6 +214,8 @@ public class Maps.MainWindow : Adw.ApplicationWindow { // Intercept space key so it's not used for list activation: https://github.com/elementary/maps/issues/150 case Gdk.Key.KP_Space: case Gdk.Key.space: + case Gdk.Key.BackSpace: + case Gdk.Key.Delete: search_key_controller.forward (search_entry.get_delegate ()); return Gdk.EVENT_STOP; default: