Qt - TCalendar does not receive LM_KEYDOWN and LM_KEYUP when pressing arrow keys (up, down, left, right).
Original Reporter info from Mantis: zoran
-
Reporter name: Zoran Vučenović
Original Reporter info from Mantis: zoran
- Reporter name: Zoran Vučenović
Description:
In Qt, TCalendar does not receive key messages when a cursor (arrow - left, right, etc.) key gets pressed.
Unlike Qt, Gtk2 and Win32/64 do receive these.
I'm attaching a test application.
Steps to reproduce:
Take a look at attached application. Compile with Qt widgetset and start.
The application shows that:
- WindowProc in TCalendar never receives LM_KEYDOWN and LM_KEYUP when an arrow key is pressed.
- as a consequence, events OnKeyDown and OnKeyUp do not work with arrow keys.
When compiled with Gtk2, everything works, as well as in Windows (win widgetset).
Tested in Linux Mint 18.3 64-bit Xfce (Qt4 and Gtk2 ws) and Windows 8 (win ws).
Mantis conversion info:
- Mantis ID: 34752
- OS: Linux Mint
- OS Build: 18.3
- Build: 59892
- Platform: x86-64
- Version: 2.1 (SVN)
- Fixed in revision: 59894 (#8e26a22f)