-
-
Notifications
You must be signed in to change notification settings - Fork 423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C-v in text fields hangs WebKitGTK on GNU/Linux #593
Comments
@khinsen @jellelicht Can you reproduce this? |
No. Both C-v and my simulation-key binding |
C-v works fine for me as well. |
Wow, I'm having a really weird bug here then...
|
Shall we close this issue then, since it is a problem with your own machine? |
If the problem exists, it's not solved :p
I can reproduce on two different systems, this needs more investigation.
|
C-v crashes NEXT. This is reproduced from my side. Subprocess #<UIOP/LAUNCH-PROGRAM::PROCESS-INFO {100841B803}> Restarts: Backtrace: |
This error seems to be different from mine: the `xclip` process failed
somehow.
Can you reproduce this bug reliably?
Is `xclip` on your system?
What happens if you run `xclip -out -selection clipboard; echo $?` in a shell?
|
Pierre, what happens for you when you manually invoke the javascript to paste into a textfield, does Next break for you then? What if you remove the clipboard from the equation? |
I've investigated this:
- Since I use VI-bindings, C-v was not bound and merely passed to the
engine.
- C-v crashes cl-webkit. I can reproduce it on cl-webkit's demo.
- I've just pushed a workaround
(20486ff) so it should make default
Next usable.
@jmercouris @jellelicht @khinsen
If you find the time, could you report the following:
- Checkout Next _before_ 20486ff.
- Compile it and start it.
- Click on an HTML text field.
- Turn on VI-INSERT-MODE.
- Press C-v.
Then report:
- Did it hang?
- Which version of WebKitGTK are you running, and is it from Guix?
- Did you compile Next with the provided guix.scm or using the Quicklisp libraries?
- Which commit of cl-webkit did you compile against?
Thanks!
|
Test with commit
|
@khinsen: Thanks for the report, it was very helpful! |
I can confirm Konrad's report (using guix 58363ee50096fd02743ff6d62ee1125fc440625f, all the rest the same)
|
I've updated most Common Lisp Guix packages: now Next should be using approximately the same Common Lisp library versions when built with Guix or Quicklisp. That said, I could not reproduce the issue with Guix.
|
At last, this is worked around in 6c258c5! |
This still seems to be an issue, using the 2-pre-2 guix pack tarball on nixos. It happens when xclip returns with an error, which happens when a password manager e.g. keepassx deletes the clipboard contents:
Then, when trying to paste nyxt hangs a few seconds afterwards. |
I can't reproduce and I wonder if the password thing is not a red
herring. Your problem (especially the delay) reminds me of the CFFI
issue that's mentioned in the beginning of this thread.
With which binding are you pasting? C-v? Maybe your "C-v" key is not
properly bound.
Which bindings are you using? VI, Emacs, CUA?
Can you reproduce without init file?
|
upon further investigation i found out that:
|
Oh my, I had been looking at the wrong spot the whole time! :p
Thank you so much for the backtrace, I think I've figured out where the
hang came from.
Can you test master (adafea1) to
confirm it works now?
|
WebKitGTK 2.26.4.
The text was updated successfully, but these errors were encountered: