Skip to content
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

Unsaved tab content disappears and reappears #24053

Open
Duct-Ape opened this issue Aug 2, 2023 · 0 comments
Open

Unsaved tab content disappears and reappears #24053

Duct-Ape opened this issue Aug 2, 2023 · 0 comments

Comments

@Duct-Ape
Copy link

Duct-Ape commented Aug 2, 2023

Type: Bug

Azure Data Studio version: azuredatastudio 1.45.0 (8eff468, 2023-07-24T18:22:12.106Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: Yes
Preview Features: Enabled
Modes: Restricted
Extensions: none

Steps to reproduce

  1. Open a new query (Ctrl+N)
  2. Write content in the newly opened tab
    image
  3. Close Azure Data Studio without saving
  4. Open a file with Azure Data Studio from outside the application
    image
  5. The unsaved tab's content is gone
    image
  6. Open a new query (Ctrl+N)
  7. The newly opened tab contains the contents of the now empty tab
    image

This will also happen with more than one tab. Creating three tabs in step 1 will produce three empty tabs in step 5. It will also allow you to open up to three tabs in step 6, which will all get filled with the contents from their respective tabs from step 1.

Expected result

At step 5, the tab should still contain it's original content.
At step 7, the new tab should be empty.

System Info
Item Value
CPUs Intel(R) Core(TM) i5-9500 CPU @ 3.00GHz (6 x 3000)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
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.92GB (25.52GB free)
Process Argv C:\Users\Me\Desktop\external_file.sql
Screen Reader no
VM 0%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants