pdt icon indicating copy to clipboard operation
pdt copied to clipboard

Sometimes pasting code pastes to a completely different location.

Open rickmacgillis opened this issue 3 years ago • 5 comments

Describe the bug Sometimes pasting code pastes to a completely different location. See video.

Describe the eclipse environment Version: 2021-03 (4.19.0) Build id: 20210312-0638

Describe your system

  • OS: Linux Mint 20.2
  • Version 20.2

To Reproduce See video below.

Expected behavior Paste only to the location specified by the cursor or highlighting.

Screenshots See this video of the problem. https://www.loom.com/share/62925586eb5a4094b2b5077e75584165

rickmacgillis avatar Aug 29 '21 22:08 rickmacgillis

It actually happens to me sometime, and I never managed to successfully reproduce it ! Thanks for sharing this video.

pounard avatar Aug 30 '21 08:08 pounard

It happened that I still occasionally reproduce it, but most of the time, it's because I hit CTRL (for pasting) and accidentally click with my mouse on a symbol (which navigates to its definition), then I hit "V" which pastes at the position I accidentally navigated to.

Sounds stupid, it's a finger problem, and it also happens to me sometime in some other editors...

pounard avatar Nov 09 '21 16:11 pounard

For me this isn't a finger issue.

rickmacgillis avatar Nov 09 '21 16:11 rickmacgillis

Yes I remember that your screencap was pertinent, but it's not online anymore... Could you reproduce it ?

pounard avatar Nov 09 '21 22:11 pounard

Unfortunately not. It seems that the Eclipse PDT team is ignoring this bug since August, so there's no value in doing so. If a maintainer requests it, I'll create a new video.

rickmacgillis avatar Nov 10 '21 14:11 rickmacgillis

This is not PDT bug itself but SSE (same problems in XML and CSS editors), document is not always correctly synchronized with UI. Same problems appear sometimes after ctrl+z, etc... Since at least 10 years none touched this on WTP side, i have to drop entire WTP support. Marking as wontfix (it's nothing to do on PDT side)

zulus avatar Jul 03 '23 15:07 zulus