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

Window location has decoration offset under Unity #464

Open
mgarin opened this issue Aug 3, 2017 · 1 comment
Open

Window location has decoration offset under Unity #464

mgarin opened this issue Aug 3, 2017 · 1 comment

Comments

@mgarin
Copy link
Owner

mgarin commented Aug 3, 2017

There is a native issue with Unity manager that can be reproduced under any JDK version - whenever you set window location directly it gets an offset equal to the native decoration size.

Unfortunately, this seems to be a general problem for any JDK/Unity combination and it heavily affects library parts which deal with natively decorated window positioning, for instance, things like RootPaneSettingsProcessor.

Unity can be detected by checking this environment variable:

System.getenv ( "XDG_CURRENT_DESKTOP" )

Output can be checked for Unity string.

@mgarin mgarin added this to the v1.2.9 milestone Aug 3, 2017
@mgarin mgarin self-assigned this Aug 3, 2017
@mgarin
Copy link
Owner Author

mgarin commented Nov 6, 2017

I will be moving this to v1.3.0 to push v1.2.9 as early as possible.

@mgarin mgarin modified the milestones: v1.2.9, v1.3.0 Nov 6, 2017
@mgarin mgarin removed this from the v1.9.0 milestone Apr 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant