Clicking in the middle of a selected range, does not deselect the text sometimes
See original GitHub issueDoes this issue occur when all extensions are disabled?: Yes
Version: 1.66.1 (Universal) Commit: 8dfae7a5cd50421d10cd99cb873990460525a898 Date: 2022-04-06T14:49:47.400Z Electron: 17.2.0 Chromium: 98.0.4758.109 Node.js: 16.13.0 V8: 9.8.177.11-electron.0 OS: Darwin x64 21.4.0
Steps to Reproduce:
- Select some text
- Click inside the selection
- Repeat several times, as it only happens occasionally
I’d say it happens about once every 20 times or so. In this video I happened to get it on the second try:
https://user-images.githubusercontent.com/2737650/162496894-511cfad8-2cdc-42c4-bce5-885a633593d8.mp4
Issue Analytics
- State:
- Created a year ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Deselect a selection - Microsoft Support
You can deselect any cells within the selected range with the Deselect Tool. Pressing the Ctrl key, you can click, or click-and-drag to...
Read more >Why is Excel Selecting Multiple Cells When I Click on One?
In this video I look at why Excel sometimes selects multiple cells when you only click on one. There are two modes in...
Read more >Selection and Range - The Modern JavaScript Tutorial
"start" – the selection range collapses just before the inserted text (the cursor will be immediately before it).
Read more >37 Awesome Excel Mouse Tips & Tricks You Should Know
Double left click at the top of the menu when the cursor is a four-way arrow and the window will dock back to...
Read more >7 Amazing Things Excel Text to Columns Can Do For You
In Step 2, make sure NO delimiter option is selected. Click on Next. excel-text-to-columns-invalid-dates-step-2; In the Column data format, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hmm ok it just happened to me with my cursorWidth set to 0, so that’s not it. I’ll try setting
window.zoomLevel
to 0 and see if that fixes it. I normally have it set to -1.Ok I think I was drawing conclusions too quickly last time. Setting
editor.cursorWidth
to 5 definitely seems to have an effect. I tried selecting an area and then deselecting by clicking the text next to it a hundred times for both settings, here are the results. And witheditor.cursorWidth: 0
the bug was triggered 3 out of a 100 times, but witheditor.cursorWidth: 5
it was triggered 16 times.So while
editor.cursorWidth
is not the immediate cause for this, it definitely seems to increase the chance of it happening.I don’t think
window.zoomLevel
has any effect on this. The test above was performed with zoomLevel set to 0.