-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
minor bug: "more plugins" stays when all plugins are disabled. #5461
Comments
Is there any way to disable that submenu but keep plugins on? Make them show on main menu? |
Of course, the menus are customizable. You can put your overrides in settings/reader_menu_order.lua and settings/filemanager_menu_order.lua. The defaults can be found in ui/elements. NB You should only put your overrides in there unless you want a maintenance burden. Concretely, something like this: local order = {
tools = {
"read_timer",
"calibre_wireless_connection",
"evernote",
"statistics",
"progress_sync",
"wallabag",
"zsync",
"news_downloader",
"send2ebook",
"text_editor",
--~ "----------------------------",
--~ "more_plugins",
"plugin_management",
--~ },
--~ more_plugins = {
"auto_frontlight",
"battery_statistics",
"synchronize_time",
"keep_alive",
"doc_setting_tweak",
"terminal",
},
["KOMenu:disabled"] = {
"more_plugins"
},
}
return order If you don't explicitly disable submenus or items, they'll pop up as new in the left-most menu. That's intended so that people who customize their menus are alerted of new features. |
It works, thanks. Would be great if there is a toggle (in plugin management, for example) that allows to do that without creating lua files though. |
The menu structure is the way it is by design. The fact that these are all plugins is an irrelevant technical detail from a UX viewpoint. PRs welcome for a full LibreOffice-style menu customization UI. ;-) |
Issue
More plugins stays as a menu even when there's no content to show.
Steps to reproduce
Disable the following plugins:
"auto_frontlight",
"battery_statistics",
"synchronize_time",
"keep_alive",
"doc_setting_tweak",
"terminal",
The text was updated successfully, but these errors were encountered: