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

Handle IllegalArgumentException in multi-screen environment #2460

Merged
merged 1 commit into from Feb 24, 2019

Conversation

Projects
None yet
2 participants
@devinbileck
Copy link
Member

devinbileck commented Feb 24, 2019

When the application window is being created, it checks what the
maximum bounds for a window is in order to set the window size.
However, multi-screen environments may encounter an
IllegalArgumentException (Window must not be zero).

Just ignore the exception and continue, which means the window will
use the minimum window size since we are unable to determine if we can
use a larger size.

Fixes #2452

Handle IllegalArgumentException in multi-screen environment
When the application window is being created, it checks what the
maximum bounds for a window is in order to set the window size.
However, multi-screen environments may encounter an
IllegalArgumentException (Window must not be zero).

Just ignore the exception and continue, which means the window will
use the minimum window size since we are unable to determine if we can
use a larger size.

Fixes #2452
@ManfredKarrer
Copy link
Member

ManfredKarrer left a comment

utACK

@ManfredKarrer ManfredKarrer merged commit 4ec028d into bisq-network:master Feb 24, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@devinbileck devinbileck deleted the devinbileck:bugfix-2452 branch Feb 24, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.