After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 788278 - Content from other apps pasted before cursor instead of after
Content from other apps pasted before cursor instead of after
Status: RESOLVED FIXED
Product: gnome-builder
Classification: Other
Component: editor
3.26.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Builder Maintainers
GNOME Builder Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-09-28 09:53 UTC by Alexandre Franke
Modified: 2017-09-28 13:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
editor: paste from external text at wrong position (1.23 KB, patch)
2017-09-28 13:14 UTC, sébastien lafargue
committed Details | Review

Description Alexandre Franke 2017-09-28 09:53:42 UTC
Copy text in any other application and paste it (p in vim mode, didn’t check if that applies to other modes). The text is pasted at the wrong place.

Not sure if it’s the same bug, but if your copied content is multi-line then paste will split your current line (as opposed to paste on the next line as expected in vim mode).
Comment 1 sébastien lafargue 2017-09-28 13:14:28 UTC
Created attachment 360603 [details] [review]
editor: paste from external text at wrong position

Possible mismatch between the clipboard content and the utf-8 converted text
so we set back the utf-8 text in the clipboard to be sure.
Comment 2 sébastien lafargue 2017-09-28 13:14:55 UTC
Attachment 360603 [details] pushed as 04bc816 - editor: paste from external text at wrong position