Autumn icon indicating copy to clipboard operation
Autumn copied to clipboard

Window.moveToPercentOfScreen moves the window to the primary screen, rather than resizing in the windows's current screen

Open aquillano opened this issue 5 years ago • 3 comments

The docs for Window.moveToPercentOfScreen say "...of the window's current screen" -- but there seems to be a side effect in which the window in moved to the primary monitor in a 2-monitor setup.

aquillano avatar Aug 12 '19 15:08 aquillano

More info: This seems to be an issue if you launch Autumn while using a single screen, then you switch to a dual-display setup.

aquillano avatar Aug 13 '19 14:08 aquillano

@apandhi Which of the directions do you think is most appropriate? 1) "Listen" for display setup changes and have Autumn adjust itself in response to those events. 2) Any window movement first gets the window's current screen?

aquillano avatar Aug 13 '19 15:08 aquillano

I think option 2 makes the most sense. Windows should move to a percentage of their current screen.

Do you have an example script I can use to test the issue described?

apandhi avatar Aug 13 '19 17:08 apandhi