linuxmint / linuxmint/cinnamon

Cinnamon favorites applet does not sort by alphabet

Open
#10,861 18 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
5.6k
Forks
915
Avg merge
5d 22h
Merged PRs (30d)
3

Description

Linux Mint 20.3 Cinnamon 64 bit
Cinnamon version 5.2.7
No daily builds
NVIDIA G98M [GeForce G 105M], NVIDIA driver
.xsession-errors attached

Issue
when adding folders to the favorites from within Nemo, the folders are sorted by alphabet in the relevant locations from within Nemo (see the nemo instances in screenshot 1), but not in the main taskbar menu and the star applet (see screenshot 1 and 2).

Screenshot 1

screenshot-1

Screenshot 2

screenshot-2

Steps to reproduce
I am not sure how to precisely reproduce.

  • It may always have been like this
  • It may be because I once deleted a parent folder of some favorited folders, which does not delete these favorites from the lists in the taskbar (which can be fixed by recreating these folders and unfavoriting them). Someone already reported this here, I think, but I can not find the issue right now. Possible that afterwards the sorting is broken.
  • It may be because I once added export LC_COLLATE=C to the ~.profile (to modify the sorting in Nemo). But i removed this entry again.
  • Another possible reason may be that I have restored previous system states with Timeshift a few times, which included data in the user and root user folders (aka, complete system restore)
  • It may be my relatively old laptop
  • ??? I am still learning Linux, can not help further. I wonder how this applet generates the list and if it resorts it whenever a favorite is added.

No, this is just not yet implemented. I will do it.

Expected behaviour
The favorites in the lists in the taskbar are sorted by alphabet.

Configuration info

{
    "head": {
        "type": "header",
        "description": "Settings"
    },
    "show-full-uri": {
        "type": "switch",
        "default": false,
        "description": "Display full paths in the list",
        "value": false
    },
    "__md5__": "47cfb84ecf716b6b4756ccdac7f369e4"
}

xsession-errors.txt
xsession-errors.old.txt

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how favorite folders added from Nemo are displayed in Cinnamon's main taskbar menu and star applet, and compare their ordering with Nemo's alphabetical ordering. Confirm the behavior with the reported Linux Mint and Cinnamon versions; done means both Cinnamon favorite lists consistently sort folders alphabetically.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.