-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
5.4.2
-
None
-
mac os 10.10, Qt5.4
the cap-lock key generates different events on windows and mac.
on windows, clicking (press first and then release) cap-lock will generate keyPress and keyRelease events.
on mac, doing the same will generate only keyPress. unless you press the cap-lock key again, you will not see keyRelease.
so on mac, clicking cap-lock will only generate one event. the event is either a keypress or a keyrelease. this behavior is different from other keys, and also different from the cap-lock behavior on windows.
the attachment is a simple program demonstrating the issue. try to compile and run it on both windows and mac, just click cap-lock and observe the difference in debugger outputs.