Open core-ai-bot opened 3 years ago
Comment by abose Tuesday May 19, 2015 at 19:16 GMT
Looks like a codemirror upstream issue.
@
prafulVaishnav@
MarcelGerber
Comment by MarcelGerber Tuesday May 19, 2015 at 19:30 GMT
Ouch. https://github.com/codemirror/codemirror/commit/5d8347de1a6f137bf5d54659eaa2b8b6ac6b3d79 is the upstream culprit. Let's see if it's our fault or theirs.
Comment by MarcelGerber Tuesday May 19, 2015 at 19:55 GMT
Because I might not be able to file these today, I sum up my findings here:
It looks like the content of the hidden textarea changes, which is then picked up by slowPoll
.
I verified this is not a Chrome-only bug by successfully reproducing this in Brackets, Bracketron and Bramble with both Chrome and Firefox.
Comment by MarcelGerber Tuesday May 19, 2015 at 20:18 GMT
That's what the stack trace looks like, with the downright nonsensical call to applyTextInput
in the console below.
Comment by MarcelGerber Thursday May 21, 2015 at 18:01 GMT
Upstream CM bug filed: codemirror/CodeMirror#3273
Comment by redmoik Tuesday Jun 02, 2015 at 08:05 GMT
Hi!
How can I fix that issue on my end? My brackets is updated but I'm still getting that bug when I right click a text.
Comment by MarcelGerber Tuesday Jun 02, 2015 at 08:45 GMT
Please call git submodule sync && git submodule update --init
.
Comment by redmoik Tuesday Jun 02, 2015 at 08:54 GMT
I'm new to this sorry... where will I call that?
Comment by MarcelGerber Tuesday Jun 02, 2015 at 09:00 GMT
I guess you have a cloned version of Brackets (Is that what "updated" is for you? If not, you shouldn't ever experience this issue with a Release build).
If you have, just navigate in there cd xyz/brackets
and then call the two commands from above.
Comment by redmoik Tuesday Jun 02, 2015 at 09:12 GMT
I navigated in there and typed the two commands but it gives error "no git repository,..."
I have no idea if this one is cloned or not. I just downloaded it here http://brackets.io/ and installed Code Folding plugin.
Comment by MarcelGerber Tuesday Jun 02, 2015 at 09:27 GMT
In that case, you don't have a clone.
So you're saying you see this exact issue in Release 1.3?
Comment by MarcelGerber Tuesday Jun 02, 2015 at 10:15 GMT
Indeed. Could you just quickly try Debug > Reload without extensions
?
Comment by redmoik Tuesday Jun 02, 2015 at 12:08 GMT
oh wait.. Without you say? yes it's not deleting anymore when Reload without extensions
Comment by mackenza Tuesday Jun 02, 2015 at 12:11 GMT
it would be good to get a list of your extensions then as it seems to be an extension issue.
Comment by abose Tuesday Jun 02, 2015 at 12:12 GMT
The first GIF shows that it is the release build;Did you correctly launch brackets from the sources at the time?
Comment by MarcelGerber Tuesday Jun 02, 2015 at 12:14 GMT
@
mackenza You can see them in the second GIF:
@
abose The thing is, he runs into this issue with his Release build (but caused by some extension).
Issue by JordanTheriault Tuesday May 19, 2015 at 17:04 GMT Originally opened as https://github.com/adobe/brackets/issues/11142
Right-clicking on elements or properties will delete the text from the editor. After bisection by
@
humphd it's determined this is a recent regression caused by a recent commitHere is a screen cap of it happening.