Bottles icon indicating copy to clipboard operation
Bottles copied to clipboard

[Request]: Option to sort library

Open ElbertCode opened this issue 1 year ago • 6 comments

Tell us the problem or your need

Currently every new app added to the library is always on the top.

Describe the solution you'd like

Add an option to list the apps in the library in ascending and descending order and by additional values such as name, date last used, etc. If Issue #1273 is going to be implemented, it could also be sorted by play time.

Other solutions?

Alternatively, items in the library could be arranged completely freely.

Additional context and references

No response

ElbertCode avatar Mar 27 '23 05:03 ElbertCode

Hi, I strongly agree with your opinion, there should really be an option to sort alphabetically. Actually, it's nearly impossible to navigate in an important library without the search function. Thanks to the devs for their work.

Froggy232 avatar May 11 '23 22:05 Froggy232

Agreed, just look at this mess.

To add to your original comment, maybe there should also be a way to make thumbnails smaller. I dont know about you, but my screen can only fit five in each row, and that's too little.(the image above has been reduced in size in order to load faster.)

Carlos-von-Esteban-98 avatar Jul 10 '23 22:07 Carlos-von-Esteban-98

Currently every new app added to the library is always on the top.

No, not really, they are sorted by their "ids"(idk what to call them) that are in ~/.var/app/com.usebottles.bottles/data/bottles/library.yml

for example:

05519fae-d638-46bd-8635-fb419ef30cbc:
  bottle:
    name: win7x64
    path: win7x64
  icon: "/home/wine_user/.var/app/com.usebottles.bottles/data/bottles/bottles/win7x64/icons/Grand
    Theft Auto\u2122 \uFB06 Andreas.png"
  id: 27be9786-5216-485a-a247-3a323792f190
  name: "Grand Theft Auto\u2122 San Andreas"
  thumbnail: grid:92254af6-9106-4d6b-abea-d9d1ff7750a8.png
05fcb106-bdba-488f-b855-f8b37e51e0e3:
  bottle:
    name: test7
    path: test7
  icon: "/home/wine_user/.var/app/com.usebottles.bottles/data/bottles/bottles/test7/icons/Need
    for Speed\u2122 Most Wanted.png"
  id: 1b9672f3-8c3b-451b-8efd-ef008ffdfed2
  name: "Need for Speed\u2122 Most Wanted 2005"
  thumbnail: grid:c9e82c0a-24a2-434b-bb62-78be4585f830.jpg
069dacaf-9b5f-4287-a9d3-224da5d7877a:
  bottle:
    name: WinXP-32
    path: WinXP-32
  icon: /home/wine_user/.var/app/com.usebottles.bottles/data/bottles/bottles/WinXP-32/icons/Bejeweled
    2.png
  id: e0b9c084-78af-4630-a4c0-c4ad78eeae91
  name: Bejeweled 2
  thumbnail: grid:3863ccec-aea5-442a-aa27-d23fcb6be68c.png

and so on... Notice how 055.... -> 05f... -> 069...

Carlos-von-Esteban-98 avatar Jul 10 '23 22:07 Carlos-von-Esteban-98

Sorry to prod, but is this feature being worked on at all? Been the one thing that's absolutely been sorely missing in an otherwise great app...

SeongGino avatar Oct 16 '23 17:10 SeongGino

Sorry to prod, but is this feature being worked on at all?

Not much has been worked on at all lately. We've got our focus put onto other projects, as well as trying to deal with burnout and balancing our time.

orowith2os avatar Oct 16 '23 20:10 orowith2os

This feature would definitely be appreciated. Each library entry's ID seems quite random, so I can't understand why Bottles' sorts by them to begin with. It makes managing any significant number of games or programs impossible.

permaloom avatar Feb 10 '24 05:02 permaloom