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 582803 - Gedit should support clearing search highlighting automatically
Gedit should support clearing search highlighting automatically
Status: RESOLVED WONTFIX
Product: gedit
Classification: Applications
Component: general
2.26.x
Other Linux
: Normal enhancement
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2009-05-15 18:05 UTC by Pekka Vuorela
Modified: 2016-03-01 13:11 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
My attempt to implement this feature. Patch against 2.26.1. (4.66 KB, patch)
2009-05-15 18:10 UTC, Pekka Vuorela
none Details | Review

Description Pekka Vuorela 2009-05-15 18:05:34 UTC
A feature of Gedit that has annoyed me slightly has been the search highlighting that stays on after the search and even matches new content. When I close the search dialog, I'm done with searching and don't need the highlighting anymore. 
Would it be for me, I'd turn on autoclearing as default, but just having the possibility to do so would be great.

(Also from the usability point of view, my first tries of getting rid of it were doing new search with an empty string. This turned the search button disabled so I didn't succeed with my attempt this way. It took some time before I noticed the "clear highlight" behind search menu.)
Comment 1 Pekka Vuorela 2009-05-15 18:10:26 UTC
Created attachment 134728 [details] [review]
My attempt to implement this feature. Patch against 2.26.1.

Adds a new gconf key for turning on auto clearing and use for the value in incremental search and normal search dialog.
Comment 2 Ignacio Casal Quinteiro (nacho) 2010-09-09 21:27:28 UTC
I don't like this proposal, the highlighted search is there on purpose as you can just have a look where the search was. This is totally intentional and because of this we provide a way to clear the highlighted text. You can use the menuitem or control+shift+k. I'm closing this as WONTFIX. Thanks anyway for reporting this bug.
Comment 3 diraniyoussef 2016-02-21 18:17:11 UTC
(In reply to Ignacio Casal Quinteiro (nacho) from comment #2)
> I don't like this proposal, the highlighted search is there on purpose as
> you can just have a look where the search was. This is totally intentional
> and because of this we provide a way to clear the highlighted text. You can
> use the menuitem or control+shift+k. I'm closing this as WONTFIX. Thanks
> anyway for reporting this bug.

Dear Ignacia,
I disagree with you, since it would be fine to edit whatever we like while the search bar is still showing.
The quicker things are the better.
Comment 4 diraniyoussef 2016-03-01 13:11:33 UTC
After a second thought, it is worth it.