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 722965 - Simple search: problem with forward and backward buttons sensitivity
Simple search: problem with forward and backward buttons sensitivity
Status: RESOLVED FIXED
Product: gedit
Classification: Applications
Component: search and replace
3.10.x
Other Linux
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2014-01-25 11:54 UTC by Sébastien Wilmet
Modified: 2014-02-03 07:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sébastien Wilmet 2014-01-25 11:54:23 UTC
Steps to reproduce the problem:
- disable the wrap around option for the simple search (Ctrl+F)
- place the cursor at the end of the document
- search for something that exists in the document

The search entry background becomes red, because the text is not found after the text cursor. But since the text exists in the document, it should be possible to go to the previous occurrence. The problem is that the forward and backward buttons are insensitive when the search entry has the not-found state.

So the simplest solution is to always set the forward and backward buttons as sensitive, even if the action does nothing.
Comment 1 Sébastien Wilmet 2014-02-03 07:22:51 UTC
Fixed:
https://git.gnome.org/browse/gedit/commit/?id=26327154c67cdebc707984b596f5bfa4458ba163

Pushed also on the gnome-3-10 branch.