azuredatastudio icon indicating copy to clipboard operation
azuredatastudio copied to clipboard

Restored SQL file windows don't always show the connection toolbar

Open CoolDadTx opened this issue 1 year ago • 0 comments

Type: Bug

On occassion, maybe every month or so or perhaps after an update, when ADS opens, any previously opened SQL windows that are reopened at startup do not have the connection bar such that you can connect to SQL or run your queries.

There is no consistent repro in which it happens, it just suddenly starts having issues. Closing and reopening the same SQL file resolves the issue. Any other windows that are opened after ADS starts are fine as well. It is just when ADS is restoring previously opened windows.

Repro steps for when the problem replicates.

  1. Open ADS
  2. Open any SQL file and verify the connect toolbar is available
  3. Close ADS
  4. Open ADS again so that it restores the previously opened SQL file window

When the problem replicates the window will open without a connection toolbar. Any other windows you open will be fine. Closing and reopening the same SQL file also resolves the issue.

ads

This has been happening for many releases now and is likely not related to any recent changes. Others have reported the same issue on StackOverflow I've noticed.

Azure Data Studio version: azuredatastudio 1.49.0 (6e6d22ddd74bbb4fbe344ed80b93b53489fe0239, 2024-08-01T05:19:02.202Z) OS version: Windows_NT x64 10.0.22631 Restricted Mode: No Preview Features: Enabled Modes:

System Info
Item Value
CPUs 11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz (16 x 3600)
GPU Status 2d_canvas: enabled
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
Load (avg) undefined
Memory (System) 31.88GB (6.53GB free)
Process Argv
Screen Reader no
VM 0%
Extensions: none

CoolDadTx avatar Aug 02 '24 13:08 CoolDadTx