Open ilin-argirov-fc opened 4 months ago
Thanks for reporting. I'm unable to reproduce this one. Could you provide Rectangle Pro logs for when you've done this and it didn't work?
To show the log viewer, hold the option key in the menu bar menu and select View Logging...
Thanks for responding so quickly! No log gets generated when the behaviour is not working. The log I'll post below is from when the behaviour is working. Please refer to the attached screen recording with narration to see a demo of the issue. I neglected to record the logger's output during the video, unfortunately, but essentially no output is seen during the non-functional clicks.
2024-05-02T12:47:29+03:00: Rectangle Pro v3.0.24 (165) macOS: Version 14.4.1 (Build 23E224) Model: Mac14,7 [3] License activation: REDACTED@gmail.com (2024-04-29 10:14:08 +0000) 2024-05-02T12:47:56+03:00: AX sizing proposed: (1920.0, 993.0), result: (1920.0, 993.0) 2024-05-02T12:47:56+03:00: AX position proposed: (-1870.0, 69.0), result: (-1870.0, 69.0) 2024-05-02T12:47:56+03:00: AX sizing proposed: (1920.0, 993.0), result: (1920.0, 993.0) 2024-05-02T12:48:07+03:00: AX sizing proposed: (1920.0, 1055.0), result: (1920.0, 993.0) 2024-05-02T12:48:07+03:00: AX position proposed: (-1920.0, 25.0), result: (-1920.0, 25.0) 2024-05-02T12:48:07+03:00: AX sizing proposed: (1920.0, 1055.0), result: (1920.0, 1055.0) 2024-05-02T12:48:07+03:00: maximize | display: (-1920.0, 0.0, 1920.0, 1055.0), calculatedRect: (-1920.0, 25.0, 1920.0, 1055.0), resultRect: (-1920.0, 25.0, 1920.0, 1055.0), srcScreen: BenQ BL2480, destScreen: BenQ BL2480, resultScreen: BenQ BL2480 2024-05-02T12:48:17+03:00: AX sizing proposed: (1920.0, 993.0), result: (1920.0, 993.0) 2024-05-02T12:48:17+03:00: AX position proposed: (0.0, 25.0), result: (0.0, 25.0) 2024-05-02T12:48:17+03:00: AX sizing proposed: (1920.0, 993.0), result: (1920.0, 993.0) 2024-05-02T12:48:17+03:00: maximize | display: (0.0, 62.0, 1920.0, 993.0), calculatedRect: (0.0, 25.0, 1920.0, 993.0), resultRect: (0.0, 25.0, 1920.0, 993.0), srcScreen: FS2434, destScreen: FS2434, resultScreen: FS2434
Thanks for the details; sorry for the delayed response. The behavior demonstrated is expected, although I agree that it's not always perfect. In scenarios where the window cannot be resized larger (like the Rectangle Pro settings window), the window will be centered. In scenarios where the title bar contains other UI elements that are double clicked, Rectangle Pro will err on the side of not maximizing. I'll give this some more thought when I'm back in that part of the code, though, and see if there are improvements to be made.
Description Ticking the "Double-click window title bar to maximize/restore" option under General settings does not enable Rectangle Pro to handle that behaviour (instead of MacOS). Essentially, nothing happens when I double click any window's title bar. The "Double-click a window's title bar to 'Do Nothing'" setting is set in MacOS's Desktop & Dock settings.
Steps to Reproduce
Expected Behaviour Rectangle Pro should maximize or restore the window upon double clicking its title bar.
Environment 13-inch M2, 2022 Macbook Pro macOS Sonoma 14.4.1 Rectangle Pro v3.0.24 (165)