[Feature] Implement additional tab bar popup menu (when right click outside of tab button zones)#16561
Conversation
|
Open Preferences dialog and switch to "Tab bar" section, while checking/unchecking "Show Tabs in Vertical Orientation" and/or "Show Tabs in Multi-line" (same for the context command "Toggle Multi-line with Mouse Wheel" ), the options in the Preferences dialog "Tab bar" section are not checked (or unchecked). So the added context commands make the incoherent behaviour. |
donho
left a comment
There was a problem hiding this comment.
- Remove "Show Tabs in Vertical Orientation", "Show Tabs in Multi-line" and "Toggle Multi-line with Mouse Wheel" commands from the context menu.
- Remove "Toggle Multi-line with Mouse Wheel" feature so far. It should be done in another PR, and find a way (GUI) less confusing for this feature.
…de tab button zones)
8a59c41 to
77b3c24
Compare
I did notice this case when I implemented the feature.
Should I add these into the same PR with the "Toggle Multi-line with Mouse Wheel" feature???
I figured out these 2 solutions for this issue:
Which one do you prefer??? |
|
@donho And I just found an issue: |
|
Indeed. But even with the default value 2, it can happen: I have no solution for it. Even there's one, it won't be trivial. |
|
@donho |
|
For keeping my workflow as cleaner/simpler as possible. Since the notification must come from the 2 splitterContainer, the only one solution I see is: test the right zone of splitterContainer to send the notification - it won't be trivial but you can try. |
|
@donho |
|
I don't consider that a bug, so no fix about that will be accepted. |



Description
I implemented a new feature that added an additional tab bar popup menu when right-clicking on the tab bar (outside of the tab buttons), similar to the one in Visual Studio.
The menu allows you to:
Preferences... > Tab Bar)Images
Additional Tab-Bar pop-up menu
New option in
Preferences...DialogI also modified the
Preferences...dialog operation to allow automatically updating changes of this new option and related options (Vertical, Multi-line) when re-opening the dialog.Before, the
Preferences...dialog only updates all child dialogs' items on initialization, not on showing/hiding (closing and reopening only shows/hides the dialog). I guess because there are currently no options or parameters in the dialog that can be changed in the background.Issue
There is an existing issue related to this feature that I have mentioned in Issue #16552
I have also added a commit f3cd1ba to fix for that issue.
If you are going to merge this feature, please take a look at that issue, and tell me if you want to merge that commit as well.