I will try easy instruction to reproduce the bug

1) Create some files with the same name
2) Search for this files with (german) "Orte->Dateien suchen" (I think File 
search in englisch) and delete them (Not in a nautilus windows! You must do it 
in the windows from gnome-search-tool).

Example:

1) create a file "neue Datei". Search for it with the gnome-search-tool and 
delete them. In the Trash you have a file with the name "neue Datei".
2) Do the same and in the Trash you have a file with the name "neue Datei 
(Kopie)"
3) Do the same and in the Trash you have a file with the name "neue Datei (noch 
eine Kopie)"
4) Do the same and in the Trash you have a file with the name "neue Datei (3. 
Kopie)"
5) Do the same and in the Trash you have a file with the name "neue Datei (4. 
Kopie). Kopie)"
6) Do the same and in the Trash you have a file with the name "neue Datei (5. 
Kopie). Kopie). Kopie)"
...
xx) Do the same and in the Trash you have a file with the name "neue Datei (xx. 
Kopie). Kopie). Kopie)..."
xx+1) Do the same and you become an error

Each file name is in the german Version is length(". Kopie)")=8 longer
than the file name before & 255/8 = 31.875. -> The delete of the 32. (or
less) file with the same name will make the "Name is to long" error.

Remember this bug is only in gnome-search-tool. When I delete the files in 
nautilus the creating of the file names for the Trash is correct ("neue Datei", 
"neue Datei (Kopie)", "neue Datei (noch eine Kopie)", "neue Datei (4. Kopie)", 
neue Datei (5. Kopie) ...
But when you delete them in gnome-search-tool you become ("neue Datei", "neue 
Datei (Kopie)", "neue Datei (noch eine Kopie)", "neue Datei (4. Kopie). 
Kopie)", "neue Datei (5. Kopie). Kopie). Kopie)", ...) and than an error when 
the File name is too long (I think more than 255 characters).

-- 
gnome-search-tool: delete of file fails - Name too long
https://bugs.launchpad.net/bugs/248005
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to