https://bugs.winehq.org/show_bug.cgi?id=41393
Bug ID: 41393 Summary: Unable to use CTRL-V shortcut to paste in some applications Product: Wine Version: 1.9.19 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: michelesr@autistici.org Distribution: ---
This bug is not present in 1.9.18 and older versions of Wine.
How to reproduce: open the application, then try to press CTRL-V key, nothing happens.
Verified in "World of Warcraft" and "Warcraft III" games.
OS: Arch Linux, Linux 4.7.4-1 x86_64
https://bugs.winehq.org/show_bug.cgi?id=41393
--- Comment #1 from michelesr@autistici.org --- Seems like that the text can't be pasted when it's copied in X clipboard using `xclip -in -selection clipboard` command.
However, that used to work in previous versions of Wine (verified it by downgrading to 1.9.18)
Text copied from other programs can be pasted.
https://bugs.winehq.org/show_bug.cgi?id=41393
michelesr@autistici.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Unable to use CTRL-V |CTRL-V doesn't work when |shortcut to paste in some |text copied in X clipboard |applications |(e.g. using xclip)
--- Comment #2 from michelesr@autistici.org --- Also copying with vim using "+ register produces the same effects, that make me think that is something related to the clipboard used.
https://bugs.winehq.org/show_bug.cgi?id=41393
michelesr@autistici.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|CTRL-V doesn't work when |CTRL-V paste doesn't work |text copied in X clipboard |with text copied in X |(e.g. using xclip) |clipboard (e.g. using | |xclip)
https://bugs.winehq.org/show_bug.cgi?id=41393
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz@gmail.com
--- Comment #3 from fjfrackiewicz@gmail.com --- (In reply to michelesr from comment #2)
Also copying with vim using "+ register produces the same effects, that make me think that is something related to the clipboard used.
Could you try the latest git version of Wine to see if the problem persists?
Only reason I ask is because I've seen a couple of patches related to the clipboard being implemented in the git version of Wine.
You can view the latest committed patches here:
http://source.winehq.org/git/wine.git/shortlog
https://bugs.winehq.org/show_bug.cgi?id=41393
--- Comment #4 from michelesr@autistici.org --- (In reply to fjfrackiewicz from comment #3)
Could you try the latest git version of Wine to see if the problem persists?
Tried with version "wine-1.9.19-95-g61e6e8b", the bug is still present.
https://bugs.winehq.org/show_bug.cgi?id=41393
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #5 from winetest@luukku.com --- Can you do regression testing? It would be really fast process now, since the regression is so new. It gets slower to do as time goes by.
It would make a lot easier to fix this bug.
https://bugs.winehq.org/show_bug.cgi?id=41393
michelesr@autistici.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |761d244970dd189b1a639121e66 | |8a5089fd0112d
--- Comment #6 from michelesr@autistici.org --- The bug is introduced by this commit:
https://source.winehq.org/git/wine.git/commitdiff/761d244970dd189b1a639121e6...
https://bugs.winehq.org/show_bug.cgi?id=41393
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |julliard@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=41393
Robert Walker bob.mt.wya@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bob.mt.wya@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=41393
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=41393
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Is this still broken? Can you reproduce it by pasting in notepad?
https://bugs.winehq.org/show_bug.cgi?id=41393
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #8 from joaopa jeremielapuree@yahoo.fr --- No news from the OP since 4 years. Anyway, bug is probably fixed. Can an administrator close this bug as ABANDONED?
https://bugs.winehq.org/show_bug.cgi?id=41393
minion minion.procyk@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |minion.procyk@gmail.com
--- Comment #9 from minion minion.procyk@gmail.com --- I verified in wine-5.11 copy paste using ctrl+v works in notepad. also verified ctrl+v works in world of warcraft as per ops complaint.
https://bugs.winehq.org/show_bug.cgi?id=41393
--- Comment #10 from minion minion.procyk@gmail.com --- ah, i re-read the OP and verified this is still a bug.
install xclip
$ uptime | xclip
wine notepad
ctrl+v does not paste the contents (or middle click)
however in any other x window ctrl+v will paste the output of uptime
https://bugs.winehq.org/show_bug.cgi?id=41393
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=41393
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- xclip only sets the primary selection by default. You'd need to use "xclip -selection clipboard", or set the UsePrimarySelection option under HKCU\Software\Wine\X11 Driver.
AFAICT everything works as expected.
https://bugs.winehq.org/show_bug.cgi?id=41393
--- Comment #12 from Esme Povirk madewokherd@gmail.com --- The default behavior of Ctrl+V in Wine makes sense and matches native Linux applications. The primary selection is not used, even if there is no clipboard selection. It seems the results I'm getting from Linux programs do not match minion's results. I tested in xfce4-terminal and gvim.
Something must have changed, or a regression test wouldn't have been possible, but without help from the OP, I don't think we can figure this out. Whatever it was has likely been fixed since then. I agree this should be resolved as ABANDONED.
https://bugs.winehq.org/show_bug.cgi?id=41393
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |ABANDONED
--- Comment #13 from Alexandre Julliard julliard@winehq.org --- Resolving then. Feel free to reopen if you can reproduce the original problem.
https://bugs.winehq.org/show_bug.cgi?id=41393
--- Comment #14 from michelesr@autistici.org --- I have completely forgotten about this. Apologies. I'm unable to reproduce the issue right now so I think it must have been fixed somehow, even though now I'm using Wine on Wayland (via XWayland).
https://bugs.winehq.org/show_bug.cgi?id=41393
--- Comment #15 from michelesr@autistici.org --- I tried using Xorg with i3 WM to reproduce the issue.
After copying the text with:
$ xclip -in -selection clipboard <<<"foobar"
I was able to paste it correctly in both notepad.exe and the games mentioned in the original post.
$ wine --version wine-5.22
https://bugs.winehq.org/show_bug.cgi?id=41393
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #16 from Austin English austinenglish@gmail.com --- Closing.
https://bugs.winehq.org/show_bug.cgi?id=41393
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #18 from Ken Sharp imwellcushtymelike@gmail.com --- Closing bugs marked as abandoned