Strange copy and paste behaviour on latest Google Chrome using Linux

Steps to reproduce

  • select an item which has a note
  • cut with ctrl-x
  • paste with ctrl-v

dynalist-copy-paste-bug

Strangely the problem occurs only on Linux. On windows with the same version of chrome it works fine.

Expected result

After paste there shouldnā€™t be an additional newline, and the note of the item should remain a note.

Actual result

There are an additional newline and a note became an item.

Environment

Which operating system are you using? Arch Linux, window manager: i3
Which browser are you using? Google Chrome 91.0.4472.77
If youā€™re using a desktop or mobile app, whatā€™s the version number of Dynalist? -
Are you using any third-party scripts for Dynalist, e.g. PowerPack? No

Looks like a bug. I am curious - what happens if you use shift-ctrl-V? (Or whatever ā€œPaste Unformattedā€/ā€œPaste and Match Formattingā€ is mapped to)

Could you try pasting into https://dynalist.io/clipboard and see what you get? Thatā€™ll help us understand what Chrome+Linux is doing different than other platforms.

Thanks for the quick response!

With shift-ctrl-v:
dynalist-copy-paste-bug-2

The result of the paste:

Paste Event
types: 2 types
type: text/plain
second item\u{10}note for item\u{10}
type: text/html
<meta http-equiv="content-type" content="text/html; charset=utf-8"><ul><li>second item<br>note for item</li></ul>
files: 0 files
items: 2 items
item: string (text/plain)
second item\u{10}note for item\u{10}
item: string (text/html)
<meta http-equiv="content-type" content="text/html; charset=utf-8"><ul><li>second item<br>note for item</li></ul>

Iā€™ve just updated Chrome to 91.0.4472.101 and it solved the problem. Pasting works fine.

1 Like