FS#68385 - Atom 1.52.0-1 - copy and cut does not work on second and subsequent use

Attached to Project: Community Packages
Opened by Paul Sorensen (bugssoren) - Thursday, 22 October 2020, 19:53 GMT
Last edited by Morten Linderud (Foxboron) - Thursday, 03 December 2020, 19:04 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Nicola Squartini (tensor5)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Copy and cut fail on repeated use. Works first usage, but not on second and subsequent usage.

Additional info:
* Atom 1.52.0-1 with Electron 6.1.12-1
* Failed on update. Did complete uninstall and fresh reinstall:
* pacman -R atom
* pacman -Qtdq | pacman -Rns -
* rm -rf .atom on directory with per user configuration
* pacman -S atom


Steps to reproduce:
1. Start with a new file
2. Create line of "a" characters
3. Create line of "b" characters
4. Select line of "a"'s
5. Copy either by menu, ctrl-c or ctrl-ins
6. Paste on a new line

You will see the a's pasted correctly.

7. Select line of "b" characters.
8. Paste on a new line

You will see the a's copied incorrectly - should be "b"'s.

9. Repeat but instead using cut by menu, ctrl-x, or shift-delete.
Same results as with copy.

Workaround:
Do a copy twice then paste. That will work correctly every time for copy and paste.
Do a copy and a cut then paste. That too will work correctly every time for cut and paste.

Summary:
First copy or cut will work correctly. After first usage, you must do a double copy or copy + cut to work

This task depends upon

Closed by  Morten Linderud (Foxboron)
Thursday, 03 December 2020, 19:04 GMT
Reason for closing:  Fixed
Comment by Paul Sorensen (bugssoren) - Monday, 02 November 2020, 20:30 GMT
This appears to be an upstream issue in Chrome. Version 86.0.4240.111 of Chrome exhibits the same symptoms of inconsistent copy and paste. Same test procedure confirms that in when copy and pasting in online apps.
Comment by Morten Linderud (Foxboron) - Monday, 16 November 2020, 17:36 GMT
Is this still an issue?
Comment by Paul Sorensen (bugssoren) - Tuesday, 17 November 2020, 17:38 GMT
Confirmed issue still exists after today's updates.
However as in previous comment I observed the issue also exists in Chromium. So I believe the problem is upstream. Maybe with the Chromium/KDE desktop integrations. I see similar issue when copying from Chromium and pasting into Kate. But no problem with copy/paste within Kate itself. So the issue seems to be the Chromium clipboard integration. Also note I am using Wayland-KDE session which may also be part of the issue. Thanks
Comment by Nicola Squartini (tensor5) - Sunday, 22 November 2020, 03:44 GMT
So, is it on KDE only? I'm on Gnome and it work correctly.
Comment by Paul Sorensen (bugssoren) - Sunday, 22 November 2020, 10:40 GMT
I am using KDE with Wayland. There are currently other things related to KDE that also seem to not be working. So this maybe upstream in KDE and only affects Atom and Chromium on KDE. I will try to install Gnome to verify this.
Comment by Paul Sorensen (bugssoren) - Thursday, 03 December 2020, 18:30 GMT
Over the past several days there were many updates to KDE and today an update for Chrome. This has now fixed the upstream issues that were causing copy and cut in Atom to fail. Thus this bug can be closed. Thank you.

Loading...