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 431695 - right-click move to trash doesn't work in library-import errors view
right-click move to trash doesn't work in library-import errors view
Status: RESOLVED INCOMPLETE
Product: rhythmbox
Classification: Other
Component: general
0.10.0
Other Linux
: Normal trivial
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
: 443149 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-04-20 13:55 UTC by Sebastien Bacher
Modified: 2009-12-28 09:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastien Bacher 2007-04-20 13:55:14 UTC
The bug has been opened on https://bugs.launchpad.net/ubuntu/+source/rhythmbox/+bug/91906

"Binary package hint: rhythmbox

Steps to reproduce:
 - create a test.txt in your music collection
 - make sure rhythmbox scans your collection for new files (or make it scan manually)
 - go to my library -> import errors
 - here you see your 'test.txt' file..
 - right click .. move to trash
 - notice that it gets copied to trash, instead of moved
...
http://librarian.launchpad.net/7351242/%5Ben%5D%20Readme%20-%20www.jamendo.com%20.txt
English jamendo readme file

I've downloaded another album from Jamendo, which again contained this readme files and was able to reproduce this error.

It consists of two bugs, possibly related:

1. These plain text documents are flagged as 'import errors'. The specific error I get is: "This stream is of a different type than handled by this element"

2. I am not able to throw these documents into the trash. These problematic files get _copied_ to the trash, not moved. Even though an empty MP3, which is correctly flagged as an import error, can be moved to the trash. I say copied, because the file will remain at its original location, yet an identical copy is also put in the trash.

After trying out lots of stuff, I can say it has to do with the line-endings in the plain-text readme files.

- These bugs remain if I change the filename or path
- These bugs go away when I remove the line-endings
- These bugs stay away when I add the line-endings by pressing [enter] in gedit

Given all these observations, it has to be related to line-endings. I know there is a difference between how unix and dos/windows handle line-endings in text-files, but I'm not really familiar with the specifics, so I can't 'detect' this myself.

To reproduce this bug, please place attachment in a folder rhythmbox is monitoring. It will be flagged as an import error (which is a bug), and then when you move it to the trash, it will be copied to the trash, not moved.

I still can't imagine how the trash-bug is related to file-endings through: it seems very unlikely."
Comment 1 Jan Niklas Hasse (Account disabled) 2007-05-27 10:54:07 UTC
I've tested the patch here:
http://bugzilla.gnome.org/show_bug.cgi?id=404180
And it does also fix your problem.
Comment 2 Jonathan Matthew 2009-12-19 10:18:17 UTC
*** Bug 443149 has been marked as a duplicate of this bug. ***
Comment 3 Jonathan Matthew 2009-12-28 09:27:19 UTC
I can't reproduce this.