simple-drag-drop-text icon indicating copy to clipboard operation
simple-drag-drop-text copied to clipboard

Text Does Not Unhighlight

Open Lotharyx opened this issue 3 years ago • 10 comments
trafficstars

This may not at all be caused by simple-drag-drop-text, but the issue seemed to arrive after I updated the module.

After the module is activated for a selection, that selection highlight may never go away (i.e. the text remains highlighted). This does not affect further selection actions; it is just a visual issue. Unfortunately it means that new selections within the stuck-highlighted text are invisible (because the larger block is already highlighted).

I'm not altogether sure exactly what triggers the problem, and it doesn't happen every single time, but it seems to occur frequently since updating the module.

Here's a screenshot after the problem has occurred several times in the same document. Note that the caret is actually positioned at line 177, and there is no active selection. image

The only way to get the extra highlighting to disappear seems to be closing the document window.

Lotharyx avatar Feb 23 '22 19:02 Lotharyx

Same here...

nicolashainaux avatar Feb 26 '22 08:02 nicolashainaux

Same to me, I found this temporary solution: in the developer console, run the script for(let el of document.querySelectorAll(".highlight.selection")){ el.remove() }

andreazorzi avatar Mar 03 '22 10:03 andreazorzi

Same for me too (occasionally) Have not tried the command above.

l0gical avatar Mar 15 '22 07:03 l0gical

Same here, even if I don't complete a drag & drop. I have disabled the package for now

webdevian avatar Mar 28 '22 13:03 webdevian

Same here, even if I don't complete a drag & drop. I have disabled the package for now

Ditto

l0gical avatar Mar 28 '22 13:03 l0gical

Same here...

roelofcoster avatar Mar 31 '22 14:03 roelofcoster

@webdevian @nicolashainaux @l0gical @andreazorzi @roelofcoster Please do not comment "same here", use thumbs up on the original post instead. Such comments cause unnecessary notifications to people involved and do not contribute to solving the issue. Thank you for understanding

trogper avatar Mar 31 '22 16:03 trogper

I'm commenting "same here" because I want this fixed and people to be notified.

FIX IT

joshuambg avatar May 31 '22 21:05 joshuambg

I'm commenting "same here" because I want this fixed and people to be notified.

FIX IT

Please be aware, that the developer is providing this package for free and developing it in his free time.

trogper avatar May 31 '22 21:05 trogper

:wave: Thank you for reporting this.

With Github sunsetting Atom by the end of the year, I am choosing to also sunset this plugin.

The behavior provided by this plugin comes out-of-the-box within Visual Studio Code, the editor recommended by Github/Microsoft as an alternative to Atom.

If someone else wants to fix this issue with a PR, I welcome the contribution.

geoffthibeau avatar Jun 15 '22 14:06 geoffthibeau