![]() |
#1 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,506
Karma: 29709834
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Preferences - cascading menu
Will I be able to access all Preferences dialogues via this tool, or is it limited to the Toolbars and Shortcuts dialogues.
BR |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,270
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Just those 2 via this menu. I added them because they are directly related to what the action does. You can of course open the general preferences dialog via its calibre action, but I don't think that is what you are asking about.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,506
Karma: 29709834
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Preferences - cascading menu
You're right.
Code:
Interface Look & feel . . . Searching . . . Advanced Plugins . . . Template functions Last edited by BetterRed; 02-18-2024 at 05:51 PM. |
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,270
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
@BetterRed:
They show wherever the preference menu can show. This example show it them in the main context menu. They are bog-standard menu items that should be visible whereever you want. I know they work in Favorites and Action Chains. This also lets you can assign a shortcut to individual preference dialogs. |
![]() |
![]() |
![]() |
#5 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,506
Karma: 29709834
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
![]() |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,506
Karma: 29709834
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
And we lack a Restart in debug mode with no plugins action. ![]() Or put Restart in debug, Restart with no plugins and Restart in debug mode with no plugins as drop down actions in the Restart tool. At the moment it's a bit belt and braces with no buckle ![]() BR |
|
![]() |
![]() |
![]() |
#7 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,270
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Moving all the restart stuff to be in Restart instead of Preferences wouldn't change what shows. Last edited by chaley; 02-20-2024 at 01:11 AM. |
|
![]() |
![]() |
![]() |
#8 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,506
Karma: 29709834
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
This is what I currently see in the Preferences drop down: This is what you posted Restart in Debug mode is missing in your screen shot. Restart Options We have two restart options in the Preferences tool drop down menu, Restart in debug mode and Restart ignoring third party plugins, and we have the single action Restart tool. I suggest the Restart action be moved into the Preferences drop down with the other two Restart actions and the separate Restart tool be scrapped, OR move the two Restart options in Preferences into a drop down on the Restart tool. If I were my decision I would choose the first option because I think it would create less "where did the Restart options go" complaints. This is a calibre-debug issue - on a number of occasions I've wanted to run calibre in debug with no third party plugins, the way I've been doing it is to run a fresh install of portable in debug. If calibre-debug had a --ignore-plugins option we could have a another Restart option - Restart in debug mode ignoring third party plugins. Running a fresh install of portable in debug with no plugins installed is not quite the same even if I copy my 'install' preferences into calibre portable. BR |
|
![]() |
![]() |
![]() |
#9 |
Chalut o/
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 436
Karma: 145424
Join Date: Dec 2017
Device: Kobo
|
At first, deleting a User Action seems... audacious. It wouldn't cause a problem, but that's the feeling I have about deleting a built-in action.
So, I add to moved the two debugging restart options to the "Restart" Action. It always seemed strange to me that it should appear here and not in the action (but now that we're working around). But now that I think about it: why are the two debugging restart options in the "Preference" menu? Because we need these two options to be easily accessible by all users. And since "Preference" is mandatory in the interface and "Restart" isn't, it makes sense to put them there. Conclusion: It would be better to add normal restart to the "Preference" menu and possibly delete the "Restart" Action. The problem will be to migrate the keyboard shortcut if possible or without creating a duplicate. ... In fact, we're faced with a Legacy debate: we're paying for an old decision, and any changes will certainly lead to a compatibility breakdown. Not very serious, but still, not so simple. |
![]() |
![]() |
![]() |
#10 | |||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,270
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Quote:
Quote:
Last edited by chaley; 02-20-2024 at 09:27 AM. |
|||
![]() |
![]() |
![]() |
#11 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,270
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
I don't know what Kovid would do with a PR that makes these changes. I suspect he would reject deleting the Restart action, but that he would accept adding a dropdown menu to it as long as the basic Restart action is cloned onto the menu. |
|
![]() |
![]() |
![]() |
#12 | |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,027
Karma: 27109258
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
@BR: If you want to run the GUI in debug mode while ignoring plugins you can do: Code:
calibre-debug -c "from calibre.gui2.main import main; main(['calibre', '--ignore-plugins'])" |
|
![]() |
![]() |
![]() |
#13 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,506
Karma: 29709834
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Create catalogue is available a tool in its own right (with a short cut) and as a Convert books drop down action (with no shortcut). viz: Could Restart be similarly available in two places? BR Last edited by BetterRed; 02-20-2024 at 05:59 PM. |
|
![]() |
![]() |
![]() |
#14 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,270
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Make an enhancement request and it will be considered. The questions to be answered: where and why? |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Anyone know why my plugin gets duplicated in the preferences menu/calibre-customize? | OrangeFlavored | Development | 3 | 05-08-2020 06:40 PM |
I (somehow) removed the Preferences icon from my main menu | PTrenholme | Library Management | 4 | 02-19-2020 06:27 PM |
Cascading Styles & Specificity | Turtle91 | Sigil | 4 | 01-20-2020 06:57 PM |
Hyperlinks :Section Menu and Main menu not clickable/working in recipe generated | mitra | Recipes | 0 | 01-22-2016 04:37 AM |
Reference Lie, Hakon & Bos, Bert: Cascading Style Sheets, level 1. IMP. v1.0 4 Sept 2007 | DaleDe | IMP Books (offline) | 0 | 09-04-2007 02:12 PM |