View Single Post
Old 12-12-2021, 02:50 AM   #1
ownedbycats
Custom User Title
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: 11,046
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Lag after removing a column

Previously, I had two reading status columns: #read (tristate boolean) and #percentread (integer).

I recently updated all the templates I could find (column icons, composite columns, and some action chains) to check for a 0 or 100 in the integer column instead of true/false in the bool. All seemed to be well so I deleted the boolean column. Now Calibre is lagging every time I update a column.

I put back the boolean column and the lag went away completely.

My best guess is that I missed a template somewhere and it's trying to update based on the nonexistent column, but I can't figure out where it might be -- I scoured all my composite columns, and as far as I understand column icon rules remove themselves when invalid.

For now, just to kill the lag I just created a composite that returns 'yes' for 100 and 'no' for 0.

Any other idea where I should check?

Last edited by ownedbycats; 12-12-2021 at 03:19 AM.
ownedbycats is offline   Reply With Quote