06-05-2021, 12:57 AM | #1 |
Connoisseur
Posts: 80
Karma: 26914
Join Date: Nov 2020
Location: Perth, Western Australia
Device: Apple Books & Kobo Libra H20
|
[GUI Plugin] Scroll Book Details
Scroll Book Details (SBD) is a calibre plug-in for using the spacebar (or any configured keyboard shortcut) to scroll the book details panel.
Main Features:
Special Notes:
Installation Steps:
Donations:
Version History: Spoiler:
Last edited by Bradles; 09-23-2022 at 02:09 AM. |
06-05-2021, 12:58 AM | #2 |
Connoisseur
Posts: 80
Karma: 26914
Join Date: Nov 2020
Location: Perth, Western Australia
Device: Apple Books & Kobo Libra H20
|
Shift+Space To Scroll Up
This is a test version of the Scroll Book Details plugin that scrolls up if the Shift key modifier is part of the keyboard shortcut.
The default shortcut and alternate shortcut are Space and Shift+Space. Any shortcut that includes the Shift modifier will scroll up. I've tested with calibre 5.44 and 6.5. This version of the plugin can be installed manually for testing purposes. Report any issues at the bottom of this thread. Last edited by Bradles; 09-22-2022 at 01:51 AM. Reason: use Shift modifier to scroll up |
Advert | |
|
01-07-2022, 01:20 AM | #3 |
Connoisseur
Posts: 80
Karma: 26914
Join Date: Nov 2020
Location: Perth, Western Australia
Device: Apple Books & Kobo Libra H20
|
Qt6 test version attached to the second post.
|
07-21-2022, 09:53 PM | #4 |
Connoisseur
Posts: 80
Karma: 26914
Join Date: Nov 2020
Location: Perth, Western Australia
Device: Apple Books & Kobo Libra H20
|
calibre 6 / Qt6 compatible version 1.0.1 released and attached to first post.
|
09-16-2022, 06:34 PM | #5 | |
null operator (he/him)
Posts: 20,938
Karma: 27620688
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
But what I really came here to ask was : Could you add something that will Scroll Up - maybe Shift+Spacebar BR |
|
Advert | |
|
09-17-2022, 12:41 AM | #6 | |
Connoisseur
Posts: 80
Karma: 26914
Join Date: Nov 2020
Location: Perth, Western Australia
Device: Apple Books & Kobo Libra H20
|
Hi BR.
Quote:
The Scroll Book Details plugin relies in the built-in keyboard shortcut mapping. There is an "alternate shortcut", but no way to determine that programmatically. I could hard-code a shortcut using create_action(), but that's never going to please everyone. I use the up/down cursor keys to move off and back. As long as you're not on the first book it works a treat. |
|
09-17-2022, 03:09 AM | #7 |
null operator (he/him)
Posts: 20,938
Karma: 27620688
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
What I'm after is a keyboard sequence to scroll the book details back up after scrolling it down with the Space-bar. So I envisage two configurable shortcut sequences that would default to - Scroll down=Space and Scroll up=Shift+space.
Journal articles often have a long synopsis, and an even longer list of authors. BR |
09-22-2022, 01:57 AM | #8 | |
Connoisseur
Posts: 80
Karma: 26914
Join Date: Nov 2020
Location: Perth, Western Australia
Device: Apple Books & Kobo Libra H20
|
Quote:
It should work with calibre 5 or 6. It relies on one of the two configured shortcuts (Preferences - Shortcuts) being Shift+something. The defaults are Space and Shift+Space. |
|
09-22-2022, 04:26 AM | #9 | |
null operator (he/him)
Posts: 20,938
Karma: 27620688
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
I didn't trying changing the shortcuts, happy with the defaults. Thanks a lot. BR |
|
09-22-2022, 01:57 PM | #10 |
Well trained by Cats
Posts: 30,381
Karma: 58053698
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Some things are logical, (Just ask Spock)
Shift+Tab Shift+space Shift either raises or reverses |
09-23-2022, 02:10 AM | #11 |
Connoisseur
Posts: 80
Karma: 26914
Join Date: Nov 2020
Location: Perth, Western Australia
Device: Apple Books & Kobo Libra H20
|
|
01-08-2024, 06:59 PM | #12 |
null operator (he/him)
Posts: 20,938
Karma: 27620688
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Nitpik in a minor key.
To scroll either of the detailed book details panels I must tap the Tab key first. BR |
01-08-2024, 09:00 PM | #13 |
Connoisseur
Posts: 80
Karma: 26914
Join Date: Nov 2020
Location: Perth, Western Australia
Device: Apple Books & Kobo Libra H20
|
By "detailed" book details panels, do you mean the window that pops up when pressing i? Is there more than one?
I suspect that the cover has the keyboard focus, which may be for a reason or maybe not. Perhaps Kovid can shed some light and depending... might be amenable to changing the behaviour slightly? Adding the following code to class CoverView / def __init__ in widgets.py seems to do the trick: Code:
self.setFocusPolicy(Qt.FocusPolicy.NoFocus) |
01-08-2024, 10:32 PM | #14 | |
null operator (he/him)
Posts: 20,938
Karma: 27620688
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
I'm sure you're right about the cover having initial kb focus. I push them aside… so, I'd forgotten they were even there. Now I know why I have to hit tab first, it's less likely to bother me, so happy to leave it be. BR |
|
Tags |
sbd, scroll, scroll book details |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Author Book Count Hierarchy | DaltonST | Plugins | 60 | 04-15-2023 02:38 PM |
[GUI Plugin] Author Book Count | DaltonST | Plugins | 55 | 10-20-2022 11:59 AM |
How to get the uuid of the book in the code of the gui plugin? | esvorontsov | Development | 3 | 09-29-2015 11:15 AM |
[GUI Plugin] Manage Sony x50 Reader Book List | kpw | Plugins | 170 | 10-02-2014 08:23 PM |
[GUI Plugin] Book Sync **Deprecated** | kiwidude | Plugins | 111 | 06-07-2011 07:47 PM |