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 01-31-2022, 03:56 PM   #1
BetterRed
null operator (he/him)
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: 20,583
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Selectively exclude custom columns from single MDE

I thought there was a way to do this, but I can't find it. I looked in the obvious places - Tweaks and Job Spy. If I've missed it can someone give me a screen shot.

I know I can have custom columns in a separate tab, and that there's a tweak for arranging them in one or two columns, but they're not sufficient.

Use case: having multiple instances of the long text editor embedded in the MDE dialogue adds clutter. And it's understandably hard to navigate in-to and out-of them. My preference would be to exclude them and edit those columns from the book list.

Psst: I know I can do it by setting the 'editable' column to 0 in the relevant rows of the 'custom_columns' table of the library database. But that's far too far under the covers for me. And I suspect it wouldn't survive the database cleaner.

BR
BetterRed is offline   Reply With Quote
Old 01-31-2022, 04:10 PM   #2
chaley
Grand Sorcerer
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.
 
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
With standard calibre you can reorder them but you can't exclude them.

Job spy claims to do it. The plugin's description under "Look and Feel GUI Tools" says "Protect/Unprotect (Hide/Show) a Custom Column from the 'Edit Metadata' dialogs (excluding the 'S&R' tab within Bulk Edit)." I don't use the plugin so I can't give a screen shot.
chaley is offline   Reply With Quote
Advert
Old 01-31-2022, 04:55 PM   #3
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: 8,644
Karma: 61234567
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Note that you don't want to hide the column if it's used by any plugins; an attempt to hide my fanfiction longtext metadata column resulted in FanFicFare erroring when trying to update it.
ownedbycats is offline   Reply With Quote
Old 01-31-2022, 05:44 PM   #4
BetterRed
null operator (he/him)
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: 20,583
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by chaley View Post
With standard calibre you can reorder them but you can't exclude them.

Job spy claims to do it. The plugin's description under "Look and Feel GUI Tools" says "Protect/Unprotect (Hide/Show) a Custom Column from the 'Edit Metadata' dialogs (excluding the 'S&R' tab within Bulk Edit)." I don't use the plugin so I can't give a screen shot.
found it - but I should have taken heed of Alice's whispers as I clicked Submit button. "We've been down this rabbit hole before, sunshine."

If a column is 'Protected' via JS, the setting survives a Library Check (database vacuum) but not a Library Restore.

But there's a bigger catch-22: if a custom column's 'editable' flag is set to 0 (which is what JS does) the custom column is indeed hidden in MDE… and, in the Book List it becomes Read Only, so no F2. Which makes sense to me, even though it's not what I want.

Another option would be a button for each custom long text column (that popped the long text editor, a'la F2 in the book list) rather than embedded sub-dialogues - that would get rid of the clutter and make navigation easier.

The attached screen shot shows an extreme example of the issue I'm seeking to address.

BR
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2022-02-01 093723.jpg
Views:	93
Size:	193.2 KB
ID:	192047  

Last edited by BetterRed; 01-31-2022 at 08:09 PM.
BetterRed is offline   Reply With Quote
Old 02-01-2022, 05:32 AM   #5
chaley
Grand Sorcerer
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.
 
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by BetterRed View Post
The attached screen shot shows an extreme example of the issue I'm seeking to address.

BR
Adding a tweak providing a list of lookup names not to show isn't beyond the pale. I will look at this later today. The tweak will affect both bulk and single metadata edit.

Question: is there any reason to also provide a list of names to include? I think this would useful only when someone has a zillion columns and wants to see a few of them.
chaley is offline   Reply With Quote
Advert
Old 02-01-2022, 06:33 AM   #6
BetterRed
null operator (he/him)
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: 20,583
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by chaley View Post
Adding a tweak providing a list of lookup names not to show isn't beyond the pale. I will look at this later today. The tweak will affect both bulk and single metadata edit.

Question: is there any reason to also provide a list of names to include? I think this would useful only when someone has a zillion columns and wants to see a few of them.
I would find inclusion and exclusion lists confusing. What happens to a column that's in neither list, or to a column that's in both lists.

Given my druthers I'd prefer something like this:

Click image for larger version

Name:	Screenshot 2022-02-01 220716.jpg
Views:	91
Size:	85.1 KB
ID:	192055

Maybe as another column of check boxes in the Add your own columns list, or perhaps in a Look & feel->Book list tab (that doesn't exist - yet)

BR

Last edited by BetterRed; 02-01-2022 at 06:35 AM.
BetterRed is offline   Reply With Quote
Old 02-01-2022, 06:37 AM   #7
chaley
Grand Sorcerer
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.
 
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
I am not going to add GUI support for this.

If the inclusion list is not empty then it wins. If the inclusion list is empty and the exclusion list is not empty then the exclusion list wins. If both lists are empty then all columns are shown.
chaley is offline   Reply With Quote
Old 02-01-2022, 06:40 AM   #8
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: 8,644
Karma: 61234567
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I'd like to add support for an exclusion list; it'd be nice to be able to hide my fanfiction longtext column without breaking FanFicFare.
ownedbycats is offline   Reply With Quote
Old 02-01-2022, 07:43 AM   #9
BetterRed
null operator (he/him)
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: 20,583
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
IMO if both lists are non-empty it probably indicates the user is confused. If the inclusion list takes precedence, then a non-empty exclusion list is 'useless'; and vice-versa of course.

Typing lists of column names in tweaks is error prone if one has many columns, and column lookup names can changed - it's easy to forget a column is used in an 'obscure' tweak. And, because Tweaks are global you can't have per-library settings which can make things awkward. EX: the exclude_fields_on_paste tweak cannot exclude 'title' for library A but not for library B. DaltonST provides a number of per library overrides in JS, but not that one - probably because no one has asked..

BTW this is not for me, as you no doubt recall I edit in the book list. It's for a fellow reading group member, she uses calibre to manage clothing patterns, fabric, and related libraries -- as well as books, magazines etc.

Added - I am sure my friend would be happy with a simple exclusion list, like one I mentioned for column paste.

BR

Last edited by BetterRed; 02-01-2022 at 07:50 AM.
BetterRed is offline   Reply With Quote
Old 02-01-2022, 10:16 AM   #10
chaley
Grand Sorcerer
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.
 
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
I changed my mind for a few reasons.

1) Tweaks aren't suitable for this in the face of multiple libraries. I can see someone wanting to show #bar in library1 but not in library2. I didn't want to invent a syntax for lists that select libraries.

2) As BetterRed pointed out, typing lists of lookup names isn't easy, especially as a restart is required for every attempt.

3) Maintaining the tweak in the face of column additions and changes isn't easy.

(I see on rereading BetterRed's post that he said all of the above.)

Preferences / Look & feel is the right place for this. That said, I am not totally happy with it. The dialog looks rather empty. Eventually other stuff might go there.

Samples:
Attached Thumbnails
Click image for larger version

Name:	Clipboard02.jpg
Views:	73
Size:	131.4 KB
ID:	192058   Click image for larger version

Name:	Clipboard03.jpg
Views:	65
Size:	147.6 KB
ID:	192059   Click image for larger version

Name:	Clipboard06.jpg
Views:	65
Size:	105.9 KB
ID:	192060   Click image for larger version

Name:	Clipboard08.jpg
Views:	65
Size:	141.6 KB
ID:	192061  
chaley is offline   Reply With Quote
Old 02-01-2022, 10:18 AM   #11
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: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@chaley: if you want to do that, probably move the setting for edit metadata layout to that tab from Preferences->Behavior
kovidgoyal is online now   Reply With Quote
Old 02-01-2022, 10:21 AM   #12
chaley
Grand Sorcerer
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.
 
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by kovidgoyal View Post
@chaley: if you want to do that, probably move the setting for edit metadata layout to that tab from Preferences->Behavior
That makes sense.

I also thought about moving the two column tweak but haven't decided whether it matters. That is one that truly is set-and-forget.
chaley is offline   Reply With Quote
Old 02-01-2022, 11:32 AM   #13
chaley
Grand Sorcerer
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.
 
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
The new stuff is now in calibre source.

Note: I didn't attempt to migrate the order-of-fields tweak. If you changed the field order with that tweak then you must do it again in the dialog.
chaley is offline   Reply With Quote
Old 02-01-2022, 01:21 PM   #14
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: 8,644
Karma: 61234567
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Look and feel looks different than I remember!

Thought: Would it make sense for there to be a button/link at the bottom of the MDE field list to open hidden fields in an additional window? This would make them still accessible.
Attached Thumbnails
Click image for larger version

Name:	2022-02-01 14_21_17-calibre - Preferences - Look & feel.png
Views:	63
Size:	50.9 KB
ID:	192063  

Last edited by ownedbycats; 02-01-2022 at 01:27 PM.
ownedbycats is offline   Reply With Quote
Old 02-01-2022, 01:38 PM   #15
chaley
Grand Sorcerer
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.
 
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
Look and feel looks different than I remember!

Thought: Would it make sense for there to be a button/link at the bottom of the MDE field list to open hidden fields in an additional window? This would make them still accessible.
What did you do to make the tabs go down the left hand side instead of at the top?
chaley is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bulk MDE and Long Text Columns BetterRed Library Management 3 01-21-2021 03:23 PM
Ratings Custom Columns Created From other Columns Tanjamuse Library Management 4 09-28-2020 12:57 AM
Help Needed for Custom Columns Created From other Columns Tanjamuse Library Management 5 09-02-2018 06:19 PM
Bulk MDE (Custom) and Column Value (Custom) MerlinMama Calibre 15 02-23-2017 04:38 AM
Exclude Non-Custome Columns from Content Server XrXca Calibre 1 10-17-2012 09:33 AM


All times are GMT -4. The time now is 09:16 AM.


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