Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 07-15-2023, 11:33 PM   #1
mkgtu
Zealot
mkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolate
 
Posts: 139
Karma: 33000
Join Date: Feb 2010
Device: Currently:Voyage, Oasis 3, Kindle mobile apps, andKindle Fire
Sort order of books on device reverses after deletions

I don't connect my Kindle Oasis to calibre very often, but tonight I did so to remove a bunch of calibre periodicals from the device.

So I sort the device by title A-Z and plan to work my way through the list, removing several of each magazine as I go through the alphabet. But when I bulk delete several issues of (eg) Atlantic Magazine, after the deletion the list scrambles itself and reverses the sort order to titles Z-A instead of A=Z, and the selected item is now the last item at he top of the list instead of where I left off, now something beginning with Z. So I have to reverse the sort and scroll back through the list to see where I might have left off.

This seems to be very strange behavior. And makes it difficult to edit a list of items in an orderly fashion.
mkgtu is offline   Reply With Quote
Old 07-16-2023, 01:05 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Sort order on a kindle is not influenced by calibre, all calibre does is copy and delete actual book files and cover thumbnails. Nothing else is exposed over the USB connection on a Kindle
kovidgoyal is offline   Reply With Quote
Old 07-16-2023, 08:54 AM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,059
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I suspect the Index database on the device does not refresh . (have not noticed this on my K4, but then, it is no longer my daily reader)

I have a similar issue on my Kobo's (set to Titles: Recent). I simply flip to another sort:filter, then back. just 2 taps needed to set things right.
theducks is offline   Reply With Quote
Old 07-16-2023, 09:23 AM   #4
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,072
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
I read the original post as stating that the order of books in the on-device view within calibre is changing, not the order shown on the device itself. As if the author column header was being clicked. Perhaps mkgtu can clarify this.

Last edited by jhowell; 07-16-2023 at 09:28 AM.
jhowell is offline   Reply With Quote
Old 07-16-2023, 09:46 AM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,059
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:
Originally Posted by jhowell View Post
I read the original post as stating that the order of books in the on-device view within calibre is changing, not the order shown on the device itself. As if the author column header was being clicked. Perhaps mkgtu can clarify this.
I believe I got it wrong an you ARE correct.
The Q is why this would this not affect ANY of our USB devices if it was Calibre?

I always (99.99%) 'remove from device' from the Library view
theducks is offline   Reply With Quote
Old 07-21-2023, 01:49 PM   #6
mkgtu
Zealot
mkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolate
 
Posts: 139
Karma: 33000
Join Date: Feb 2010
Device: Currently:Voyage, Oasis 3, Kindle mobile apps, andKindle Fire
Quote:
Originally Posted by kovidgoyal View Post
Sort order on a kindle is not influenced by calibre, all calibre does is copy and delete actual book files and cover thumbnails. Nothing else is exposed over the USB connection on a Kindle
I'm not talking about the sort order on the Kindle, but the sort order of the Kindle titles in calibre. True, the sorting on the Kindle device is not affected at all. After being disconnected, the books on the Kindle remain sorted as they were before (by 'recent')

To be clear, the issue is that after selecting a few titles in the Calibre display of the Kindle books, and then "removing" those books, the sort order of the remaining books is reversed and your place in the list is lost. It's like the deck gets reshuffled.

IMO that should not happen. In any file manager - and I consider the Calibre interface to function as a file manager - the sort order is never affected by deleting a selected few items from the middle of a listing. If the list is sorted by title A-Z and your cursor is at the last selected item, then after you delete the selected items the list is refreshed to take into account the newly deleted items - but the sort order remains unchanged (A-Z) and the cursor is now at the location next to the last selected item (which is now deleted).

This enables you to work through a listing in an orderly fashion, making changes/edits/deletions as you go, without the listing getting scrambled every time you make a change.

This scrambling/reversing doesn't happen if you perform these same functions on the local Calibre 'library'. It only happened with the display of the connected Kindle device. And whatever happened in the Calibre display, the internal sorting on the device itself was not affected after the device was ejected.

Sent from my SM-G975U using Tapatalk

Last edited by mkgtu; 07-21-2023 at 04:00 PM.
mkgtu is offline   Reply With Quote
Old 07-21-2023, 01:56 PM   #7
mkgtu
Zealot
mkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolate
 
Posts: 139
Karma: 33000
Join Date: Feb 2010
Device: Currently:Voyage, Oasis 3, Kindle mobile apps, andKindle Fire
Quote:
Originally Posted by jhowell View Post
I read the original post as stating that the order of books in the on-device view within calibre is changing, not the order shown on the device itself. As if the author column header was being clicked. Perhaps mkgtu can clarify this.
You are correct. It is the order of the Kindle books displayed in calibre that gets reversed after deleting a handful of files. It's like the list gets refreshed (as it should after deleting or renaming files) but then it forgets the previous state of the list sort.

Sent from my SM-G975U using Tapatalk
mkgtu is offline   Reply With Quote
Old 07-21-2023, 04:15 PM   #8
mkgtu
Zealot
mkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolate
 
Posts: 139
Karma: 33000
Join Date: Feb 2010
Device: Currently:Voyage, Oasis 3, Kindle mobile apps, andKindle Fire
In case anyone was wondering what I was trying to do. I subscribe to 10 or so news feeds in Calibre that are emailed to my Kindle. After a while the back issues pile up. Occasionally I delete them from the Amazon cloud using a browser. But the copies are still on the device. So I like to use calibre to get rid of these back issues.
I sort everything A-Z in Calibre and move methodically down the list. If I find 12 issues of the New Yorker, I'll select 10 of them to delete and hit "remove books". When the items are deleted I'd expect the list to refresh but remain sorted A-Z with the cursor or selected row still where I left off, probably right at one of those remaining two New Yorkers. Then I can continue down the list till I come to the next group of back issues.
But the calibre scramble drill after the deletions kind of messes up the process. I hadn't done this in quite a while, but I don't recall having this happen any other times I've done it.
My v calibre version is the latest. (Sorry I don't remember the number, I don't have my computer with me.) The Kindle is the Oasis, the most recent version.

Sent from my SM-G975U using Tapatalk

Last edited by mkgtu; 07-21-2023 at 04:21 PM.
mkgtu is offline   Reply With Quote
Old 07-21-2023, 11:30 PM   #9
mkgtu
Zealot
mkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolatemkgtu is generous with chocolate
 
Posts: 139
Karma: 33000
Join Date: Feb 2010
Device: Currently:Voyage, Oasis 3, Kindle mobile apps, andKindle Fire
As I said in another reply, I'm not talking about sort order on the KIndle itself, which is not affected, but the sort order in the Device display in calibre. I tried it again today and can confirm the same strange behavior. Click the TITLE column so items are sort A-Z. Then select an item (last week's Economist) in the "E" part of the list. Right click and select "remove" etc. The item is removed/deleted, the list refreshes but is now sorted in reverse order. Z-A and a random item in the "S" part of the list is selected (instead of the nearest undeleted item in the "E" section.

Now I select and delete an item in the "L" part of the list. The list refreshes but it remains in the same reversed order "Z-A". It doesn't re-reverse the list. It seems to prefer Z-A as default order. But then there is a new item selected in the "N" part of the list, instead of an item adjacent to the now deleted item in the "L" part of the list.

I also performed these same steps in the regular calibre library list and can confirm this does not happen there. The selected item is removed from the library, the sort order DOES NOT reverse, and the newly selected item is the neighbor of the deleted item. As it should be.
mkgtu is offline   Reply With Quote
Old 07-31-2023, 07:22 AM   #10
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
This should take care of it: https://github.com/kovidgoyal/calibr...79108d4fa6fb10
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sort Order for E-books Using Calibre with iOS Reader American_Desi Apple Devices 4 10-15-2016 09:08 AM
Books not displaying in correct order - author sort holymadness Calibre 2 10-26-2012 10:30 AM
PRS-650 Is it possible to sort my books by 'File Name', not 'Added Order' by default? GMRabelink Sony Reader 10 10-13-2011 07:50 PM
Adding Books and Sort Order hereticorp Calibre 3 09-21-2010 06:18 PM
Sort order changes on transfer to device Zipr Calibre 2 09-17-2010 11:45 AM


All times are GMT -4. The time now is 01:02 PM.


MobileRead.com is a privately owned, operated and funded community.