![]() |
#1 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,565
Karma: 29709834
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Prevent editing composite columns in the book list
Is there a setting/tweak to prevent the Template Editor popping if F2 is pressed on a composite column cell?
BR |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,302
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
No. There is only the option you asked for to allow editing only with F2.
One of DaltonST's plugins has an option to mark a column read only. I don't know what that would do with a composite. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,565
Karma: 29709834
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
I felt sure there was something, must have dreamt it - I don't have many virtual columns and I never wanted to show them in the book list before.
DaltonST's Protect column tool is real columns only, but I can unset the editable flag in the database, that'll do me. BR |
![]() |
![]() |
![]() |
#4 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,503
Karma: 73517101
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Rather amusingly, it took me a while to realize I could F2 composites and edit them without going through the 'add column' dialog and restarting Calibre every time.
![]() ![]() |
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,185
Karma: 1988646
Join Date: Aug 2015
Device: Kindle
|
Ditto. Slightly off topic, is there a way to edit composites that are not shown in library view without having to restart every time?
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,565
Karma: 29709834
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Ad-hoc - Press H->Show columns-><your column>
oops, 'H' is my shortcut, thought it was default; so, right click a column header. BR Last edited by BetterRed; 04-14-2023 at 01:22 AM. |
![]() |
![]() |
![]() |
#7 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,503
Karma: 73517101
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
There's also a Job Spy option somewhere to show all columns. And if you want, you can save that to a view manager view
![]() |
![]() |
![]() |
![]() |
#8 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,565
Karma: 29709834
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
![]() |
![]() |
![]() |
#9 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 287
Karma: 2534928
Join Date: Nov 2022
Location: Canada
Device: Kobo Aura 2
|
Quote:
Although the configuration option says it's about the Tab key, enabling it does pretty much what I want it to: if I click on a composite column in the book list, the Template editor window no longer pops up. The field might seem to enter an edit mode, with placeholder text saying that editing composite columns is disallowed, but this can be dismissed with the ESC key. More importantly, I don't have to dismiss the template editor. ![]() TL;DR: the above-mentioned configuration option affects the behaviour of mouse clicks too, not just the tab key it claims to. (And that's a good thing!) |
|
![]() |
![]() |
![]() |
#10 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,302
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
It is true that the preference disables editing a composite column via any method other than F2. I will change the documentation and tooltip to say that. However, the tweak can disable editing a column via a single click. Depending on what you want to do, setting one or both of them might be appropriate. For example, I never want to start editing a field, any field, when I click in it. To accomplish this I set the tweak "double_click_on_library_view" to "edit_cell". This disables single clicks from editing a cell. If you also want to prevent editing a composite when tabbing in from editing the cell just before it then set the option as well. If you *do* want to edit a cell with a single click then set the tweak appropriately. You can then use the option to prevent editing composites (and only composites) with a single click. |
|
![]() |
![]() |
![]() |
#11 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 287
Karma: 2534928
Join Date: Nov 2022
Location: Canada
Device: Kobo Aura 2
|
Quote:
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Display composite columns with comments in book details | chaley | Library Management | 5 | 03-08-2023 04:01 AM |
Composite columns and identifiers | ownedbycats | Library Management | 15 | 05-26-2022 02:32 PM |
How to prevent readers editing an ePub book? | jeffwirth | ePub | 4 | 02-22-2021 11:01 AM |
Quickview and composite columns | ownedbycats | Library Management | 2 | 12-25-2020 04:43 PM |
Can I prevent changing the fields directly in book list? | erpol | Calibre | 8 | 12-01-2012 03:40 PM |