sortation in album

Bug #389855 reported by LAZA
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rhythmbox
Unknown
Low
rhythmbox (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: rhythmbox

The sortation in the right handed window for the albums is incorrect.

For example I have the five albums from 'Johnny Cash' 'American Recordings'
As you can see, the third album is before the second cause of errorous sortation by the suffixations 'American', 'Solitary Man' and 'Unchained' AND NOT - as it should be - sortation by the latin numbers I, II and III.

Nautilus have/had the same problem...

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/rhythmbox
Package: rhythmbox 0.12.0-0ubuntu4
ProcEnviron:
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: rhythmbox
Uname: Linux 2.6.28-13-generic x86_64

Revision history for this message
LAZA (laza74) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. The issue is an upstream one and it would be nice if somebody having it could send the bug the to the people writting the software (https://wiki.ubuntu.com/Bugs/Upstream/GNOME)

Changed in rhythmbox (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Low
Revision history for this message
LAZA (laza74) wrote :

OK, done!

Revision history for this message
LAZA (laza74) wrote :
Changed in rhythmbox (Ubuntu):
status: New → Triaged
status: Triaged → Confirmed
status: Confirmed → New
status: New → Triaged
Changed in rhythmbox:
status: Unknown → Invalid
Revision history for this message
Pedro Villavicencio (pedro) wrote :

comment from upstream:

"No, that isn't the cause at all. This is actually caused by your locale's
sorting rules. Try running 'LC_ALL=C rhythmbox' and you should see the albums
sorted in the correct order.
"
could you try that and comment back?

Changed in rhythmbox (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
LAZA (laza74) wrote :

Ok, done!

After the command in the terminal it didn't responsed so I opend rhythmbox and search for 'cash' = the sortation was in correct order.
But still the terminal not finished so I pressed 'CTRL' + 'C'
After that, terminal was back noraml (blinking cursor) but the sortation has changed back to the false....

So again I tried with open rhythmbox = nothing happend

After closing rhythmbox and pressing the command again, opening rhythmbox = right sortation
BUT: terminal hangs...

Every time fater the command follows the output
(rhythmbox:4526): Rhythmbox-WARNING **: Could not open device /dev/radio0

So now the cursor ist blinking while I wait that the command comes to an end - or stop it with CTRL+C.
And we now know what that means, right, rhythmbox is back to wrong sortation.

Good idea anyway!

Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

LAZA, your description is not clear enough. You said you executed "LC_ALL=C rhythmbox"; and because the terminal was not responsive you opened rhythmbox. Are you sure that rhythmbox wasn't already running? - it should be.

Regarding the unresponsive terminal: This is normal, since the command has not exited (rhytmbox had to be closed for that). To be able to execute further commands type "LC_ALL=C rhythmbox &". This will give you the terminal back ;)

Revision history for this message
LAZA (laza74) wrote :

And again:
If rhythmbox is open or active, nothing happens. I tried it twice!
In terminal was at this time a respone:
[1] 3914
But as I describe before, nothing changes at the sortation.

Then I close rhythmbox and tried it again with "LC_ALL=C rhythmbox"
The response on terminal:
[2] 4068
[1] Done LC_ALL=C rhythmbox
The sortation changed and all seems correct.
BUT:
After closing rhythmbox again to simulate a shutdown and open it up again the old, wrong sortation is back.
So it have to fixed in an command at booting the PC or something like that...

Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

Thank you LAZA for your fast reply. Now, as the problem (well, problem depends on the users need) is caused by your locale's sorting rules (not by rhythmbox), there are some ways to solve this problem.

1. You create a text file with the following content

#!/bin/bash
LC_ALL=C
rhythmbox

and save it somewhere. Then you rightclick on the menu bar in the panel, choose "Edit Menus" and edit the entry for rhythmbox so that it points to the created file.
!!!This is the preferred way to do it!!!

2. You open a terminal and type "export LC_ALL=C" which will permanently set the global variable LC_ALL to "C".
!!! This is the less preferred way, bceause I do't know which impact this change might have on other programms/settings, etc.!!!

Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

Closing this bug since it's not really a bug.

Changed in rhythmbox (Ubuntu):
status: Incomplete → Invalid
Changed in rhythmbox:
importance: Unknown → Low
status: Invalid → Unknown
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.