-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Dead keys do not work #350
Comments
What exactly happens when they're pressed? They're just ignored? |
Yep, nothing happens Edit: raw key event keyup (key: 0, char: 0, which: 0) |
I'll have a closer look at this tomorrow, but it looks like this might be tricky to do anything about. Firefox simply isn't giving us any useful information on dead key presses. Of the properties If I press Unless the browser has come up with some other way to access this information, this looks like a lost cause. It is possible that we are supposed to use the new-fangled W3C also mentions I'll dig a bit more in this, but so far, it's not encouraging. |
@jalfd noVNC is probably one of the heaviest users of this sort functionality. We should definitely file bugs with the vendors when we run into this sort of thing. They are probably willing and happy to fix it (although maybe not always prompt), but they may just not know about it or may not realize that it impacts a real-world webapp. And name drop noVNC when you do (and refer to tests/input.html so that there is an easy way for them to test). |
Is this still a problem? Can we close this? |
This can still be reproduced in the most recent Firefox version. Until they fix it, there's not much we can do. (Short of hardcoding mappings from combinations of dead keys + character to the resulting composite or accented character, which would be really nasty.) |
As a workaround, you can disable dead keys on your client. Doesn't help in a multi-user environment but works for me. (Firefox on Xenial and noVNC on Proxmox 4.1) |
Doesn't #21 fix this bug too? |
Unfortunately no, because: a) The browser might not be able to provide physical keys in all cases |
I don't think (b) is a problem nowadays - recent VNC servers have been supporting this extension for 5+ years, giving the original QEMU VNC extension was developed in 2010 or so. But I agree with (a) and (c). I think this bug will have to wait for the solution of the Firefox bug mentioned a few comments above. |
I don't believe any of the RealVNC derived servers supports this, i.e. TigerVNC, TightVNC, TurboVNC, or the new proprietary RealVNC. So I'd say b) is very much an issue. Is there any server besides QEMU and libvncserver that supports it? |
You're right. Disregard my comment about (b). |
I don't believe any of the RealVNC derived servers supports this, i.e.
TigerVNC, TightVNC, TurboVNC, or the new proprietary RealVNC. So I'd
say b) is very much an issue. Is there any server besides QEMU and
libvncserver that supports it?
Servers based on gtk-vnc library supports this extension.
|
This is broken in Chrome as well, and likely in all browsers: https://bugs.chromium.org/p/chromium/issues/detail?id=1135952 |
Also reported to the standard folks: |
I think it not , I can't write an é (é) and all others accented keys in a novnc session novnc-1.3.0 |
but for me the question is how I can type one accentuated characters ? , I found one workaround which is type the accentuated character in clipboard of novnc . Question can we map characters with on combination of keys ? characters like é ã ó ? |
I found for alt-gr + 7 , 8 ,9 or 0 is another problem , is just when I use x11vnc instead vnc-server and repeting the question how you , type characters that need one dead key ? |
have we anyway to have composed keys like ~ + a ? BTW I found x11vnc with -nomodtweak fix the altgr problem mention in my previous comment |
To summarize the problem, how I understand it so far:
I see 3 Possible Solution directions. Solution 1, guess dead key from
|
Hi, many thanks , on solution 1, is to apply on server ? |
@sergiomb2 the code fore solution 1 it bit of prove of concept.
But you could try it as for your noVNC server |
With Firefox I got the console logs of the events and I managed to put all my dead keys working perfectly . |
@sergiomb2 might be better to continue this conversation here: #1907 |
There is also the fourth option, using the QEMU raw keyboard event extension. It is supported by various servers. It would move the keyboard layout handling to the server instead of the client. And dead keys work fine under that model, as far as I know. |
True, if I understand the code correctly, this will send I did my testing mostly with TigerVNC, there it tried to use QEMU extension, but it did not work. I have to look into that, It might help. |
No dead keys work in Firefox on Linux. By dead keys I mean ~"^`'
Tested on CentOS 6 and Fedora 18 with both Firefox 26 and 27.
It does work in other browsers such as Google Chrome and there is no problem on Windows (tested with Win8.1).
The text was updated successfully, but these errors were encountered: