[Github-comments] [geany/geany] Add option and keybinding to hide menubar (PR #2972)

Enrico Tröger notifications at xxxxx
Sun Nov 7 22:26:48 UTC 2021


> > I agree that the "hide on startup" option is not necessary.
> 
> @eht16 Hide on startup is a primary use case that this PR is intended to address. Restore on startup is basically just to make devs happy. I already have a couple plugin implementations (Geanypy, Lua script, and C plugin). I rewrote part of the Lua script to restore on startup while helping a user to get it working. The first request the user made after getting the script to work was to make it always hide on startup. (As far as I know, the script has only one user. So while it may not be representative of all users, the use-case does exist beyond just me.)

I understood the use case and of course, if the menubar is hidden once, it should be hidden again after restart. What I meant is that we just need to store the state (visible or hidden) and restore that state on startup. If we would implement it like the other interface component toggles (Sidebar, Toolbar, ...), it would be as easy as just a couple of copy&paste's and for the user it would be a consistent experience to show/hide various parts of the interface.

> > If implemented with a keybinding, a menu item in the View menu
> 
> Adding an option on the view menu would make it more likely for users to accidentally hide the menubar without being able to restore it. (The option will be inaccessible after the menubar is hidden.)
> [...]
> This would make the feature more visible, and prone to accidental usage. Since at least occasional access to the menubar is essential, hiding it should be an advanced feature that only sufficiently motivated users will find and use.

We can't completely prevent a user might hide the menubar accidentally. But if users know there is the possibility to show/hide the menubar, I assume it would be easier for them to discover how to show it again. And more users can use this at all as a menu item in the View menu and an option in the preferences dialog is easier to discover than a keybinding.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2972#issuecomment-962691974
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211107/6e628e88/attachment.htm>


More information about the Github-comments mailing list