-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
Dragging inactive terminal task tab does not work properly #199927
Comments
👍 we should select the tab either at the start or end of the drag |
@Tyriar can I take this one or is someone else working on it? |
@RaazKH that would be great! No one on it currently. |
The issue seems to be because the hover behavior is inherited from here: vscode/src/vs/base/browser/ui/list/listWidget.ts Lines 921 to 924 in 57ea32b
The code where the active instance is updated with drag/drop: vscode/src/vs/workbench/contrib/terminal/browser/terminalTabsList.ts Lines 697 to 710 in 57ea32b
The The |
Type: Bug
Open "Terminal" Tab
Click "+" symbol, to have 2 tabs
Click on one of the shell task tabs to make it active, notice active tab has distinctive background color,
Give it a distinctive output from the second tab (something like "echo Active")
Drag the second tab, which is inactive, to the active tab place, so that they switch places
Notice that the open tab is now the previously inactive for the distinctive output content is now gone (Possibly intentionaly due to dragging), but the highlighted tab is the still the previosly active tab.
By clicking on the highlighted tab, it will switch to the previously active tab, showing the distinctive output (echo "Active"), even though the highlight suggests that the tab was open before.
Either the dragging should not switch tabs, or the background highlight of the tab should update accordingly.
VS Code version: Code 1.84.2 (Universal) (1a5daa3, 2023-11-09T10:52:33.687Z)
OS version: Darwin arm64 23.1.0
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: