Instead of showing the tabs it would be more convenient if a mouseover (without clicking) opens a cascade menu with the symbols, documents, plugin tabs, etc... It would be a much faster and practical solution with just one click opens the desired tab.
Would it be possible to explain it terms of GTK+ widgets/terminology (or with a mock-up)?
I don't know GTK but you can see my idea here https://www.w3schools.com/howto/howto_css_dropdown.asp move mouse over "Hover Me"
It's a bit unusual (and some would consider annoying) to have stuff randomly popup when you move your mouse around. With newer GTK+ this could be implemented with GtkMenuButton and/or GtkPopover, but I'm not sure if most people would like it.
Is possible to make a settings option? The user can select if open menu with a click on it or with only mouse over it...
I think plugins add tabs directly to the notebook, so it would need some wrangling to get them into the new UI artifact.
Could be a plugin listening to the add/remove page signals.
I do not know if I explained myself well, the menu should contain only the titles of the tabs, and clicking on an item such as "Symbols" opens the Symbols tab.
What do you mean by "menu" (ie. a button, a drop-down box, a main-menu like at the top of Geany), and where would it be placed within the UI?
Correct me if I'm wrong but I think @GFdevelop asks for making the sidebar a GtkStack, with the stack switcher being a drop-down menu (possibly opening on mouse-over instead if normal click).
@kugel- yeah but where would the stack-switching drop-down menu live in the GUI?
Like this?
![sidebar_menu](https://user-images.githubusercontent.com/181177/34034702-616fb2a0-e134-11e7...)
The drop-down would contain the label, so in place of the tab.
What is GTKStack?
This is right
possibly opening on mouse-over instead if normal click
and this
The drop-down would contain the label, so in place of the tab.
![export](https://user-images.githubusercontent.com/17930457/34047415-7e30b55c-e1b0-11...) ![export 1](https://user-images.githubusercontent.com/17930457/34047424-81936582-e1b0-11...) ![export 2](https://user-images.githubusercontent.com/17930457/34047428-843152c2-e1b0-11...)
We could have a [combobox](https://developer.gnome.org/gtk3/stable/GtkComboBox.html) dropdown and [hide the notebook tabs](https://developer.gnome.org/gtk3/stable/GtkNotebook.html#GtkNotebook--show-t...). This should likely be an option, and the popup-on-hover seems highly questionable to me as it's not common in UIs I know, and it can get super annoying. I'm rather used to the click-to-open-and-release-on-the-element for a single-click menu usage.
This should likely be an option, and the popup-on-hover seems highly questionable to me as it's not common in UIs I know, and it can get super annoying.
+1, but I think this is the whole point of the PR.
We could have a combobox dropdown and hide the notebook tabs.
Seems kind of unusual. At that point might as well just put a right-click tab menu similar to what the editor notebook has.
At that point might as well just put a right-click tab menu similar to what the editor notebook has.
Why not, and I think it's super easy just enabling [`GtkNotebook:enable-popup`](https://developer.gnome.org/gtk3/stable/GtkNotebook.html#GtkNotebook--enable...).
How do you have a right click tab menu if the tabs are hidden?
Why not, and I think it's super easy
I wouldn't mind, but I don't think it's really what @GFdevelop is after.
How do you have a right click tab menu if the tabs are hidden?
The tabs wouldn't be hidden.
The tabs wouldn't be hidden.
As you say above, AFAIU thats not what the OP was after.
github-comments@lists.geany.org