In Trash folder, Nautilus misinterprets "\n" in filename as a line break

Bug #1061533 reported by Matthew Paul Thomas
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
GLib
Fix Released
Medium
One Hundred Papercuts
Fix Released
Low
Timothy Arceri
glib2.0 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

nautilus 1:3.5.90.really.3.4.2-0ubuntu3, Ubuntu Q

1. Create a file or folder with the name "a\nb".
2. Move it into the Trash.
3. Open the Trash and find it.

What happens:
1. The name appears correctly as "a\nb".
3. The name appears incorrectly as
    a
    b

What should happen: The name appears as "a\nb" in both cases.

Curiously, the error occurs only in the Trash folder. It occurs regardless of whether the Trash is using Icons, List, or Compact view.

Revision history for this message
Matthew Paul Thomas (mpt) wrote :

Next step is to test this in upstream 3.6, and if it still occurs, report it in bugzilla.gnome.org.

description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nautilus (Ubuntu):
status: New → Confirmed
Revision history for this message
dmiranda (dmiranda) wrote :

The bug occurs on Nautilus 3.6 too.

Changed in hundredpapercuts:
status: New → Confirmed
milestone: none → raring-round-2
importance: Undecided → Low
assignee: nobody → Papercuts Ninja (papercuts-ninja)
Changed in hundredpapercuts:
status: Confirmed → Triaged
Revision history for this message
Timothy Arceri (t-fridey) wrote :

Reported upstream

Changed in nautilus:
importance: Undecided → Unknown
status: New → Unknown
Changed in nautilus:
importance: Unknown → Medium
status: Unknown → New
Changed in hundredpapercuts:
assignee: Papercuts Ninja (papercuts-ninja) → Timothy Arceri (t-fridey)
status: Triaged → In Progress
Revision history for this message
Timothy Arceri (t-fridey) wrote :

The bug is actually in Glib (GIO) see upstream bug for more information.

affects: nautilus (Ubuntu) → glib2.0 (Ubuntu)
affects: nautilus → glib
Changed in glib:
status: New → Confirmed
Changed in hundredpapercuts:
milestone: raring-round-2 → raring-misc
Revision history for this message
Timothy Arceri (t-fridey) wrote :

I have submitted a patch for this upstream

Changed in hundredpapercuts:
status: In Progress → Fix Committed
Changed in glib2.0 (Ubuntu):
status: Confirmed → Fix Committed
Changed in glib:
status: Confirmed → Fix Released
Changed in hundredpapercuts:
milestone: raring-misc → raring-gtk
Iain Lane (laney)
Changed in glib2.0 (Ubuntu):
status: Fix Committed → Fix Released
Changed in hundredpapercuts:
status: Fix Committed → Fix Released
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.