To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=112925





------- Additional comments from ya...@openoffice.org Tue Aug 10 12:58:51 +0000 
2010 -------
Hi
The problem can be reproduced in 2 ways.
Method 1.
 Here's a simple macro to illustrate the behaviour. It creates a key handler 
and 
waits for 10 secs to exit
The keyhandler idles counting for 99999 counts before returning hence not 
allowing OO to handle key immediately (simulating load).

Open a writer doc, run the macro and type 'abcdef' immediately . You will see 
that after a while the text output will be 'fedcba'.


===============================================================================
sub     keyreverse
oKeyHandler = 
CreateUnoListener("KeyReverseHandler_","com.sun.star.awt.XKeyHandler")
ThisComponent.GetCurrentController.addKeyHandler(oKeyHandler)
wait 10000
msgbox "done"
end sub


Function KeyReverseHandler_keyPressed(oKeyEvent as new 
com.sun.star.awt.KeyEvent) as boolean
                for i = 1 to 99999
                KeyHandler_keyPressed = False
                next i
End Function


Function KeyReverseHandler_keyReleased(oKeyEvent as new 
com.sun.star.awt.KeyEvent) As Boolean

        KeyHandler_keyReleased = False
End Function


Sub KeyReverseHandler_disposing
End Sub

==============================================================



Method 2. Install 'ShortKeys Lite' (a shortcut handling software) and create a 
shortcut for '-' on the num pad and assign to 'abcdef'. Open a writer doc and 
press '-' on the numpad. The output will be 'fedcba'.

Regards
yajva


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@sw.openoffice.org
For additional commands, e-mail: issues-h...@sw.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to