12-18-2017, 10:15 PM | #16 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Basically if the plugin already exists somewhere, some toolbar/menubar/context menu, then the user is not asked to specify a location. Only if it doesn't exist in any toolbar/menubar/context menu is the user prompted. I suspect BR only puts his plugins in the Favorites plugin and not in any builtin location.
|
12-18-2017, 10:55 PM | #17 | ||
null operator (he/him)
Posts: 20,570
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Quote:
BR |
||
12-19-2017, 12:01 AM | #18 | |
Grand Sorcerer
Posts: 6,233
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
|
|
12-19-2017, 10:10 AM | #19 |
Well trained by Cats
Posts: 29,803
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
What is your Calibre Language set at? Translation mis-match?
|
12-19-2017, 11:07 AM | #20 |
Grand Sorcerer
Posts: 6,233
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
|
12-19-2017, 04:08 PM | #21 |
null operator (he/him)
Posts: 20,570
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@Kovid and Plugin developers
I would have thought the test ought be: If the plugin was not already installed, i.e. configuration folder->plugins->this.zip was absent at the start of the current update process, then pop the 'which menu' question at the end of the current update process with default selections, otherwise do nothing. But, the question is... could this be rectified within existing shared common code, or would it require changes within individual plugin code. @Kovid - if the former is it worth my while lodging a 'bug' report? If the latter then forget it. Firstly the defect is not critical; secondly, there are far too many plugins that have been effectively abandoned (e.g. User Category) or are on limited support (View Manager) to warrant a concerted campaign to rectify the defect. BR |
12-19-2017, 10:02 PM | #22 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
IIRC the reason it is this way is so that people that remove plugins fro the toolbar and then forget they have done so, can restore them by un-installing and re-installing the plugin, a process that many people seem to use rather than going to Preferences->Tollbars.
|
12-20-2017, 06:48 AM | #23 | |
null operator (he/him)
Posts: 20,570
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
But I am not doing that, I am installing the just released version to replace the previous version. IMO my previous tool/menu bar settings for the PI (including none) should persist - just like other PI specific settings persist . I'm pretty sure I've said all I have to say on this, and even though I'm repeating myself I'll say it French this time -- Ça ne fait rien BR Last edited by BetterRed; 12-20-2017 at 06:50 AM. |
|
12-20-2017, 12:04 PM | #24 |
Plugin Developer
Posts: 6,320
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
I'm not able to duplicate Terisa de morgan's issue with EpubSplit. Once it's on the Library Context Menu, I don't get the "Add "%s" to toolbars or menus" dialog anymore in English or in Spanish. The code uses the internal plugin name, not a translated version.
BetterRed - For testing purposes, I can trigger the Add "%s" to toolbars or menus" dialog again by manually installing the same plugin again without waiting for an update. IMHO, asking Calibre to check for existing plugins configured in the Favourites plugin isn't very feasible. It might be possible for check_for_add_to_toolbars()(src/calibre/gui2/preferences/plugins.py:415) to also check for keyboard shortcuts, but could it tell the difference between user added custom shortcuts and default shortcuts? A simple workaround is to add the plugins to a menu or toolbar you don't use. I, for one, didn't even know there was a separate Cover view context menu. |
12-20-2017, 01:04 PM | #25 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@BR: I get what you're saying, I am just hesitant about making this change, as it is in code I did not write and do not use. Oh well, lets roll the dice: https://github.com/kovidgoyal/calibr...57553ec7f11b3a
|
12-20-2017, 04:37 PM | #26 | |||
null operator (he/him)
Posts: 20,570
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
But my position is; when a new version of an existing plugin is 'installed' the question as where its to be put shouldn't even be put Quote:
Quote:
I'll defer installing the new version of the Goodreads plugin until you release 3.15 and let you know what happens, here. If the change causes any grief you have my blessing to reverse it - its not a critical issue, just an annoyance to a minority of users - maybe just one in three million BR |
|||
12-20-2017, 06:38 PM | #27 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
The update for the Goodreads Metadata source plugin, shouldn't trigger this as metadata source plugins don't go on menus or toolsbars. But, if you mean the Goodreads Sync, then that should be a test case.
|
12-20-2017, 10:38 PM | #28 | |
null operator (he/him)
Posts: 20,570
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
I don't use Goodreads Synch, and I would prefer not to contrive a test. Maybe the changes to the Modify PI will be released soon. Or DaltonST will add a new blade to Job Spy. That's the one I tripped up on twice in a row, and that lead me to start this thread - not his fault though. BR |
|
01-10-2018, 11:28 PM | #29 |
null operator (he/him)
Posts: 20,570
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
For the record : I finally installed a new version of a previously installed plugin today (Job Spy), and I didn't get a message asking where to put it. Thanks Kovid.
FWIW, I don't put JS anywhere, I put the individual tools I want into the Favourites menu. BR |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with my ScrambleEbook plugin and the Plugin Updater tool | jackie_w | Development | 14 | 01-19-2017 10:49 PM |
problem with updater | fubarsnafu | Calibre | 10 | 06-20-2011 11:51 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |
Firmware Update Late Updater | oddeyed | Amazon Kindle | 1 | 11-16-2010 05:10 PM |