![]() |
#1 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Feb 2014
Device: none
|
Mouse drag-and-drop sorting
A lot of people would like the possibility to sort books via drag and drop with the mouse from the bookshelf view.
Anybody can implement this feature? How this can be done? Any prototyping sample code? Thanks Marc |
![]() |
![]() |
![]() |
#2 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
![]() |
![]() |
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,354
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Sorting of books in calibre is done based on metadata. I dont see how sorting by drag and drop would possibly fit into that. If you want to sort books based on some arbitrary criteria, create a custom column in Preferences->Add your own columns containing a number and assign numbers to that.
|
![]() |
![]() |
![]() |
#4 | |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Feb 2014
Device: none
|
Quote:
I think there are a lot of people that would like to have this feature i.e. to be able to sort via drag-and-drop with the mouse on some arbitrary criteria mimicking what happen when you rearrange the books on the shelf. May be in Calibre should come with a built-in column named for example "arbitrary sorting" that will be automatically set to a number each time you manually sort books with the mouse. It is up to the user to choose this "arbitrary sorting" column or any other metadata column to sort the books. Could you please give some suggestions/sample code on hiw to implement this feature? What programming language you have to use? Thanks Marc |
|
![]() |
![]() |
![]() |
#5 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Most people would order physical books on shelves by author within genre. Re which language etc see ==>> Setting up a calibre development environment BR |
|
![]() |
![]() |
![]() |
#6 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 281
Karma: 7724454
Join Date: Sep 2017
Location: Bethesda, MD, USA
Device: Kobo Aura H20, Kobo Clara HD
|
Quote:
rather than:
I also usually split things into a few virtual libraries (Fiction / Nonfiction / Children's / Manuals), akin to how the libraries I grew up using split children's, fiction, and non-fiction into separate areas. I make sure every new book is tagged with one of Fiction / Nonfiction, and manuals and children's books are tagged as such, and then set up the virtual libraries based on those tags. When viewing withing a virtual library, I sort by series and then author. *Whenever I get a new device or appliance, I download a PDF of the manual from the manufacturer and add it to the library so I don't have to accumulate all the paper ones and keep track of them. |
|
![]() |
![]() |
![]() |
#7 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,210
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I would have to agree with BetterRed in that you are the only person I've seen requesting that feature. If nothing else, with my library sizes, I can't see all the books on screen at once so sorting by drag and drop is a bit useless. Sorting by series then author works well enough though that generally involves scrolling through multiple screen so I generally search (author, series, custom tags) to reduce the number of screens and then sort the results. If you really enjoy the effort, you could generate a custom field and sort on that but that, to me, comes under the insufficient returns for the work involved label.
|
![]() |
![]() |
![]() |
#8 | ||
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@sjfan - the OP wrote
Quote:
Quote:
![]() BR Last edited by BetterRed; 12-27-2017 at 07:52 PM. |
||
![]() |
![]() |
![]() |
#9 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 281
Karma: 7724454
Join Date: Sep 2017
Location: Bethesda, MD, USA
Device: Kobo Aura H20, Kobo Clara HD
|
Quote:
OTOH I have seen a few people sort their physical bookshelves by size/color and other odd choices, to make the room look prettier. And physical constraints (e.g. tall books have to go on the bottom shelf) often impact things—but e-books should thankfully be immune to that. |
|
![]() |
![]() |
![]() |
#10 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
To achieve what I think you want, you try the Reading List plugin. With this, you create a list, add books to it and order them how you want. The ordering isn't drag-and-drop, but select and push some arrows. I think it will come close to what you want. |
|
![]() |
![]() |
![]() |
#11 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,057
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Regular and Oversized The really huge books were left flat and became a sleeping platform for the cat ![]() |
|
![]() |
![]() |
![]() |
#12 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
![]() I use RL most every day, but I rarely use Edit and I never noticed the green arrows. So, both the the content of a list and its order can be arbitrary; which makes sense when you think about the PIs raison d'être. BR |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
When drag&drop sorting on the covr grid? | marcb81 | Library Management | 2 | 02-04-2014 06:46 PM |
No more Drag and Drop? | hard_boiled | Library Management | 14 | 09-29-2013 07:44 PM |
LG launches world’s first ‘Drag and Share’ mouse scanner | Chi Cygni | News | 19 | 01-23-2012 04:20 PM |
Mouse drag equivalent in K3 browser | omk | Amazon Kindle | 1 | 02-18-2011 01:42 AM |
Drag 'n' Drop | Perkin | Calibre | 17 | 10-06-2010 11:46 AM |