11-16-2014, 12:15 PM | #1 |
Plugin Developer
Posts: 6,348
Karma: 3966377
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Calibre 2.10, Plugins, Shortcuts and Dynamic Menus
There's been a calibre change (in 2.10) that requires changes to some of the plugins to correctly support keyboard shortcuts. Specifically, plugins that change their menus dynamically. There's been discussion of this already here.
Several of the plugins affected are by kiwidude. I've been in touch with kiwidude, he doesn't have time right now to work on correcting these issues. But he has given the go-ahead for us (the PI dev community) to update them. I've posted test versions of my own FFDL and Reading List that I've updated. I've done some testing with them on calibre 2.10, 2.9 and 1.48 and they seem good. I'd like to hear if anybody has problems with them. Confirmation that they fix the shortcut issue for you would also be appreciated. I haven't made a comprehensive list, but I expect Open With and View Manager at least will also require changes. Please post if you have suggestions of other plugins that will need updates for this issue. If any other PI devs would care to help with updating kiwidude's plugins, see the rebuild_menus() function in Reading List's action.py or the earlier discussion thread. And please post which one(s) you're working on so we don't duplicate effort. Thanks! |
11-16-2014, 04:58 PM | #2 |
Grand Sorcerer
Posts: 6,241
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
I can confirm View Manager requires changes (I was testing with it, not with Reading List ). If nobody has tried to change it in a couple of days, I'll make a try.
|
Advert | |
|
11-16-2014, 05:50 PM | #3 | |
null operator (he/him)
Posts: 20,598
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Sadly, it didn't work, in that I lost the drop down menu entirely My python skills are non-existent, so I may have screwed something up. Meantime I'll stick with 2.9 BR Last edited by BetterRed; 11-16-2014 at 05:55 PM. |
|
11-16-2014, 05:57 PM | #4 |
Grand Sorcerer
Posts: 6,241
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Well, you and me both I still have the menu but it doesn't work well. I'll try tomorrow to understand better the menu building.
|
11-17-2014, 01:41 PM | #5 |
Plugin Developer
Posts: 6,348
Karma: 3966377
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
I've posted updated test versions of:Response so far has been limited, but positive.
Those are all the plugins I use that were affected. I don't know of any others that need fixes for this change. |
Advert | |
|
11-19-2014, 02:35 PM | #6 |
null operator (he/him)
Posts: 20,598
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
See Kovids post in following thread - Relates to the Quick Preferences PI
Possible bug report - adding books I had a look at the PI code, wasn't obvious to me where to make Kovid's recommended change. Hopefully someone more familiar with the anatomy of kiwidude's PIs will know. BR |
11-21-2014, 11:10 PM | #7 |
Plugin Developer
Posts: 6,348
Karma: 3966377
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
FYI, the 5 plugins mentioned above have had new versions released to address the shortcuts issue.
If there are any other plugins with dynamic menus, I haven't heard about them. But I suggest leaving this thread 'stuck' for a while yet, just in case. The Quick Preferences PI issue BR mentions above isn't related. I've never used Quick Preferences (I don't even know what it looks like), so I'd prefer if somebody who does use it addressed that issue. |
11-22-2014, 12:19 AM | #8 |
null operator (he/him)
Posts: 20,598
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
I use Quick Preferences - far as I tell its working OK. I haven't assigned any keyboard shortcuts to it. The ones I might use are toggles, given there's no indication of their current state I drive it via the context menu.
BR |
11-22-2014, 01:27 AM | #9 |
Grand Sorcerer
Posts: 24,906
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
My Kobo Utilities has a semi-dynamic menu. It didn't seem to be causing problems, except when I tried to implement these changes. Unfortunately, I looked at Open View for the sample code. The release I made today includes the correct changes
Goodreads Sync also has a dynamic menu. And it isn't causing a problem here. I have a change to release properly, so I might make this as well and talk to kiwidude. |
12-14-2014, 04:35 PM | #10 |
null operator (he/him)
Posts: 20,598
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@JimmXinu & davidfor - did the fixed versions get put into the new version hurdy gurdy?
See ==>> Segfault when changing libs especially post #10 BR |
12-14-2014, 05:05 PM | #11 | ||
Plugin Developer
Posts: 6,348
Karma: 3966377
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
Quote:
(hurdy gurdy??) |
||
12-14-2014, 06:58 PM | #12 | |
Grand Sorcerer
Posts: 24,906
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
12-14-2014, 07:50 PM | #13 | |
null operator (he/him)
Posts: 20,598
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Would the Save To Format and Recoll Full Text Search even be there to create a Segfault - I thought bad PIs were thrown out when calibre starts. The OP posted his problem was with Open With, 12 hours after chaleys post. From what was written I assume when Open With was removed the Segfault went away, which made me think the OP doesn't have the latest PI, because those symptoms are the same as we had with APPCRASH in Windows. Added : and since confirmed by the OP in post 13 in Segfault when changing libs hurdy-gurdy: street organ, often played by a man with a monkey, you might still see a few in Ireland and the Netherlands. Also London non rhyming slang for any machine whose purpose is known but whose workings are mysterious :lol: BR Last edited by BetterRed; 12-14-2014 at 08:48 PM. |
|
12-14-2014, 08:28 PM | #14 |
Well trained by Cats
Posts: 29,836
Karma: 54837878
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Hurdy-Gurdy
The Stringed version of Bag Pipes (yes, they have drone strings) |
12-15-2014, 12:09 PM | #15 |
Plugin Developer
Posts: 6,348
Karma: 3966377
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Let's move this discussion to the Open With thread. I've posted a potential work around.
And I my first thought in a computer context was that hurdy-gurdy was the name of a linux distro release, not a ye olde tyme reference. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre keyboard shortcuts? | Clytie | Calibre | 29 | 08-25-2019 03:51 AM |
Certain keyboard shortcuts no longer working in Calibre 2.0 (OS X) | holymadness | Calibre | 18 | 08-29-2014 01:33 PM |
Keyboard shortcuts change for 0.8.14 - impact on plugins? | kiwidude | Development | 37 | 09-24-2011 12:25 PM |
Calibre server on DSL with dynamic IP | Hamlet53 | Library Management | 13 | 06-01-2011 10:23 AM |
calibre internal reader - more keyboard shortcuts ? | cybmole | Calibre | 1 | 01-06-2011 08:47 AM |