Archived issue #0025009

Draw Harness, ViewerTest - Incorrect handling of comma and period keys pressed in a 3D view

Open CASCADEOCCT:DRAWclosed2 public notes

Search issues

Description

Under Windows, ViewerWindowProc() function in ViewerTest_ViewerCommands.cxx tries to process almost all keyboard shortcuts passed through wParam argument of WM_KEYDOWN message as if they are true human-readable string constants.
However, this is not the case for comma (,) and period (.) keys: wParam contains VK_OEM_COMMA and VK_OEM_PERIOD, respectively.

Thus pressing comma and period keys in a test 3D view has unexpected effect, and this should be corrected (virtual key codes should be translated to ASCII characters before further processing, or virtual key codes should be used for all keyboard shortcuts).

Public activity

2 archived notes

Participants are labeled by their role within this record.

01Commenter 2
The work-in-progress patch is currently located in branch CR24394_1.
02Commenter 2
Dear Commenter 1,

please switch issue to verified state - the problem has been solved within patch for #0025436.