Hi, On Fri, May 07, 2010 at 11:45:02PM -0800, rogerx@sdf.org wrote:
I posted to the mailing list sometime ago concerning a bug with Dillo text entry form. After some time, the text entry box in google search box (or on other websites) would only allow certain keys to be typed (ie. s and g, most other keys simply ignored when typed in text entry boxes).
I can reproduce this now, however as you say, I think it just looses focus, so here no keys work at all until I refocus the text input.
I've finally resolved this, or hacked around it to live with it better.
Did you fix some code, or do you just refocus manually?
The bug occurs when a user of the DWM desktop moves Dillo from one virtual window to another virtual window using "Meta key + right mouse click" and the "right mouse click + virtual window number" to move a window to another virtual desktop within DWM.
Once moved to the other window, the text entry box will exhibit the above keyboard entry anomly. Basically, I think it's just loosing focus. The user can get back regular keyboard entry by using "Meta Key + Tab" to toggle focus from the previous desktop and then again to regain focus of the virtual desktop containing Dillo, and should then be able to type normally again. All keys should work.
Again, I think Dillo is just losing focus of the text entry box.. or something similar.
As other fltk2 apps don't show this behaviour we should be able to fix that in dillo, but I don't yet understand fully what is going on. Cheers, Johannes PS: Good to see that there is other dwm + dillo users out there :-)