View Single Post
Old 07-27-2013, 07:25 PM   #581
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Quote:
Originally Posted by SampleAndy View Post
An ANSWER!!!

uh... So how come I can do it from the Kindle menu?
You can do it from the Kindle menu because that one doesn't check whether a collection name clashes with a book title, while CM (wrongly) does.

It's actually right below the code that I pointed you to (that's why I noticed it)... See this line in the isItemWithNamePresent function? It will find all items with the same name as the name that you are trying to give to the collection, and return true if any is found - and if so, CM will refuse to create/rename a collection with/to that name. That's obviously a bug, as it should be searching the names of collections only, not all items. Here's an example where I did it correctly.

That said, it should have worked when creating collections from directories, and also when importing from calibre. The only place I seem to have missed it is when manually creating/renaming collections. And as said, it will only strike if you try to create a collection with the exact same name as an existing entry (collection or book), where also considering the latter is the bug.

This is a minor bug, which I've already fixed in my local source code. It'll be "officially" fixed with the next release, which will include support for FW 5.3.5 and 5.3.7 too. But that'll take another week or two.
ixtab is offline   Reply With Quote