-
Notifications
You must be signed in to change notification settings - Fork 8.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix duplication issue for unfocused tabs #13964
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice and easy to read! Thanks!
Hello @lhecker! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this!
Instead of using the currently focused tab when an unfocused tab is duplicated, the `_MakePane(...)` function now uses an optional source tab argument that points to the correct tab being duplicated. ## Validation Steps Performed Manually tested on multiple tabs with different profiles. Performed steps: * Construct at least two tabs with different profiles. * Select `Duplicate Tab` option from the dropdown menu of the unfocused tab. * Verify that the new tab has the same profile as the tab it was duplicated from. Closes #13942 (cherry picked from commit 8f08bb0) Service-Card-Id: 86159036 Service-Version: 1.15
Instead of using the currently focused tab when an unfocused tab is duplicated, the `_MakePane(...)` function now uses an optional source tab argument that points to the correct tab being duplicated. ## Validation Steps Performed Manually tested on multiple tabs with different profiles. Performed steps: * Construct at least two tabs with different profiles. * Select `Duplicate Tab` option from the dropdown menu of the unfocused tab. * Verify that the new tab has the same profile as the tab it was duplicated from. Closes #13942 (cherry picked from commit 8f08bb0) Service-Card-Id: 86159037 Service-Version: 1.16
🎉 Handy links: |
🎉 Handy links: |
Instead of using the currently focused tab when an unfocused tab is duplicated, the
_MakePane(...)
function now uses an optional source tab argument that points to the correct tab being duplicated.Validation Steps Performed
Manually tested on multiple tabs with different profiles. Performed steps:
Duplicate Tab
option from the dropdown menu of the unfocused tab.Closes #13942