question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Clicking in the middle of a selected range, does not deselect the text sometimes

See original GitHub issue

Does 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:

  1. Select some text
  2. Click inside the selection
  3. 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:open
  • Created a year ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
jespertheendcommented, Aug 1, 2022

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.

0reactions
jespertheendcommented, Aug 10, 2022

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 with editor.cursorWidth: 0 the bug was triggered 3 out of a 100 times, but with editor.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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found