After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 696905 - press Escape to cancel search
press Escape to cancel search
Status: RESOLVED FIXED
Product: devhelp
Classification: Applications
Component: General
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: devhelp-maint
devhelp-maint
Depends on:
Blocks:
 
 
Reported: 2013-03-30 13:07 UTC by Adam Dingle
Modified: 2018-01-17 14:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Adam Dingle 2013-03-30 13:07:04 UTC
In Devhelp it would be nice if I could press Escape to clear the search box and cancel the current search, just as if I had pressed the X button at the right side of the search box.
Comment 1 Aleksander Morgado 2013-03-30 15:16:47 UTC
We do want to stick to what other GTK+ apps do with the new GtkSearchEntry. If you believe that this is a good thing to have, please open a bug against gtk+, as maybe it can be handled directly there in a more generic way.
Comment 2 Adam Dingle 2013-03-31 12:52:43 UTC
Done: see bug 696961 .
Comment 3 Ignacio Casal Quinteiro (nacho) 2013-08-23 12:31:21 UTC
Adam, is this still ok with the port I made to GtkSearchbar?
Comment 4 Adam Dingle 2013-08-24 10:53:44 UTC
Nacho, I don't understand your question.  In Devhelp from git master I still can't press Escape to cancel a search, and I'd still like to be able to.
Comment 5 Ignacio Casal Quinteiro (nacho) 2013-08-24 20:09:45 UTC
Hey Adam,

maybe we are talking about a different search? I mean about the one on webkit view, i.e pressing control+f and searching something.
Comment 6 Adam Dingle 2013-08-25 10:25:53 UTC
Ah.  In this bug I'm talking about the main search box at the top of the sidebar.
Comment 7 Sébastien Wilmet 2018-01-10 12:04:17 UTC
We can connect to the GtkSearchEntry::stop-search signal to empty the entry. "The default bindings for this signal is Escape."
Comment 8 Sébastien Wilmet 2018-01-17 14:30:16 UTC
Done: commit 6ae70073a2e491c33c1d7ea712104fe2f7cf769c