giuspen / cherrytree

cherrytree
https://www.giuspen.net/cherrytree/
Other
3.29k stars 457 forks source link

Option to use traditional title bar and menu or FireFox/Opera style menu. #2443

Closed HubKing closed 4 months ago

HubKing commented 4 months ago

Is your feature request related to a problem? Please describe. There are too many top-level menu items, so on a laptop where the main window is small, there is barely any space that I use for window-dragging. I keep accidentally click the menu item when I tried to drag the window.

I could hide menu by F12, but then the title bar is unnecessarily thick.

image

Describe the solution you'd like (1) Option to use traditional title bar and menu. It doesn't seems like using the combined menu saves much vertical space any way.

image

(2) Opton to use FireFox/Opera-like single menu button. The hamburger on the left or right most of the title bar.

(3) Let users customise menu items. I could move some of the top-level items that I don't use into another top-level item.

(4) Option to make menu open on mouse-up, and allow window-dragging on the top-level menu item. That is, if I press the mouse button on "File" and without lifting it I move the mouse, it drags the window without opening the menu. If I press the mouse button on "File" and without moving the mouse if I lift the button, then the menu opens without dragging the window. This is how other Gnome applications work. For example, Open Gnome Files, do the thing I described on the hamburger icon.

giuspen commented 4 months ago

Hi, if you click on the top menu item View you will already find the possibility (1) to disable/enable the menu bar in title bar option

HubKing commented 4 months ago

menu item View

Yeah, I found it. I had searched this option in the Preferences.

giuspen commented 4 months ago

It is a valid point as other users also missed the options under the menu View, I will have a thought maybe I'll replicate those also in a new preferences dialog tab

HubKing commented 4 months ago

replicate

The option requires a restart, so, in my opinion, I don't think it belongs to the main menu. Preferences is probably a better place. Menu items are probably for things that can change on-the-fly or people need to do multiple times during a session.

giuspen commented 4 months ago

I added the option also in the preferences dialog, will be in upcoming v1.1.0