rxhanson / Rectangle

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

Next/Previous Display doesn't work on MacOS 13.1 for VLC (and maybe others) #1041

Open DblK opened 1 year ago

DblK commented 1 year ago

For the VLC application, it can go from external display to internal but not the other way around. However, it's working nice with Chrome, Robo3T, Cyberduck, ...

macOS version: 13.1 Rectangle version: 0.64 (70) Logs if applicable :

2023-01-12T12:50:36+01:00: AX sizing proposed: (1728.0, 923.0), result: (1728.0, 923.0)
2023-01-12T12:50:36+01:00: AX position proposed: (0.0, 73.0), result: (0.0, -28.0)
2023-01-12T12:50:36+01:00: AX sizing proposed: (1728.0, 923.0), result: (1728.0, 923.0)
2023-01-12T12:50:36+01:00: previousDisplay | display: (0.0, 85.0, 1728.0, 994.0), calculatedRect: (0.0, 73.0, 1728.0, 923.0), resultRect: (0.0, 38.0, 1728.0, 923.0), srcScreen: DELL U2520D, destScreen: Built-in Retina Display, resultScreen: Built-in Retina Display
2023-01-12T12:50:38+01:00: AX sizing proposed: (1728.0, 923.0), result: (1728.0, 923.0)
2023-01-12T12:50:38+01:00: AX position proposed: (674.0, -1169.0), result: (674.0, 38.0)
2023-01-12T12:50:38+01:00: AX sizing proposed: (1728.0, 923.0), result: (1728.0, 923.0)
2023-01-12T12:50:38+01:00: AX sizing proposed: (1728.0, 923.0), result: (1728.0, 923.0)
2023-01-12T12:50:38+01:00: AX position proposed: (674.0, -923.0), result: (674.0, 38.0)
2023-01-12T12:50:38+01:00: AX sizing proposed: (1728.0, 923.0), result: (1728.0, 923.0)
2023-01-12T12:50:38+01:00: nextDisplay | display: (258.0, 1117.0, 2560.0, 1415.0), calculatedRect: (674.0, -1169.0, 1728.0, 923.0), resultRect: (674.0, 38.0, 1728.0, 923.0), srcScreen: Built-in Retina Display, destScreen: DELL U2520D, resultScreen: Built-in Retina Display
2023-01-12T12:50:41+01:00: AX sizing proposed: (1728.0, 923.0), result: (1728.0, 923.0)
2023-01-12T12:50:41+01:00: AX position proposed: (674.0, -1169.0), result: (674.0, 38.0)
2023-01-12T12:50:41+01:00: AX sizing proposed: (1728.0, 923.0), result: (1728.0, 923.0)
2023-01-12T12:50:41+01:00: AX sizing proposed: (1728.0, 923.0), result: (1728.0, 923.0)
2023-01-12T12:50:41+01:00: AX position proposed: (674.0, -923.0), result: (674.0, 38.0)
2023-01-12T12:50:41+01:00: AX sizing proposed: (1728.0, 923.0), result: (1728.0, 923.0)
2023-01-12T12:50:41+01:00: previousDisplay | display: (258.0, 1117.0, 2560.0, 1415.0), calculatedRect: (674.0, -1169.0, 1728.0, 923.0), resultRect: (674.0, 38.0, 1728.0, 923.0), srcScreen: Built-in Retina Display, destScreen: DELL U2520D, resultScreen: Built-in Retina Display
2023-01-12T12:50:41+01:00: AX sizing proposed: (1728.0, 923.0), result: (1728.0, 923.0)
2023-01-12T12:50:41+01:00: AX position proposed: (674.0, -1169.0), result: (674.0, 38.0)
2023-01-12T12:50:41+01:00: AX sizing proposed: (1728.0, 923.0), result: (1728.0, 923.0)
2023-01-12T12:50:41+01:00: AX sizing proposed: (1728.0, 923.0), result: (1728.0, 923.0)
2023-01-12T12:50:41+01:00: AX position proposed: (674.0, -923.0), result: (674.0, 38.0)
2023-01-12T12:50:41+01:00: AX sizing proposed: (1728.0, 923.0), result: (1728.0, 923.0)
2023-01-12T12:50:41+01:00: previousDisplay | display: (258.0, 1117.0, 2560.0, 1415.0), calculatedRect: (674.0, -1169.0, 1728.0, 923.0), resultRect: (674.0, 38.0, 1728.0, 923.0), srcScreen: Built-in Retina Display, destScreen: DELL U2520D, resultScreen: Built-in Retina Display
2023-01-12T12:50:44+01:00: AX sizing proposed: (1728.0, 923.0), result: (1728.0, 923.0)
2023-01-12T12:50:45+01:00: AX sizing proposed: (1728.0, 923.0), result: (1728.0, 923.0)
2023-01-12T12:50:45+01:00: AX position proposed: (0.0, 73.0), result: (0.0, -28.0)
2023-01-12T12:50:45+01:00: AX sizing proposed: (1728.0, 923.0), result: (1728.0, 923.0)
2023-01-12T12:50:45+01:00: previousDisplay | display: (0.0, 85.0, 1728.0, 994.0), calculatedRect: (0.0, 73.0, 1728.0, 923.0), resultRect: (0.0, 38.0, 1728.0, 923.0), srcScreen: DELL U2520D, destScreen: Built-in Retina Display, resultScreen: Built-in Retina Display
2023-01-12T12:50:46+01:00: AX sizing proposed: (1728.0, 923.0), result: (1728.0, 923.0)
2023-01-12T12:50:46+01:00: AX position proposed: (674.0, -1169.0), result: (674.0, 38.0)
2023-01-12T12:50:46+01:00: AX sizing proposed: (1728.0, 923.0), result: (1728.0, 923.0)
2023-01-12T12:50:46+01:00: AX sizing proposed: (1728.0, 923.0), result: (1728.0, 923.0)
2023-01-12T12:50:46+01:00: AX position proposed: (674.0, -923.0), result: (674.0, 38.0)
2023-01-12T12:50:46+01:00: AX sizing proposed: (1728.0, 923.0), result: (1728.0, 923.0)
2023-01-12T12:50:46+01:00: nextDisplay | display: (258.0, 1117.0, 2560.0, 1415.0), calculatedRect: (674.0, -1169.0, 1728.0, 923.0), resultRect: (674.0, 38.0, 1728.0, 923.0), srcScreen: Built-in Retina Display, destScreen: DELL U2520D, resultScreen: Built-in Retina Display
2023-01-12T12:50:49+01:00: AX sizing proposed: (1728.0, 923.0), result: (1728.0, 923.0)
rxhanson commented 1 year ago

Unfortunately, this is a case where Rectangle is correctly telling the app (VLC) where to go, and the app isn't responding properly to the Accessibility (Window) API. In this case, it doesn't make sense to change anything Rectangle side for it. You'll want to report the issue to VLC.