View Single Post
Old 02-13-2021, 08:18 AM   #317
capink
Wizard
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: 1,223
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
Quote:
Originally Posted by chaley View Post
If you do #1 then be careful to be sure that the setting is always restored. People complained for years about Find Duplicates leaving the setting as "Highlight". I think that has been fixed, but in the meantime it generated a lot of traffic.
The action will be wrapped in a one try .. finally block that restores the highlight option. So it should be OK unless a power outage or a cold restart is carried out.

The problem with the Find Duplicates is that the changing and restoring happened in two different (interactive) steps, which left a wide window for things to go wrong. The problem — as you yourself discovered — was that the restore step was not carried out if the user closed calibre without clearing the duplicates results first.

Last edited by capink; 02-13-2021 at 08:20 AM.
capink is offline   Reply With Quote