Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 11-16-2022, 07:25 AM   #1
ownedbycats
Grand Sorcerer
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 5,606
Karma: 30044628
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Odd marking interaction with Find Duplicates + FanFicFare

I just came across a weird glitch and I'm not sure if it's a problem with Calibre, Find Duplicates, FanFicFare, or even possibly all three.

Context: A few days ago, I found a few duplicated fanfics. So I decided to clean those out.

Here's what I did:

I opened Find Duplicates > Find Book Duplicates. I selected "Show all groups with highlighting," then ran a search on one of my custom identifiers.

This brought up two books, marked with marked:duplicate_group_0001 and highlighted green.

I deleted one of them, and then without unmarking, then ran a FanFicFare update on the other to update the author.

FanFicFare is set with "Mark added/updated books on finish" and "Show marked books when finished." When the download finished, I got a search of marked:fff but I got an empty book list.

I cleared the search by clicking the x in the search, but it remained blank. The mark menu still showed "Show marked book."

I switched to another VL and back, and that brought back the book list, except now the marked book was no longer marked (even though I hadn't unmarked it).

So, uh, any idea what happened? I'm guessing it's something to do with one plugin overwriting the marks of another plugin. I doubt it'll come up again, but it's pretty odd.

Last edited by ownedbycats; 11-16-2022 at 07:40 AM.
ownedbycats is offline   Reply With Quote
Old 11-16-2022, 08:11 AM   #2
capink
Guru
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 868
Karma: 724338
Join Date: Aug 2015
Device: Kindle
That is the way the Find Duplicates plugin works. It hijacks the marking mechanism, constantly deleting other markings and applying its own. It has to do this because it uses the marks to group and sort the results.
capink is offline   Reply With Quote
Advert
Old 11-16-2022, 08:13 AM   #3
ownedbycats
Grand Sorcerer
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 5,606
Karma: 30044628
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Ah, that makes sense. So, how do I tell Find Duplicates that I'm done and that it should stop marking?
ownedbycats is offline   Reply With Quote
Old 11-16-2022, 08:17 AM   #4
capink
Guru
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 868
Karma: 724338
Join Date: Aug 2015
Device: Kindle
The only way is by exiting the duplicates view by either pressing escape button, or pressing the button left to the search bar "—marked:duplicates" to close the duplicates virtual library.
capink is offline   Reply With Quote
Old 11-16-2022, 08:19 AM   #5
ownedbycats
Grand Sorcerer
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 5,606
Karma: 30044628
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Thanks
ownedbycats is offline   Reply With Quote
Advert
Old 11-16-2022, 04:20 PM   #6
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 18,816
Karma: 21287025
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by capink View Post
That is the way the Find Duplicates plugin works. It hijacks the marking mechanism, constantly deleting other markings and applying its own. It has to do this because it uses the marks to group and sort the results.
Given Kiwidude's Find duplicates and a couple of his other plugins used temporary marks long before they were exposed in the core, your use of the word 'hijacks' is let's say… regrettable.

BR

Last edited by BetterRed; 11-16-2022 at 04:28 PM.
BetterRed is offline   Reply With Quote
Old 11-16-2022, 04:29 PM   #7
ownedbycats
Grand Sorcerer
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 5,606
Karma: 30044628
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
What word would you have used instead? I thought it kind of got the point across, e.g. "the marking mechanism won't work as expected until you exit duplicates mode."
ownedbycats is offline   Reply With Quote
Old 11-16-2022, 04:36 PM   #8
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 18,816
Karma: 21287025
Join Date: Mar 2012
Location: Sydney Australia
Device: none
https://en.wiktionary.org/wiki/hijack

Quote:
To seize control of some process or resource to achieve a purpose other than its originally intended one.
I would have used the word 'uses'

BR
BetterRed is offline   Reply With Quote
Old 11-16-2022, 07:45 PM   #9
ownedbycats
Grand Sorcerer
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 5,606
Karma: 30044628
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Well, FD does "seize control." Though "a purpose other than its originally intended one" is a bit debatable.
ownedbycats is offline   Reply With Quote
Old 11-17-2022, 07:26 AM   #10
chaley
Grumpy old git
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
chaley's Avatar
 
Posts: 10,901
Karma: 4839799
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by BetterRed View Post
Given Kiwidude's Find duplicates and a couple of his other plugins used temporary marks long before they were exposed in the core ...
Temp marking was in calibre core before any plugin used it.

We added "text marks" for kiwidude & co way back when. It is true that no UI to change/set text marks existed until recently.

EDIT: out of curiosity and wanting to be correct, I went back through the change history. Kovid added text marking on 2/April/2013. He added the ability to sort on text marks for the find duplicates plugin on 29 July 2013. The UI to mark books (yes/no) was added on 5 Oct 2013.

Last edited by chaley; 11-17-2022 at 07:19 PM.
chaley is offline   Reply With Quote
Old 11-17-2022, 08:15 AM   #11
ownedbycats
Grand Sorcerer
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 5,606
Karma: 30044628
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by chaley View Post
It is true that no UI to change/set text marks existed until recently.
If you want to count plugins, Action Chains' single-field edit did allow the user to set a text mark, but that was kind of an awkward way to do it. (Also, the plugin didn't exist until 2020.)
ownedbycats is offline   Reply With Quote
Old 11-19-2022, 05:12 AM   #12
ownedbycats
Grand Sorcerer
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 5,606
Karma: 30044628
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by chaley View Post
EDIT: out of curiosity and wanting to be correct, I went back through the change history. Kovid added text marking on 2/April/2013. He added the ability to sort on text marks for the find duplicates plugin on 29 July 2013. The UI to mark books (yes/no) was added on 5 Oct 2013.
Just curious: How do you find changes? Github "log searching is not yet available." I haven't found a search in SourceTree.
ownedbycats is offline   Reply With Quote
Old 11-19-2022, 06:14 AM   #13
chaley
Grumpy old git
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
chaley's Avatar
 
Posts: 10,901
Karma: 4839799
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
Just curious: How do you find changes? Github "log searching is not yet available." I haven't found a search in SourceTree.
See attached screen capture.
Attached Thumbnails
Click image for larger version

Name:	Clipboard01.png
Views:	26
Size:	37.1 KB
ID:	197871  
chaley is offline   Reply With Quote
Old 11-19-2022, 06:17 AM   #14
ownedbycats
Grand Sorcerer
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 5,606
Karma: 30044628
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Thank you Not sure how I missed that, it's... really obvious

Last edited by ownedbycats; 11-20-2022 at 09:42 AM.
ownedbycats is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Odd issue in the way Calibre handles duplicates added to library kirk8677 Library Management 4 10-26-2020 06:38 PM
Find Duplicates has gone from my toolbar can you help? Jo69 Calibre 5 01-12-2020 05:58 AM
Find Duplicates KyBunnies Plugins 4 12-18-2013 09:38 PM
Duplicates handling with Find Duplicates plugin erfjr Calibre 0 03-05-2013 03:52 PM
find duplicates? jlutes Library Management 6 08-26-2011 03:52 PM


All times are GMT -4. The time now is 03:09 PM.


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