workspace: Handle double-click on pinned tab row empty space#51592
Conversation
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: mgabor3141.
|
dc999e2 to
d695b58
Compare
|
Hey @mgabor3141, these changes are looking and feeling good, and they match what VS Code does when the double pinned tab bar setting is enabled. That being said, I'd like to pin down this behavior with a test, which would involve setting up the test to have the If you scan the tests in
Once a test is in place, and this is rebased on main, I'm happy to merge it into the |
|
I went ahead and added in a test so we could merge this in. Thanks @mgabor3141 |
…ustries#51592) When `tab_bar.show_pinned_tabs_in_separate_row` is enabled, double-clicking the empty space on the unpinned tab row creates a new tab, but double-clicking the empty space on the pinned tab row does nothing. Add the same `on_click` double-click handler to the pinned tab bar drop target so both rows behave consistently. Release Notes: - Fixed double-clicking empty space in the pinned tab row not opening a new tab when `show_pinned_tabs_in_separate_row` is enabled. --------- Co-authored-by: Joseph T. Lyons <JosephTLyons@gmail.com>
Thanks. I've been busy with other things so I couldn't get to this one. Thank you for taking it over the finish line. |
…ustries#51592) When `tab_bar.show_pinned_tabs_in_separate_row` is enabled, double-clicking the empty space on the unpinned tab row creates a new tab, but double-clicking the empty space on the pinned tab row does nothing. Add the same `on_click` double-click handler to the pinned tab bar drop target so both rows behave consistently. Release Notes: - Fixed double-clicking empty space in the pinned tab row not opening a new tab when `show_pinned_tabs_in_separate_row` is enabled. --------- Co-authored-by: Joseph T. Lyons <JosephTLyons@gmail.com>
When
tab_bar.show_pinned_tabs_in_separate_rowis enabled, double-clicking the empty space on the unpinned tab row creates a new tab, but double-clicking the empty space on the pinned tab row does nothing.Add the same
on_clickdouble-click handler to the pinned tab bar drop target so both rows behave consistently.Release Notes:
show_pinned_tabs_in_separate_rowis enabled.