LiveCode 7.0.3
My laptop keyboard functions normally, inside Windows and LiveCode, until I load a stack with revBrowserOpenCef, then it drops keystrokes. If I type normally it may recognise approximately 3 to 6 keystrokes, then it hangs, dropping any keystrokes I type after that point. It will then accept more keystrokes and drop keystrokes again.
It doesn't matter where in the IDE I type, whether searching the dictionary or typing code in the card script, the same is true. As soon as I switch to another app, like Notepad, my keyboard works normally again. Using the task manager, I see that LiveCode uses 0% CPU and 65MB of RAM.
If I reopen LiveCode with another stack, which does not include the revBrowserOpenCef function, the keyboard works normally.
Here is the only code in the stack, which is the card script:
Code: Select all
local lBrowserID
on openCard
lock messages
put revBrowserOpenCef (the windowId of this stack) into lBrowserID
unlock messages
if lBrowserID is an integer then
revBrowserSet lBrowserID, "rect", the rect of graphic "browserBackground"
revBrowserSet lBrowserID, "url", "http://www.google.com"
else
answer "Failed to open browser"
end if
end openCard
Update 1: The line that causes the problem is:
Code: Select all
put revBrowserOpenCef (the windowId of this stack) into lBrowserID
Update 2: Switching off strict compilation mode did not help.