Steps to Reproduce:
Expected:
The column is resized and current scroll position and cell selection remains intact.
Actual:
The resized column is now selected entirely and the scroll position resets to the top.
@coquagli I think this is the same behavior described in this issue https://github.com/Microsoft/vscode-mssql/issues/198
Fixed with #646.
Tried this with mssql alpha 23 from the releases page (and changed the config.js to take sqltoolsservice alpha 22 instead of 18), This still happens every other time i resize the column.
maybe its because of my frankenbuild, not sure.
Right now, I can select a single cell, resize, it will not change the selection or scroll back. Do it again, it still doesn't scroll but it now selects the entire column.
Hey, thanks for following-up with this. I replicated your setups with a build from source and an install via .vsix, but was unable to reproduce the issue. Are you sure you grabbed the correct alpha build?
Just grabbed a fresh install of VSCode 1.8.1 and the generic vsix from that page. It installed sqltoolservice alpha 18.
I get the same result, connect to one of my company's Azure SQL DBs, selected 50 rows from a table, scrolled down a bit, choose a cell at random and resized its column's header. If i keep selecting a cell and resizing that column, i get varying results regarding selection - sometimes it changes, sometimes it does not. It does not lose scroll position though.
Here's a quick snap using Windows 10's Game DVR and running against localdb.
Ahh, I see. I'll take another look at why that's happening.
This got auto-closed when merging the change. Did the change fix your issues, @ransagy?
This isn't available in any release atm, right? Only if i build from the dev branch. If so, I don't have an env set up right now, I'll see what i can do.
Correct. As such, there's no rush. Feel free to wait for the next release if you need.
@coquagli confirmed fixed in 0.3.0 alpha 1.
There is a slight issue that double clicking the border between headers to auto expand the column resets selection (probably due to that single clicking the header selects all that column) but that should probably be a opened under a different issue.