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

Next/Previous Display Option Malfunction with Multiple Desktops, when initiated from a Secondary Screen #1383

Open
1 task
giannidallatorre opened this issue May 7, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@giannidallatorre
Copy link

giannidallatorre commented May 7, 2024

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

macOS version: Sonoma 14.4.1 (23E224)
Rectangle version: 0.77
Logs if applicable:

2024-05-07T10:18:01+02:00: AX sizing proposed: (1852.0, 1035.0), result: (1430.0, 865.0)
2024-05-07T10:18:01+02:00: AX position proposed: (58.0, 35.0), result: (58.0, 35.0)
2024-05-07T10:18:01+02:00: AX sizing proposed: (1852.0, 1035.0), result: (1628.0, 1035.0)
2024-05-07T10:18:01+02:00: nextDisplay | display: (48.0, 0.0, 1872.0, 1055.0), calculatedRect: (58.0, 35.0, 1852.0, 1035.0), resultRect: (58.0, 35.0, 1628.0, 1035.0), srcScreen: Built-in Retina Display, destScreen: BenQ EW3270U, resultScreen: BenQ EW3270U
2024-05-07T10:18:05+02:00: AX sizing proposed: (1420.0, 855.0), result: (1420.0, 855.0)
2024-05-07T10:18:05+02:00: AX position proposed: (256.0, 1115.0), result: (256.0, 1115.0)
2024-05-07T10:18:05+02:00: AX sizing proposed: (1420.0, 855.0), result: (1420.0, 855.0)
2024-05-07T10:18:05+02:00: previousDisplay | display: (246.0, -900.0, 1440.0, 875.0), calculatedRect: (256.0, 1115.0, 1420.0, 855.0), resultRect: (256.0, 1115.0, 1420.0, 855.0), srcScreen: BenQ EW3270U, destScreen: Built-in Retina Display, resultScreen: Built-in Retina Display

Title: Next/Previous Display Option Malfunction with Multiple Screens

Description:

The "Next/Previous Display" option is exhibiting irregular behavior, particularly when interacting with applications such as Google Chrome. The issue arises when multiple screens are in use, each with multiple desktops.

When a window from Chrome is situated on a secondary monitor and the "Next Display" action is initiated, the window correctly relocates to the adjacent monitor. However, it consistently places the window on the first display rather than the focused screen.

The anomaly exclusively occurs when the window is shifted from a secondary to primary monitor. Conversely, when transitioning from the primary to a secondary monitor, the window aligns with the focused screen as expected.

Steps to Reproduce:

  • Utilize a setup with multiple screens, each featuring multiple desktops.
  • Set the primary display on the second Desktop
  • Open Google Chrome and position a window on a secondary monitor.
  • Initiate the "Next Display" action within the software.

Expected Behavior:

The Chrome window should relocate to the adjacent monitor while adhering to the focused screen within the multiple desktop setup.

Thanks for the excellent software and for your attention to this issue! :)

@giannidallatorre giannidallatorre added the bug Something isn't working label May 7, 2024
@giannidallatorre giannidallatorre changed the title Next display Next/Previous Display Option Malfunction with Multiple Desktops, when initiated from a Secondary Screen May 7, 2024
@rxhanson
Copy link
Owner

Thanks for reporting. I'm guessing windows to other apps do get moved as expected? Is there a common thread to the apps that don't work properly, like Chrome/Electron based ones?

@giannidallatorre
Copy link
Author

giannidallatorre commented May 13, 2024

Thank you!
Yes, the other apps do get moved as expected. I am unsure if it is only Chrome having this issue. I do use electron-based apps, but I don't recall having seen the same behavior. I've tested a few now, and it may just be Chrome.

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