https://bugs.winehq.org/show_bug.cgi?id=41476
Bug ID: 41476 Summary: Regression - cannot paste in WinAuth Product: Wine Version: 1.9.20 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: spleefer90@gmail.com Distribution: ---
Last working version was 1.9.19, the version with which it broke is 1.9.20.
Steps to reproduce -
1) Set up WinAuth with at least one OTP key and put a password on the profile.
2) SSH with -C -X parameters to the machine (this step is probably not needed, I'll check when I'll have the time)
3) Copy a password(or anything really) to the clipboard
4) Launch WinAuth
5) Right click in the password field
The option is grayed out in the 1.9.20, in 1.9.19 it wasn't and would successfully paste in whatever was in the clipboard.
https://bugs.winehq.org/show_bug.cgi?id=41476
C0rn3j spleefer90@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Regression - cannot paste |Regression - cannot paste |in WinAuth |in WinAuth 3.5.1(32-bit)
https://bugs.winehq.org/show_bug.cgi?id=41476
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz@gmail.com
--- Comment #1 from fjfrackiewicz@gmail.com --- (In reply to C0rn3j from comment #0)
Last working version was 1.9.19, the version with which it broke is 1.9.20.
Steps to reproduce -
- Set up WinAuth with at least one OTP key and put a password on the
profile.
- SSH with -C -X parameters to the machine (this step is probably not
needed, I'll check when I'll have the time)
Copy a password(or anything really) to the clipboard
Launch WinAuth
Right click in the password field
The option is grayed out in the 1.9.20, in 1.9.19 it wasn't and would successfully paste in whatever was in the clipboard.
Hi,
Can you perform a regression test?
https://wiki.winehq.org/Regression_Testing
https://bugs.winehq.org/show_bug.cgi?id=41476
--- Comment #2 from C0rn3j spleefer90@gmail.com --- I'd really like to avoid setting up everything for regression testing.
The 1.9.20 changelog reads "Reimplementation of the clipboard API." if it helps anyhow.
https://bugs.winehq.org/show_bug.cgi?id=41476
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Regression - cannot paste |Cannot paste in WinAuth |in WinAuth 3.5.1(32-bit) |3.5.1 (32-bit) Keywords| |regression
--- Comment #3 from Austin English austinenglish@gmail.com --- Is there a public download available?
https://bugs.winehq.org/show_bug.cgi?id=41476
--- Comment #4 from fjfrackiewicz@gmail.com --- (In reply to Austin English from comment #3)
Is there a public download available?
I've found this:
https://bugs.winehq.org/show_bug.cgi?id=41476
--- Comment #5 from C0rn3j spleefer90@gmail.com --- (In reply to fjfrackiewicz from comment #4)
(In reply to Austin English from comment #3)
Is there a public download available?
I've found this:
Yup, that's the site
https://bugs.winehq.org/show_bug.cgi?id=41476
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |https://winauth.com/downloa | |d/
https://bugs.winehq.org/show_bug.cgi?id=41476
--- Comment #6 from C0rn3j spleefer90@gmail.com --- Oddly enough it doesn't seem to only happen when doing X forwarding through SSH, running it directly on the host PC it works just fine.
https://bugs.winehq.org/show_bug.cgi?id=41476
--- Comment #7 from C0rn3j spleefer90@gmail.com --- Does*
https://bugs.winehq.org/show_bug.cgi?id=41476
--- Comment #8 from C0rn3j spleefer90@gmail.com --- Created attachment 55905 --> https://bugs.winehq.org/attachment.cgi?id=55905 passworded .xml file
https://bugs.winehq.org/show_bug.cgi?id=41476
--- Comment #9 from C0rn3j spleefer90@gmail.com --- Easier reproduction steps:
Download the program: https://winauth.com/downloads/3.x/WinAuth-3.5.1-NET35.zip
Download the attachment(winauth.xml)
WINEPREFIX=~/.wineWinAuth WINEARCH=win32 winecfg
WINEPREFIX=~/.wineWinAuth WINEARCH=win32 winetricks dotnet35
Copy the executable(WinAuth 3.5.1 for dotnet 3.5) and the config winauth.xml file to .../drive_c/
WINEPREFIX=~/.wineWinAuth WINEARCH=win32 wine ~/.wineWinAuth/drive_c/WinAuth.exe
This should start WinAuth and you should be able to paste, but trying to use it with X-forwarding in SSH breaks
ssh -X username@localhost [command]
https://bugs.winehq.org/show_bug.cgi?id=41476
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #10 from winetest@luukku.com --- If you have mac a patch from bug 41949 could help.
https://bugs.winehq.org/show_bug.cgi?id=41476
--- Comment #11 from C0rn3j spleefer90@gmail.com --- (In reply to winetest from comment #10)
If you have mac a patch from bug 41949 could help.
Only Linux machines.
Also concerning steps listed for reproduction - I don't think it'll work when SSHing to own machine, it should be remote.
https://bugs.winehq.org/show_bug.cgi?id=41476
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexhenrie24@gmail.com Regression SHA1| |c69b4995c5bed5189a0742ed795 | |a7af778b56a1f Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #12 from Alex Henrie alexhenrie24@gmail.com --- I can reproduce this with `ssh localhost -X -C wine 'C:\WinAuth.exe'`. Strangely, when I run `ssh localhost -X -C wine notepad` I can paste just fine. The regression test said:
c69b4995c5bed5189a0742ed795a7af778b56a1f is the first bad commit commit c69b4995c5bed5189a0742ed795a7af778b56a1f Author: Alexandre Julliard julliard@winehq.org Date: Mon Sep 26 13:55:09 2016 +0900
user32: Retrieve available clipboard formats from the server.
Signed-off-by: Alexandre Julliard julliard@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=41476
--- Comment #13 from Austin English austinenglish@gmail.com --- Does using -Y instead of -X help?
https://bugs.winehq.org/show_bug.cgi?id=41476
--- Comment #14 from Alex Henrie alexhenrie24@gmail.com --- Weird, -Y instead of -X works perfectly. Why is that?
https://bugs.winehq.org/show_bug.cgi?id=41476
--- Comment #15 from Alexandre Julliard julliard@winehq.org --- It's technically not a clipboard issue, it's because in untrusted mode we can't add an icon to the system tray, and the explorer process doesn't handle that error correctly.
https://bugs.winehq.org/show_bug.cgi?id=41476
--- Comment #16 from Austin English austinenglish@gmail.com --- FYI, I've put an entry in the FAQ about it (feel free to improve/expand): https://wiki.winehq.org/FAQ#Input_doesn.27t_work_over_SSH
https://bugs.winehq.org/show_bug.cgi?id=41476
--- Comment #17 from C0rn3j spleefer90@gmail.com --- (In reply to Alexandre Julliard from comment #15)
It's technically not a clipboard issue, it's because in untrusted mode we can't add an icon to the system tray, and the explorer process doesn't handle that error correctly.
It is weird to me that it worked just fine in previous WINE versions then, was there some needed change that disabled this?
https://bugs.winehq.org/show_bug.cgi?id=41476
--- Comment #18 from Alexandre Julliard julliard@winehq.org --- (In reply to C0rn3j from comment #17)
(In reply to Alexandre Julliard from comment #15)
It's technically not a clipboard issue, it's because in untrusted mode we can't add an icon to the system tray, and the explorer process doesn't handle that error correctly.
It is weird to me that it worked just fine in previous WINE versions then, was there some needed change that disabled this?
In previous versions, the clipboard didn't go through the explorer process, so it still worked even when explorer crashed. Other things would still be broken though.
https://bugs.winehq.org/show_bug.cgi?id=41476
--- Comment #19 from Alex Henrie alexhenrie24@gmail.com --- Interesting. I just tested it and notepad.exe over SSH does not crash explorer.exe, but WinAuth.exe over SSH does crash explorer.exe. That explains why the clipboard works over SSH in Notepad but not in WinAuth.
https://bugs.winehq.org/show_bug.cgi?id=41476
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |adc349c38edd82902571fb71000 | |14241205b3731
--- Comment #20 from Alexandre Julliard julliard@winehq.org --- Fixed by adc349c38edd82902571fb7100014241205b3731.
https://bugs.winehq.org/show_bug.cgi?id=41476
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #21 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.0-rc3.
https://bugs.winehq.org/show_bug.cgi?id=41476
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.8.x
https://bugs.winehq.org/show_bug.cgi?id=41476
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---
--- Comment #22 from Michael Stefaniuc mstefani@redhat.com --- Removing 1.8.x milestone from bugs included in 1.8.7.