Find Next/Previous wrap around even when wrapping is off

Bug #39991 reported by Matthew Paul Thomas
10
Affects Status Importance Assigned to Milestone
gedit
Fix Released
Low
gedit (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

gedit 2.14.2, Ubuntu Dapper

1. Enter "A man, a plan, a canal, Panama" in a new document.
2. Go to the start of the document (Ctrl+Home).
3. Open the Find dialog, enter "a " as the search string, and turn "Wrap around" off.
4. Click "Find" repeatedly. It highlights the three occurrences, and stop at the last one.
5. Close the dialog.
6. Choose "Find Next".

What should happen:
* Nothing, because the last occurrence is already selected.

What actually happens:
* Find Next and Find Previous behave as if "Wrap around" was still turned on.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks for your bug report. I forwarded the bug to the upstream developers: http://bugzilla.gnome.org/show_bug.cgi?id=338912

Changed in gedit:
assignee: nobody → desktop-bugs
status: Unconfirmed → Confirmed
Revision history for this message
Daniel Holbach (dholbach) wrote :

Patch available upstream (http://bugzilla.gnome.org/attachment.cgi?id=63977)- not sure if this will make release time. We need to check it and decide if we can patch gedit for that.

Changed in gedit:
status: Confirmed → Fix Committed
Revision history for this message
Daniel Holbach (dholbach) wrote :

 gedit (2.14.2-0ubuntu3) dapper; urgency=low
 .
   * debian/patches/42_fix_gedit_manpage-from-CVS.patch:
     - rename patch to indicate it can be dropped with next upstream release.
   * debian/patches/44_fix_text_wrapping_in_searching-from-CVS.patch:
     - fix Malone #39991: "Find Next/Previous wrap around even when wrapping
       is off"
   * debian/patches/43_from_CVS_no_not_reveal_password_in_title_bar-from-CVS.patch:
     - fix Malone #39120: "Gedit show keyring store password on the window
       title bar."

Changed in gedit:
status: Fix Committed → Fix Released
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

Thank you Daniel, and thank you Ubuntu Desktop Bugs. :-)

Changed in gedit:
importance: Unknown → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.