joannesguillemot / advanced-find

Automatically exported from code.google.com/p/advanced-find
0 stars 0 forks source link

sharp (#) character in paths raises problems in scope of "All Documents in Directory" #57

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. create a file with a sharp (#) charachter in its filename (e.g. 
"example#file.txt")
2. open the file in gedit and fill it with some text to search for (e.g. "sharp 
test")
3. save the file
4. press shift+ctrl+f to open "Advanced Find/Replace"
5. fill "Find what" with "sharp test"
6. set the scope to "All Documents in Directory"
7. press "Find All"

What is the expected output? What do you see instead?
- a list with one search result appears
- "sharp test" was found in line one of the created file. so far everything is 
fine, but...
- instead of "example#file.txt", just "example" is presented as the filename
- the same thing in the absolute path, everything from the beginning of the # 
character is cut off, even if the # appears in the name of a folder
- when you click on "Line 1: sharp test" in the search result, instead of 
highlighting the search term "sharp test" in "example#file.txt", a new file 
with the name "example" is created
- that's it

What version of the product are you using? On what operating system?
gedit 3.2.3, advanced find 3.3.8, Linux Mint 12

Original issue reported on code.google.com by ir4o.o91...@gmail.com on 16 Apr 2012 at 2:41

GoogleCodeExporter commented 8 years ago
It seems a bug of the gedit api that used to get file path.
I will try to avoid it.

Original comment by swatch.c...@gmail.com on 16 Apr 2012 at 3:24

GoogleCodeExporter commented 8 years ago

Original comment by swatch.c...@gmail.com on 2 May 2012 at 11:54

GoogleCodeExporter commented 8 years ago
Fixed at v3.4.0.

Original comment by swatch.c...@gmail.com on 3 May 2012 at 4:00

GoogleCodeExporter commented 8 years ago
I can confirm that this but is fixed now.

Original comment by ir4o.o91...@gmail.com on 3 May 2012 at 4:22

GoogleCodeExporter commented 8 years ago

Original comment by swatch.c...@gmail.com on 3 May 2012 at 4:49