rxhanson / Rectangle

Move and resize windows on macOS with keyboard shortcuts and snap areas
https://rectangleapp.com
Other
25.91k stars 778 forks source link

Inconsistent behaviour for hotkeys in some applications #743

Closed ollimandoliini closed 2 years ago

ollimandoliini commented 2 years ago

For some applications pressing hotkeys such as option+shift+arrow results in weird and seemingly random behaviour. This has so far happened with Firefox and macOS Numbers. Here's a clip showing the behaviour where I'm pressing the option+shift+right arrow -key repeatedly.

https://user-images.githubusercontent.com/42473560/152123330-39b8fc4e-d4c6-41aa-b041-514f1d872733.mov

macOS version: 11.6.1 (20G224) Rectangle version: Version 0.32 (37) Logs if applicable (In Rectangle menu, hold option, "View Logging..."):

2022-02-02T10:57:08+02:00: Current frame is equal to new frame
2022-02-02T10:57:09+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:09+02:00: AX position proposed: (3904.0, 572.0), result: (3904.0, 572.0)
2022-02-02T10:57:09+02:00: AX sizing proposed: (896.0, 1120.0), result: (8
96.0, 1120.0)
2022-02-02T10:57:09+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:09+02:00: AX position proposed: (3008.0, 572.0), result: (3008.0, 572.0)
2022-02-02T10:57:09+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:09+02:00: leftHalf | display: (3008.0, 0.0, 1792.0, 1120.0), calculatedRect: (3904.0, 572.0, 896.0, 1120.0), resultRect: (1504.0, 25.0, 896.0, 1120.0), srcScreen: LEN T27p-10, destScreen: Built-in Retina Display, resultScreen: LEN T27p-10
2022-02-02T10:57:09+02:00: AX sizing proposed: (1504.0, 1667.0), result: (1504.0, 1667.0)
2022-02-02T10:57:09+02:00: AX position proposed: (0.0, 25.0), result: (0.0, 572.0)
2022-02-02T10:57:09+02:00: AX sizing proposed: (1504.0, 1667.0), result: (1504.0, 1646.0)
2022-02-02T10:57:10+02:00: leftHalf | display: (0.0, 0.0, 3008.0, 1667.0), calculatedRect: (0.0, 25.0, 1504.0, 1667.0), resultRect: (1447.0, 46.0, 1504.0, 1646.0), srcScreen: LEN T27p-10, destScreen: LEN T27p-10, resultScreen: LEN T27p-10
2022-02-02T10:57:10+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:10+02:00: AX position proposed: (3904.0, 572.0), result: (3904.0, 572.0)
2022-02-02T10:57:10+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:10+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:10+02:00: AX position proposed: (3008.0, 572.0), result: (3008.0, 572.0)
2022-02-02T10:57:10+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:10+02:00: leftHalf | display: (3008.0, 0.0, 1792.0, 1120.0), calculatedRect: (3904.0, 572.0, 896.0, 1120.0), resultRect: (1447.0, 46.0, 896.0, 1120.0), srcScreen: LEN T27p-10, destScreen: Built-in Retina Display, resultScreen: LEN T27p-10
2022-02-02T10:57:10+02:00: AX sizing proposed: (1504.0, 1667.0), result: (1504.0, 1646.0)
2022-02-02T10:57:10+02:00: AX position proposed: (0.0, 25.0), result: (0.0, 551.0)
2022-02-02T10:57:10+02:00: AX sizing proposed: (1504.0, 1667.0), result: (1504.0, 1646.0)
2022-02-02T10:57:10+02:00: leftHalf | display: (0.0, 0.0, 3008.0, 1667.0), calculatedRect: (0.0, 25.0, 1504.0, 1667.0), resultRect: (1447.0, 46.0, 1504.0, 1646.0), srcScreen: LEN T27p-10, destScreen: LEN T27p-10, resultScreen: LEN T27p-10
2022-02-02T10:57:11+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:11+02:00: AX position proposed: (3904.0, 572.0), result: (3904.0, 572.0)
2022-02-02T10:57:11+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:11+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:11+02:00: AX position proposed: (3008.0, 572.0), result: (3008.0, 572.0)
2022-02-02T10:57:11+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:11+02:00: leftHalf | display: (3008.0, 0.0, 1792.0, 1120.0), calculatedRect: (3904.0, 572.0, 896.0, 1120.0), resultRect: (1447.0, 46.0, 896.0, 1120.0), srcScreen: LEN T27p-10, destScreen: Built-in Retina Display, resultScreen: LEN T27p-10
2022-02-02T10:57:11+02:00: AX sizing proposed: (1504.0, 1667.0), result: (1504.0, 1646.0)
2022-02-02T10:57:11+02:00: AX position proposed: (0.0, 25.0), result: (0.0, 551.0)
2022-02-02T10:57:11+02:00: AX sizing proposed: (1504.0, 1667.0), result: (1504.0, 1646.0)
2022-02-02T10:57:11+02:00: leftHalf | display: (0.0, 0.0, 3008.0, 1667.0), calculatedRect: (0.0, 25.0, 1504.0, 1667.0), resultRect: (1447.0, 46.0, 1504.0, 1646.0), srcScreen: LEN T27p-10, destScreen: LEN T27p-10, resultScreen: LEN T27p-10
2022-02-02T10:57:12+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:12+02:00: AX position proposed: (3904.0, 572.0), result: (3904.0, 572.0)
2022-02-02T10:57:12+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:12+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:12+02:00: AX position proposed: (3008.0, 572.0), result: (3008.0, 572.0)
2022-02-02T10:57:12+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:12+02:00: leftHalf | display: (3008.0, 0.0, 1792.0, 1120.0), calculatedRect: (3904.0, 572.0, 896.0, 1120.0), resultRect: (1447.0, 46.0, 896.0, 1120.0), srcScreen: LEN T27p-10, destScreen: Built-in Retina Display, resultScreen: LEN T27p-10
2022-02-02T10:57:12+02:00: AX sizing proposed: (1504.0, 1667.0), result: (1504.0, 1646.0)
2022-02-02T10:57:12+02:00: AX position proposed: (0.0, 25.0), result: (0.0, 551.0)
2022-02-02T10:57:12+02:00: AX sizing proposed: (1504.0, 1667.0), result: (1504.0, 1646.0)
2022-02-02T10:57:12+02:00: leftHalf | display: (0.0, 0.0, 3008.0, 1667.0), calculatedRect: (0.0, 25.0, 1504.0, 1667.0), resultRect: (1447.0, 46.0, 1504.0, 1646.0), srcScreen: LEN T27p-10, destScreen: LEN T27p-10, resultScreen: LEN T27p-10
2022-02-02T10:57:12+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:12+02:00: AX position proposed: (3904.0, 572.0), result: (3904.0, 572.0)
2022-02-02T10:57:12+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:12+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:12+02:00: AX position proposed: (3008.0, 572.0), result: (3008.0, 572.0)
2022-02-02T10:57:12+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:12+02:00: leftHalf | display: (3008.0, 0.0, 1792.0, 1120.0), calculatedRect: (3904.0, 572.0, 896.0, 1120.0), resultRect: (1447.0, 46.0, 896.0, 1120.0), srcScreen: LEN T27p-10, destScreen: Built-in Retina Display, resultScreen: LEN T27p-10
2022-02-02T10:57:13+02:00: AX sizing proposed: (1504.0, 1667.0), result: (1504.0, 1646.0)
2022-02-02T10:57:13+02:00: AX position proposed: (0.0, 25.0), result: (0.0, 551.0)
2022-02-02T10:57:13+02:00: AX sizing proposed: (1504.0, 1667.0), result: (1504.0, 1646.0)
2022-02-02T10:57:13+02:00: leftHalf | display: (0.0, 0.0, 3008.0, 1667.0), calculatedRect: (0.0, 25.0, 1504.0, 1667.0), resultRect: (1447.0, 46.0, 1504.0, 1646.0), srcScreen: LEN T27p-10, destScreen: LEN T27p-10, resultScreen: LEN T27p-10
2022-02-02T10:57:13+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:13+02:00: AX position proposed: (3904.0, 572.0), result: (3904.0, 572.0)
2022-02-02T10:57:13+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:13+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:13+02:00: AX position proposed: (3008.0, 572.0), result: (3008.0, 572.0)
2022-02-02T10:57:13+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:13+02:00: leftHalf | display: (3008.0, 0.0, 1792.0, 1120.0), calculatedRect: (3904.0, 572.0, 896.0, 1120.0), resultRect: (1447.0, 46.0, 896.0, 1120.0), srcScreen: LEN T27p-10, destScreen: Built-in Retina Display, resultScreen: LEN T27p-10
2022-02-02T10:57:13+02:00: AX sizing proposed: (1504.0, 1667.0), result: (1504.0, 1646.0)
2022-02-02T10:57:13+02:00: AX position proposed: (0.0, 25.0), result: (0.0, 551.0)
2022-02-02T10:57:13+02:00: AX sizing proposed: (1504.0, 1667.0), result: (1504.0, 1646.0)
2022-02-02T10:57:13+02:00: leftHalf | display: (0.0, 0.0, 3008.0, 1667.0), calculatedRect: (0.0, 25.0, 1504.0, 1667.0), resultRect: (1447.0, 46.0, 1504.0, 1646.0), srcScreen: LEN T27p-10, destScreen: LEN T27p-10, resultScreen: LEN T27p-10
2022-02-02T10:57:14+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:14+02:00: AX position proposed: (3904.0, 572.0), result: (3904.0, 572.0)
2022-02-02T10:57:14+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:14+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:14+02:00: AX position proposed: (3008.0, 572.0), result: (3008.0, 572.0)
2022-02-02T10:57:14+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:14+02:00: leftHalf | display: (3008.0, 0.0, 1792.0, 1120.0), calculatedRect: (3904.0, 572.0, 896.0, 1120.0), resultRect: (1447.0, 46.0, 896.0, 1120.0), srcScreen: LEN T27p-10, destScreen: Built-in Retina Display, resultScreen: LEN T27p-10
2022-02-02T10:57:14+02:00: AX sizing proposed: (1504.0, 1667.0), result: (1504.0, 1646.0)
2022-02-02T10:57:14+02:00: AX position proposed: (0.0, 25.0), result: (0.0, 551.0)
2022-02-02T10:57:14+02:00: AX sizing proposed: (1504.0, 1667.0), result: (1504.0, 1646.0)
2022-02-02T10:57:14+02:00: leftHalf | display: (0.0, 0.0, 3008.0, 1667.0), calculatedRect: (0.0, 25.0, 1504.0, 1667.0), resultRect: (1447.0, 46.0, 1504.0, 1646.0), srcScreen: LEN T27p-10, destScreen: LEN T27p-10, resultScreen: LEN T27p-10
2022-02-02T10:57:14+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:14+02:00: AX position proposed: (3904.0, 572.0), result: (3904.0, 572.0)
2022-02-02T10:57:14+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:14+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:14+02:00: AX position proposed: (3008.0, 572.0), result: (3008.0, 572.0)
2022-02-02T10:57:14+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:14+02:00: leftHalf | display: (3008.0, 0.0, 1792.0, 1120.0), calculatedRect: (3904.0, 572.0, 896.0, 1120.0), resultRect: (1447.0, 46.0, 896.0, 1120.0), srcScreen: LEN T27p-10, destScreen: Built-in Retina Display, resultScreen: LEN T27p-10
2022-02-02T10:57:15+02:00: Unable to obtain window id
2022-02-02T10:57:15+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:15+02:00: AX position proposed: (3008.0, 572.0), result: (3008.0, 572.0)
2022-02-02T10:57:15+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:15+02:00: rightHalf | display: (3008.0, 0.0, 1792.0, 1120.0), calculatedRect: (3008.0, 572.0, 896.0, 1120.0), resultRect: (3008.0, 572.0, 896.0, 1120.0), srcScreen: LEN T27p-10, destScreen: Built-in Retina Display, resultScreen: Built-in Retina Display
2022-02-02T10:57:16+02:00: AX sizing proposed: (1504.0, 1667.0), result: (1504.0, 1120.0)
2022-02-02T10:57:16+02:00: AX position proposed: (1504.0, 25.0), result: (1504.0, 25.0)
2022-02-02T10:57:16+02:00: AX sizing proposed: (1504.0, 1667.0), result: (1504.0, 1120.0)
2022-02-02T10:57:16+02:00: AX sizing proposed: (1504.0, 1120.0), result: (1504.0, 1120.0)
2022-02-02T10:57:16+02:00: AX position proposed: (1504.0, 572.0), result: (1504.0, 572.0)
2022-02-02T10:57:16+02:00: AX sizing proposed: (1504.0, 1120.0), result: (1504.0, 1120.0)
2022-02-02T10:57:16+02:00: leftHalf | display: (0.0, 0.0, 3008.0, 1667.0), calculatedRect: (1504.0, 25.0, 1504.0, 1667.0), resultRect: (3008.0, 572.0, 1504.0, 1120.0), srcScreen: Built-in Retina Display, destScreen: LEN T27p-10, resultScreen: Built-in Retina Display
2022-02-02T10:57:16+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:16+02:00: AX position proposed: (3008.0, 572.0), result: (3008.0, 572.0)
2022-02-02T10:57:16+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:16+02:00: leftHalf | display: (3008.0, 0.0, 1792.0, 1120.0), calculatedRect: (3008.0, 572.0, 896.0, 1120.0), resultRect: (3008.0, 572.0, 896.0, 1120.0), srcScreen: Built-in Retina Display, destScreen: Built-in Retina Display, resultScreen: Built-in Retina Display
2022-02-02T10:57:16+02:00: AX sizing proposed: (1504.0, 1667.0), result: (1504.0, 1120.0)
2022-02-02T10:57:16+02:00: AX position proposed: (1504.0, 25.0), result: (1504.0, 25.0)
2022-02-02T10:57:16+02:00: AX sizing proposed: (1504.0, 1667.0), result: (1504.0, 1120.0)
2022-02-02T10:57:16+02:00: AX sizing proposed: (1504.0, 1120.0), result: (1504.0, 1120.0)
2022-02-02T10:57:16+02:00: AX position proposed: (1504.0, 572.0), result: (1504.0, 572.0)
2022-02-02T10:57:16+02:00: AX sizing proposed: (1504.0, 1120.0), result: (1504.0, 1120.0)
2022-02-02T10:57:16+02:00: leftHalf | display: (0.0, 0.0, 3008.0, 1667.0), calculatedRect: (1504.0, 25.0, 1504.0, 1667.0), resultRect: (3008.0, 572.0, 1504.0, 1120.0), srcScreen: Built-in Retina Display, destScreen: LEN T27p-10, resultScreen: Built-in Retina Display
2022-02-02T10:57:22+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:22+02:00: AX position proposed: (3008.0, 572.0), result: (3008.0, 572.0)
2022-02-02T10:57:22+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:22+02:00: leftHalf | display: (3008.0, 0.0, 1792.0, 1120.0), calculatedRect: (3008.0, 572.0, 896.0, 1120.0), resultRect: (3008.0, 572.0, 896.0, 1120.0), srcScreen: Built-in Retina Display, destScreen: Built-in Retina Display, resultScreen: Built-in Retina Display
2022-02-02T10:57:24+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:24+02:00: AX position proposed: (3904.0, 572.0), result: (3904.0, 572.0)
2022-02-02T10:57:24+02:00: AX sizing proposed: (896.0, 1120.0), result: (896.0, 1120.0)
2022-02-02T10:57:24+02:00: rightHalf | display: (3008.0, 0.0, 1792.0, 1120.0), calculatedRect: (3904.0, 572.0, 896.0, 1120.0), resultRect: (3904.0, 572.0, 896.0, 1120.0), srcScreen: Built-in Retina Display, destScreen: Built-in Retina Display, resultScreen: Built-in Retina Display
2022-02-02T10:57:25+02:00: AX sizing proposed: (1504.0, 1667.0), result: (896.0, 1120.0)
2022-02-02T10:57:25+02:00: AX position proposed: (0.0, 25.0), result: (0.0, 25.0)
2022-02-02T10:57:25+02:00: AX sizing proposed: (1504.0, 1667.0), result: (896.0, 1120.0)
2022-02-02T10:57:25+02:00: rightHalf | display: (0.0, 0.0, 3008.0, 1667.0), calculatedRect: (0.0, 25.0, 1504.0, 1667.0), resultRect: (0.0, 25.0, 896.0, 1120.0), srcScreen: Built-in Retina Display, destScreen: LEN T27p-10, resultScreen: LEN T27p-10
2022-02-02T10:57:25+02:00: AX sizing proposed: (1504.0, 1667.0), result: (1504.0, 1667.0)
2022-02-02T10:57:25+02:00: AX position proposed: (1504.0, 25.0), result: (1504.0, 572.0)
2022-02-02T10:57:25+02:00: AX sizing proposed: (1504.0, 1667.0), result: (1504.0, 1667.0)
2022-02-02T10:57:25+02:00: rightHalf | display: (0.0, 0.0, 3008.0, 1667.0), calculatedRect: (1504.0, 25.0, 1504.0, 1667.0), resultRect: (-0.0, 25.0, 1504.0, 1667.0), srcScreen: LEN T27p-10, destScreen: LEN T27p-10, resultScreen: LEN T27p-10
rxhanson commented 2 years ago

Update to the latest version of Rectangle.

I think you're looking at this old bug: https://github.com/rxhanson/Rectangle/issues/165.

rxhanson commented 2 years ago

Closing this one out since I haven't heard back. Feel free to comment with any updates.