-
Notifications
You must be signed in to change notification settings - Fork 907
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
Selecting partial query and hitting Cmd or Ctrl+C opens terminal with Error message #717
Comments
To be more specific use the following sample query - doesn't matter if you have this table: Highlight partial query above "SELECT * FROM Person WH". This will open terminal with the error. |
@anthonydresser this looks similar to the other "Output Window" popping up on language client errors issue you were looking at. Do know if the fix you submitted was supposed to fix this? |
@Code-DJ I'm having trouble repro'ing this issue, but we investigated a similar issue where non-user impacting internal errors were being (annoyingly) logged in the Output window. This commit fixed the scenarios we had repro's for 6f21d6e. Let me keep investigating. Please let me know if there are any additional steps to narrow down the repro. |
@Code-DJ nevermind, it seems like if I hit Ctrl-C several times in a row quickly using your repro I can get the error. Let me see why the previous commit isn't preventing this pop-up. |
@kburtram on macOS I am able to consistently recreate by pressing Cmd first, then dragging the mouse to select a portion of the query. As soon as you let go of the mouse, the terminal comes up with the error. Additionally, if you select the entire query and Cmd click it, the error pops up. Same on Windows. This is not how I intend to use the app, was just trying to recreate the issue several different ways. Also, this is in addition to the original issue I reported. |
i get this error too on windows. Just to add a bit i get those error too from the same window, wich one show up depend on if im connected to a server or not... if my connection is closed
if im connected i get one of those ( including the one in op message ).
thanks, i was going crazy thinking i was the only one getting those! |
What is the output channel it is pushing these messages to? |
its getting pushed to SQLToolService ( not the init one ) |
The 0.26.7 builds for Windows, macOS and Linux are available at https://github.com/Microsoft/sqlopsstudio/releases/tag/0.26.6 which contains the proposed fix for this issue. I'll update the auto-update feeds once all the builds are posted and we've completed build verification testing. Note, if you do install 0.26.7 before I update the auto-update feed, please don't do the auto-update inside 0.26.7 as it will take you back to 0.26.6. This won't be an issue once the feeds are updated. |
The hotfix for this issue has been published to the auto-update feeds and the download page fwlinks have been updated. Sorry for the inconvenience of needing to update again so frequently. Please reopen the issue if the issue persists on the 0.26.7 build. Thanks! |
Thanks. Updated it. So far so good. |
Steps to Reproduce:
Open New Query
Type a query
Highlight a portion (not all) of the query
Hit Ctrl+C on Windows or Cmd on Mac
Terminal opens with the following text:
In some situations, you get the following:
The text was updated successfully, but these errors were encountered: