Commit e15e9bf
Limit monitor-specific scaling to supported autoscale modes
With these changes, Eclipse applications will not fail to start anymore
when an swt.autoScale value that is incompatible to monitor-specific
scaling on Windows is set.
The following changes are implemented:
- Upon starting an Eclipse application with an swt.autoScale setting that is not compatible with monitor-specific scaling on Windows, the monitor-specific scaling will be disabled and an error dialog will be shown
- Users won't be able to enable monitor-specific scaling from appearance page if unsupported swt.autoScale mode is set via system property / ini file1 parent 2a814c8 commit e15e9bf
File tree
4 files changed
+52
-14
lines changed- bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal
- dialogs
4 files changed
+52
-14
lines changedLines changed: 31 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
669 | 669 | | |
670 | 670 | | |
671 | 671 | | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
672 | 679 | | |
673 | 680 | | |
674 | 681 | | |
| |||
694 | 701 | | |
695 | 702 | | |
696 | 703 | | |
697 | | - | |
698 | | - | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | | - | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | | - | |
708 | | - | |
709 | 704 | | |
710 | 705 | | |
711 | 706 | | |
| |||
771 | 766 | | |
772 | 767 | | |
773 | 768 | | |
774 | | - | |
| 769 | + | |
775 | 770 | | |
776 | 771 | | |
777 | 772 | | |
| |||
3673 | 3668 | | |
3674 | 3669 | | |
3675 | 3670 | | |
| 3671 | + | |
| 3672 | + | |
3676 | 3673 | | |
3677 | 3674 | | |
3678 | 3675 | | |
| |||
3683 | 3680 | | |
3684 | 3681 | | |
3685 | 3682 | | |
| 3683 | + | |
| 3684 | + | |
| 3685 | + | |
| 3686 | + | |
| 3687 | + | |
| 3688 | + | |
| 3689 | + | |
| 3690 | + | |
| 3691 | + | |
| 3692 | + | |
| 3693 | + | |
| 3694 | + | |
| 3695 | + | |
| 3696 | + | |
| 3697 | + | |
| 3698 | + | |
| 3699 | + | |
| 3700 | + | |
| 3701 | + | |
| 3702 | + | |
| 3703 | + | |
3686 | 3704 | | |
3687 | 3705 | | |
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
39 | 45 | | |
40 | 46 | | |
41 | 47 | | |
| |||
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| 69 | + | |
68 | 70 | | |
| 71 | + | |
69 | 72 | | |
70 | 73 | | |
71 | 74 | | |
| |||
222 | 225 | | |
223 | 226 | | |
224 | 227 | | |
225 | | - | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
226 | 237 | | |
227 | 238 | | |
228 | 239 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
503 | 503 | | |
504 | 504 | | |
505 | 505 | | |
| 506 | + | |
506 | 507 | | |
| 508 | + | |
| 509 | + | |
507 | 510 | | |
508 | 511 | | |
509 | 512 | | |
| |||
0 commit comments