[Github-comments] [geany/geany] Notebook tab menu: Move tab filenames to a button menu at end of tabs (#2348)

Nick Treleaven notifications at xxxxx
Wed Oct 9 16:31:44 UTC 2019


The existing popup menu lists all the notebook tabs first then shows command items below. This means the command items are harder to access (user has to move mouse further). They can also get pushed off screen when there are many tabs open (see https://github.com/geany/geany/pull/2346#issuecomment-539842133). Instead, let's split up the menu for better UX.

New notebook action widget menu, left or right click ☰ button:
![image](https://user-images.githubusercontent.com/1107820/66484161-63b43e80-ea9e-11e9-9d58-b6efef850baf.png)

Commands-only tab menu:
![image](https://user-images.githubusercontent.com/1107820/66500598-b6e7ba80-eab9-11e9-8908-3fb43bed2bdb.png)

The single close item has been grouped separately and put first because:

> This will be the most common choice for anyone who disables notebook tabs.
This also groups the commands closing multiple documents separately from the other commands. Closing multiple documents is a more drastic action so should be grouped separately.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/2348

-- Commit Summary --

  * Use gtk_widget_show_all in show_tab_bar_popup_menu
  * Remove unnecessary casts
  * Notebook tab menu: Move tab filenames to button menu at end of tabs
  * Move single close item to top of menu

-- File Changes --

    M src/notebook.c (56)

-- Patch Links --

https://github.com/geany/geany/pull/2348.patch
https://github.com/geany/geany/pull/2348.diff

-- 
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/2348
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20191009/7d888559/attachment.html>


More information about the Github-comments mailing list