-
Notifications
You must be signed in to change notification settings - Fork 270
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
[Plugin Request] Toggle menu bar #1380
Comments
Simple question to the maintainers of geany-plugins: |
Just a reminder, the only maintainers are (as listed in MAINTAINER) the maintainer of individual plugins, so its only of interest if menu bar is something they might add to their plugin. Most plugins it isn't part of the plugin functionality, probably only the couple of miscellaneous collections of things are relevant if they are willing to accept a PR to add it. |
It seems to be that there is a misunderstanding. My idea is that the plugin Do you think that if the plugin |
Such a plugin already exist (though seems abandoned) as mentioned in geany/geany#633. This could probably be used as a base. Or, as @elextr suggested, have a look at the Addons plugin. Adding a new shortcut there to show/hide the menu bar is probably no big deal, is less work than creating a whole new plugin with all boilerplate and has good chances to be merged. |
@eht16 The link of your last comment is wrong. I think you mean 633 at geany and not at geany-plugins. Maybe it would be good if you edit your last comment in that way that you just remove the hash. |
Thanks, fixed. |
I don't like the idea that |
OK. Why not. It is less work than to program a whole plugin. It sounds simple and quite interesting. I didn't know that this was possible. The good thing is then that there is no need to copy and paste. So, users activate the plugin Lua Scripts in the Plugin Manager and then the only further step what need to be done is to define a shortcut in the Preferences in Keybindings in the Action "Lua Script" in "Toggle menu bar". Cool. So, I intend to close this issue when PR 1234 will be closed. |
I read several times in comments that a PR is welcome. There is the PR 1234. Could someone check and merge the PR to make Geany even better and to close this issue? Please. |
Thanks to the geanylua-script https://github.com/xiota/geanylua-scripts/tree/main/toggle-menu-bar I wrote a step-by-step-description how to toggle menu bar: geany/geany#633 (comment). The problem is that it takes about 10 minutes to build the feature. For users it would be better to have a plugin like
Toggle menu bar
in the plugin manager. Then users could activate the checkbox next to the pluginToggle menu bar
in the plugin manager and could set a shortcut.Forgot the shortcut?
Options
There are no options planed for this plugin.
Behavior
Once the menu bar is disabled by pressing the shortcut, the menu bar stays disabled even after a restart of Geany. The menu bar will appear again only if the shortcut will be pressed again.
History
2972 at geany and 1138 at geany-plugins were both closed but not fixed.
Official plugin
If this plugin is part of the official plugins, then issue number 633 at geany could be closed.
Remark
The toggle menu bar works absolutely perfect for me for years. I use the key F12 as shortcut to toggle the menu bar.
The text was updated successfully, but these errors were encountered: