Skip to content

Conversation

@fedejeanne
Copy link
Member

What it does

If there is a parent present at the moment when the window is created then set the initial position of the new window to be near the top-left corner of its parent. This avoids unnecessary DPI change events in case that the new window stays in the same monitor were its parent is.

Fixes #2608

How to test

You need an SDK / IDE to be able to reproduce the error i.e. you will either have to test this in tonight's I-BUILD or you have to manually drop the newly compiled Control.class file inside the proper SWT Jar of your Eclipse IDE/SDK.

For instructions on how to reproduce the error, see: #2608 (comment)

…ipse-platform#2608

If there is a parent present at the moment when the window is created
then set the initial position of the new window to be near the top-left
corner of its parent. This avoids unnecessary DPI change events in case
that the new window stays in the same monitor were its parent is.

Fixes eclipse-platform#2608
@github-actions
Copy link
Contributor

Test Results

  115 files  ±0    115 suites  ±0   12m 38s ⏱️ +53s
4 554 tests ±0  4 538 ✅ ±0  16 💤 ±0  0 ❌ ±0 
  311 runs  ±0    308 ✅ ±0   3 💤 ±0  0 ❌ ±0 

Results for commit e8bde38. ± Comparison against base commit 6347ad3.

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.

Shells relayout due to DPI change on opening Dialogs open with wrong zoom level

1 participant