https://bugs.documentfoundation.org/show_bug.cgi?id=171370

            Bug ID: 171370
           Summary: keystroke readout by function keychar returns ascii
                    code instead of character since Version 25.8
           Product: LibreOffice
           Version: 25.8.0.0 alpha0+
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: [email protected]
          Reporter: [email protected]

Description:
readout keystroke of a text field, which has an actionlistener eg.
keyPressed/keyReleased. In the Libreoffcie Documentation, it is mentioned that
the function keychar returns the unicode character. Since Version 25.8.x,
keychar returns the ascii code of the character instead of the character
itself.

Steps to Reproduce:
1. add actionkeylistener to a text field, eg keyPressed/keyReleased
2. set a macro to readout any key stroke by the function keychar
3.

Actual Results:
keychar returns the ascii code instead of the character itself.
this behavior does not match the Documentation of the function keychar.

Expected Results:
keychar has to return the character, not the ascii code.


Reproducible: Always


User Profile Reset: No

Additional Info:
tried on at least 4 Computers and several Version of 25.8.x and 26.2.x.
Version 25.2.7.2 is the last Version, which keychar is working as it should.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to