https://bugs.winehq.org/show_bug.cgi?id=50536
Bug ID: 50536 Summary: Copy pasting from Notepad++ does not work consistently Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: abuy@protonmail.com Distribution: ---
Created attachment 69198 --> https://bugs.winehq.org/attachment.cgi?id=69198 Screenrecording displaying bug behaviour.
## Bug description When I copy things in notepad++ v7.9.2 on Ubuntu 20.04 it does not consistently paste them (neither in notepad++ nor in other programs).
## Bug reproduction
1. At 0:03 I select the characters bc in notepad using the `shift+->Shift+->Ctrl+c 1. the clipboard now contains the characters `bv` 1. At 0:04 I switch to Gedit with alt tab (shown as cAlt+<- ->) 1. At 0:06 I copy paste the copied `bc` from clipboard with: Ctrl+v 1. At 0:07 I do two new lines and paste again and do a new line with: <-| <-| Ctrl+V <-| 1. At 0:09 I swith back to notepad++ with Alt tab (shown as cAlt+<- ->) and go down one line with the arrow keys 1. At 00:10 I select the fg characters left of the cursor with shift left arrow twice: Shift+<-+Shift+<- 1. At 00:10 I copy the selected `fg` characters with Ctrl+c 1. At 00:12 I switch back to gedit with Alt+tab and paste the clipboard content with Ctrl+c[![Display of unexpected behavior, last paste pastes `bc` instead of `fg`.][1]][1]
[1]: https://i.stack.imgur.com/G2rh8.gif
## Expected behaviour I would expect the characters `fg` to be pasted, but instead it pasts the old clipboard content consisting of characters `bc`.
## Analysis I have not found any consistency in this bug, sometimes I just have to press Ctrl+c a few times to make sure that it actually copies it, and other times it just won't copy the selection (after 10 presses).
Also, the bug only shows in notepad++ on Wine on Ubuntu 20.04, I did not notice it in any other programs. I think this also rules out hardware/keyboard error, as that would (most likely) not limit itself to Notepad++ only.
## Question Is there some setting that I should change in Ubuntu, Wine or Notepad++, or is this a (un)known bug?