Cannot trash or restore file if filename very long

Bug #781572 reported by 周成瑞
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Nautilus
New
Medium
nautilus (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Binary package hint: nautilus

I find nautilus cannot trash a file if its filename is longer than 245 chars,
since nautilus create trashinfo file in the form <filename>.trashinfo under
$HOME/.local/share/Trash/info, which adds 10 bytes to the info file.

Also, if a filename is longer than 238 chars, the file can be deleted but
cannot be restored. This is because the trashinfo file is created but empty. I
do not find the reason for this, even after a look at the nautilus code.

I use GNOME nautilus 2.32.2.1.

Changed in nautilus:
importance: Unknown → Low
status: Unknown → New
Changed in nautilus (Ubuntu):
status: New → Triaged
importance: Undecided → Low
Changed in nautilus:
status: New → Invalid
Changed in nautilus:
importance: Low → Unknown
status: Invalid → Unknown
Changed in nautilus:
importance: Unknown → Medium
status: Unknown → New
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.