plover
plover copied to clipboard
Unexpected compound modifier behavior
I'm not certain this is a bug, (it could be intended behavior) but it's unexpected, and I'm curious why it occurs.
When pressing the following key combinations with plover output disabled: alt-PrtSc take a screenshot of the current window ctrl-alt-PrtSc does the same, presumably because Windows ignores the unnecessary ctrl
When making a plover dictionary entry for these bindings, the latter doesn't work. That is: {#Alt_L(Print)} takes a screenshot of the current window {#Control_L(Alt_L(Print))} takes a screenshot of the entire screen, same as {#Print} on its own
The expected behavior would be for the last case to behave exactly the same as ctrl-alt-PrtSc and take a screenshot of the current window.
Operating system and hardware
- OS: Windows 10 Home
- Plover: 4.0.0.dev10
- Keyboard: Kumara Redragon K552
You're using the exact same side for each modifier? Same order for pressing the keys?
You're using the exact same side for each modifier? Same order for pressing the keys?
yes and yes
Moreover, the plover-disabled manual combo works irrespective of order (provided the PrtSc is last).
And the manual ctrl-alt-PrtSc behavior described is the behavior whether plover is open or not, and whether plover is disabled or enabled.
Plover has some known issues with Alt modifiers in Windows, specifically with OS-level shortcuts like Alt-Tab. Poster child of a Heisenbug, that one...debugging an issue with focus switch is rather difficult with debuggers that steal focus on breakpoints.
Alt+tab issue may be https://github.com/openstenoproject/plover/issues/1154 . Try merging the related pull request to see if this issue is also fixed.
If it still doesn't work try applying https://github.com/openstenoproject/plover/issues/1410#issuecomment-932761870 too.