Text selection is reset when copied to clipboard
Steps to reproduce
- Open a GTK application with a text editing capability. I use Meld or GEdit.
- Type a few lines of text.
- Select some text with mouse or keyboard.
- Copy the text to clipboard by pressing Ctrl+Ins or Ctrl+C.
Current behavior
The selection gets reset after the text is copied.
Expected outcome
The selection should persist.
Version information
- Operating System: Kubuntu 20.10
- KDE Plasma Version: 5.19.5
- KDE Frameworks Version: 5.74.0
- Qt Version: 5.14.2
- GTK 2.0: 2.24.32
- GTK 3.0: 3.24.23
- Meld: 3.20.2
- GEdit: 3.38.0
- Kernel Version: 5.8.0-44-lowlatency
- OS Type: 64-bit
- Processors: 8 × Intel® Core™ i7-2600K CPU @ 3.40GHz
- Memory: 15.6 GiB of RAM
- Graphics Processor: GeForce RTX 2080 Ti/PCIe/SSE2
All software installed from Kubuntu .deb packages.
Additional information
The issue was originally reported in KDE: https://bugs.kde.org/show_bug.cgi?id=420758
Edited by Andrey Semashev