05-22-2023, 10:53 PM | #1 |
null operator (he/him)
Posts: 20,995
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Tag browser, Keyboard focus, Find and Rename
I have keyboard shortcuts for Tag browser->Find next match (Ctrl+Alt+F) and Tag browser->Give the Tag browser keyboard focus (Ctrl+Shift+T).
After giving the TB keyboard focus and entering something in Find, subsequent use of Ctrl+Alt+F finds the next item and underlines it, but it doesn't get kb focus. So, I can't press F2 to edit it, or press the ≡ key to get the context menu. But, I've discovered I can give it focus with the ↓ key... be good if it just got focus without the extra keystroke. Once it has focus, I can press F2 or select Rename <whatever> to open the item for editing, but in the case of F2 the value is selected (i.e. fully highlighted for overtyping) whilst selecting Rename puts the insertion cursor at the end of the value for appending. Why should there be an inconsistency? FTR: I 'hate' the fact that F2 invariably assumes the user wants to overtype what's there. So, I wouldn't object to a calibre Tweak that controlled what happens after F2 is pressed in the book list, tag browser, category editor's etc... i.e. Overtype (default), Prepend or Append**. Ditto clicking or pressing Ctrl+F to edit the search box, when I press Ctrl+F it's normally to append an 'and' or 'or' term. BR **I have a vague memory that 30+ years ago such options were common - even on dumb block mode terminals. |
05-24-2023, 03:54 AM | #2 |
creator of calibre
Posts: 44,526
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
what's ctrl+alt+f the default keybind for that is full text search. As for the discrepancy, this will fix it: https://github.com/kovidgoyal/calibr...c8c611546ea364
|
Advert | |
|
05-26-2023, 01:22 AM | #3 |
null operator (he/him)
Posts: 20,995
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
The way F2 now works in the Tag browser, i.e. position the insertion point for append is also consistent with its behaviour in the Category editor
Which leaves the behaviour of F2 in book list cells out on a limb, it assumes the user always wants to over type what's there. Could it be made to behave the same way as the other two - i.e position the insertion point for append. BTW: over the past week I've made use of the Undo delete popup on two or three occasions, it works unbelievably well. The books were restored and the book list was refreshed in the blink of an eye. I assigned Ctrl+Alt+F to the Tag browser find next action years ago. I don't use calibre's free text search, I've been using Windows search and X1 on calibre libraries for years… and I see no reason to change. BR |
05-29-2023, 12:05 AM | #4 |
null operator (he/him)
Posts: 20,995
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
05-29-2023, 01:21 AM | #5 |
creator of calibre
Posts: 44,526
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Dont celebrate that was a bug All edit widgets now select their content which is standard behavior for this type of thing across most programs and OSes
|
Advert | |
|
05-29-2023, 04:08 AM | #6 |
null operator (he/him)
Posts: 20,995
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Depends whether one views the book list as a spreadsheet or file browser. Because I edit in it, for me it's a spreadsheet. Pretty sure F2 in the spreadsheets I've used over the last 30-40 years open the cell with the insertion cursor at the end of the current value - i.e for append. Here's Excel after F2 on a cell with a value:
Following your earlier response to this thread, F2 in the tag browser now opens the edit box for append. In the Manage category dialogues F2 on the key value does the same, but F2 in the Link column opens the cell in overtype mode . I think there's a strong case to be made for consistent behaviour of the F2 key. Having it behave differently in different places for no apparent reason makes no sense to me. My preference would be to always open the edit box for append irrespective of what's there, or context. Maybe it could be a Preference. It may also be the case that it matters less if a single click mouse click is used - you just click again at the end of the field - but after pressing F2 the equivalent is right arrow or End . BR Last edited by BetterRed; 05-29-2023 at 04:34 AM. |
05-29-2023, 05:35 AM | #7 |
creator of calibre
Posts: 44,526
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
F2 now opens with everything selected everywhere.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Where will I find the Tag Browser in Calibre? | bookmole | Library Management | 5 | 01-17-2022 04:57 AM |
Find in Tag Browser shortcut not working | del.libro | Library Management | 8 | 10-07-2021 01:30 PM |
Using the keyboard in the tag browser | BetterRed | Library Management | 29 | 10-31-2020 06:38 PM |
Problem when using tag browser to rename series | JohnnyBook | Library Management | 3 | 06-24-2018 05:22 PM |
Viewer Find text box looses focus during find again ? | nurber | Calibre | 2 | 07-15-2017 12:14 PM |