Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maximize screen moves window to screen of origin #1529

Open
1 task
martinmastny opened this issue Dec 17, 2024 · 1 comment
Open
1 task

Maximize screen moves window to screen of origin #1529

martinmastny opened this issue Dec 17, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@martinmastny
Copy link

  • This is a new bug that hasn't been documented in a closed issue or in the Readme.

macOS version:
15.1.1 (24B91)

Rectangle version:
Version 0.85 (91)

Logs if applicable (In Rectangle menu, hold option, "View Logging..."):
2024-12-17T12:05:31+01:00: AXEnhancedUserInterface was enabled, will disable before resizing
2024-12-17T12:05:31+01:00: AX sizing proposed: (1470.0, 855.0), result: (1470.0, 855.0)
2024-12-17T12:05:31+01:00: AX position proposed: (225.0, 125.0), result: (225.0, 125.0)
2024-12-17T12:05:31+01:00: AX sizing proposed: (1470.0, 855.0), result: (1470.0, 855.0)
2024-12-17T12:05:31+01:00: nextDisplay | display: (0.0, 0.0, 1920.0, 1055.0), calculatedRect: (225.0, 125.0, 1470.0, 855.0), resultRect: (225.0, 125.0, 1470.0, 855.0), srcScreen: Built-in Retina Display, destScreen: PLX2481H, resultScreen: PLX2481H
2024-12-17T12:05:32+01:00: AXEnhancedUserInterface was enabled, will disable before resizing
2024-12-17T12:05:32+01:00: AX sizing proposed: (1470.0, 855.0), result: (1470.0, 855.0)
2024-12-17T12:05:32+01:00: AX position proposed: (228.0, 1117.0), result: (228.0, 1117.0)
2024-12-17T12:05:32+01:00: AX sizing proposed: (1470.0, 855.0), result: (1470.0, 855.0)

Description

There is a reported bug that "move to another screen" does not move the window maximized when screens have different resolutions. To overcome this, I want then to maximize the screen. However, it does not work every time. Instead, the window moves back to original screen and maximizes there.

Scenario

  1. Open new Chrome window (for example) on Mac built in screen -> It is open in maximized mode (not fullscreen)
  2. Move window to secondary monitor (control+option+command+left) (I have only one, the PLX2481H) -> window moves but is not maximized
  3. Maximize the window (control+option+backspace) -> the window moves to Mac built in screen maximized

P.S. The scenario works correctly if we switch screens. So if I:

  1. open window on the external display (it's maximized)
  2. move to built in (it's maximized)
  3. then move back to external display - then the window is not maximized (however it's a bit bigger than if it's other way around)
  4. maximize the window - the window correctyl maximizes
@martinmastny martinmastny added the bug Something isn't working label Dec 17, 2024
@rxhanson
Copy link
Owner

Thanks for reporting with details. It's possible that the move is being tripped up by the AXEnhancedUserInterface noted in the logs. I'll take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants