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 705407 - The "REPLACE" command in gedit doesn't work WHEN USING ACCENTED letters (á é í ó ú)
The "REPLACE" command in gedit doesn't work WHEN USING ACCENTED letters (á é ...
Status: RESOLVED DUPLICATE of bug 702977
Product: gedit
Classification: Applications
Component: general
3.6.x
Other Linux
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2013-08-03 14:06 UTC by ivarela
Modified: 2013-08-03 15:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
image caption. When click on Find button, it shows that string is not found. So it's impossible to replace it. (63.64 KB, image/png)
2013-08-03 14:06 UTC, ivarela
Details

Description ivarela 2013-08-03 14:06:20 UTC
Created attachment 250770 [details]
image caption. When click on Find button, it shows that string is not found. So it's impossible to replace it.

The "REPLACE" command in gedit doesn't work WHEN USING ACCENTED letters (á é í ó ú) , when checking "Match case" and "Match entire word only".

Tested in:
- Ubuntu 13.04, gedit v. 3.6.2
- Ubuntu 12.04, gedit v. 3.4.1
- Using alternately Spanish and French Keyboard layout (or another Keyboard layout that let's you using accented letters)


Steps to reproduce the bug:

- Type: "título" without the quots (means 'title', in english); "Título" (with first letter in uppercase); and "Títulos" (means 'titles' in english).
- Click on "Replace" icon.

  For example, we're going to replace ONLY "Título" with "hello" (for example), so:

- In "Search for:" type: Título
- In "Replace with:" type: hello (for example)
- Match case: ON
- Match entire word only: ON
- Wrap around: ON

Click on 'Find' button, and the result is: "'Título' not found"

- If you uncheck 'Match entire word only', when pressing 'Find', gedit only finds "Títul", the 'Replace' button is active but it doesn't work, and 'Replace All' button is active but it replace wrong the word (because it doesn't recognice the string.. obviously.)

I've tested this bug with other words, and older versions of gedit (without accented letters) and 'Replace' button works properly.
Comment 1 Sébastien Wilmet 2013-08-03 15:04:36 UTC
Fixed in gtk+ 3.9. We should maybe backport the fix in gtk+ 3.8 and 3.6.

*** This bug has been marked as a duplicate of bug 702977 ***