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

Todo App gets positioned under the dock #713

Closed
1 task done
hsingireddy opened this issue Jan 9, 2022 · 2 comments
Closed
1 task done

Todo App gets positioned under the dock #713

hsingireddy opened this issue Jan 9, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@hsingireddy
Copy link

hsingireddy commented Jan 9, 2022

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

macOS version: 11.6.2
Rectangle version: 0.49 (54)
Logs if applicable (In Rectangle menu, hold option, "View Logging..."):
2022-01-08T21:11:12-05:00: Unable to obtain window id
2022-01-08T21:11:12-05:00: AX sizing proposed: (800.0, 1415.0), result: (800.0, 1415.0)
2022-01-08T21:11:12-05:00: AX position proposed: (2640.0, 0.0), result: (2640.0, 25.0)
2022-01-08T21:11:12-05:00: AX sizing proposed: (800.0, 1415.0), result: (800.0, 1415.0)

Environment:
Dock is position to the right of the screen and Reflow Todo shortcut is pressed

Expected outcome:
TodoApp will be placed to the right of the screen next to the dock. All the other windows will be moved to the non-todo part of the screen. There will be no gap between the "other window" and "Todo App"

Actual outcome:
Todo App is placed on the right edge of the screen, under the dock. Other windows reflown are still attached to the Todo App without any gap. But, when you run shortcuts that place windows to the right of the screen (Right half, last two thirds etc.) they leave a dock sized gap between the window and the Todo App. They are leaving the correct width (Dock + todo App) but because the Todo app is under the dock, it leaves a gap.

@hsingireddy hsingireddy added the bug Something isn't working label Jan 9, 2022
@rxhanson
Copy link
Owner

If you have window gaps configured, v0.50 should fix the gap around the Todo App window.

A macOS bug causes the windows to be placed under the dock in certain scenarios - most commonly seen when the dock is moved to a different display or unhidden. Unfortunately, there's not a good workaround for it.

@hsingireddy
Copy link
Author

hsingireddy commented Feb 2, 2022

Here is some more info on existing behavior with screenshots. Pull Request #742 has the fixes for it.

-- Dock is on the left --

Reflow Todo command moves the application (Safari, in this case) window under the dock. It should stop at the dock unless the window was already placed under the dock by the user.

Reflow command output ::
Left-Dock

Other commands like Maximize will correctly place the Safari window next to the dock.
Maximize command output on the Safari Window ::
Left-Dock-Maximize

-- Dock is on the right --
Reflow Todo command moves the todoWindow (Word, in this case) under the dock. It should stop at the dock.
Notice how Safari window is placed at the edge of the todo window.

Reflow command output ::
Right-Dock

Next, Commands like Maximize on Safari window now shows the gap between the todoWindow and the application window. Todo window was supposed to fill that gap during the reflow todo action.

Maximize command output on the Safari Window ::
Right-Dock2

rxhanson added a commit that referenced this issue Feb 3, 2022
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