Skip to content

Conversation

@auouymous
Copy link
Member

This requires one pixel of any side of the window to be on-screen, or it resets the position to default. It might be more useful if it required ten or more pixels so the window would be more visible.

Fixes #1352.

@auouymous
Copy link
Member Author

Or maybe at least 1/4 to 1/2 of the width and height to be visible.

@auouymous auouymous force-pushed the dont-place-hidden-windows branch from 4804bd6 to 5cef757 Compare August 22, 2022 01:10
@auouymous auouymous marked this pull request as ready for review August 22, 2022 01:10
@auouymous
Copy link
Member Author

I changed it to reset if more than 50% of the window is off-screen, so enough is visible to see it. I double anyone has 50% of the window off-screen because it is unlikely that even narrow windows would be usable with only 50% visible.

Copy link
Member

@elelay elelay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
minor syntax change to make it more concise

@auouymous auouymous force-pushed the dont-place-hidden-windows branch from 5cef757 to 3a4cd02 Compare August 23, 2022 06:53
@elelay elelay merged commit 098438b into gpodder:master Aug 25, 2022
@elelay
Copy link
Member

elelay commented Aug 25, 2022

Merged, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3.11.0 Soft crashing when checking for new podcasts

2 participants