| Summary: | [HiDPI][Win32] SWT on startup to pick OS zoom updated without logoff | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Niraj Modi <niraj.modi> | ||||||||||
| Component: | SWT | Assignee: | Niraj Modi <niraj.modi> | ||||||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||||||
| Severity: | normal | ||||||||||||
| Priority: | P3 | CC: | eclipse | ||||||||||
| Version: | 4.8 | ||||||||||||
| Target Milestone: | 4.9 M2 | ||||||||||||
| Hardware: | PC | ||||||||||||
| OS: | Windows 10 | ||||||||||||
| See Also: |
https://git.eclipse.org/r/126461 https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=0aa92e62e6bfa1b054314f9a94b90c49428a789e |
||||||||||||
| Whiteboard: | |||||||||||||
| Bug Depends on: | |||||||||||||
| Bug Blocks: | 534820, 534932, 537614 | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Niraj Modi
Solution to this problem exists in Display class on branch "nmodi/DynamicDPI_4909", will share a gerrit patch shortly. New Gerrit change created: https://git.eclipse.org/r/126461 Gerrit change https://git.eclipse.org/r/126461 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=0aa92e62e6bfa1b054314f9a94b90c49428a789e Resolving now. Niraj, your last commit screwed up HiDPI support on SmartGit - please see attached screenshot. Created attachment 275090 [details]
Screenshot of SmartGit using this bug's commit
(In reply to Thomas Singer from comment #6) > Created attachment 275090 [details] > Screenshot of SmartGit using this bug's commit Is this problem seen in Eclipse too, also which Windows version you faced this problem ? Please share exact steps/code snippet to reproduce this issue ? (In reply to Thomas Singer from comment #6) > Created attachment 275090 [details] > Screenshot of SmartGit using this bug's commit With my quick test with latest Eclipse build: I20180723-2000, I don't see any such issues at my end on Win10 @ 100% and 150%. Created attachment 275114 [details]
Sample code to reproduce
Created attachment 275115 [details]
Screenshot of sample code
I'm using Windows 10 with 200% zoom on a 4k monitor. We need to set swt.autoScale to false to workaround the well-known painting problems. Created attachment 275116 [details]
Screenshot of sample code without setting swt.autoScale to false
(In reply to Thomas Singer from comment #11) > I'm using Windows 10 with 200% zoom on a 4k monitor. We need to set > swt.autoScale to false to workaround the well-known painting problems. Raised separate bug 537614 to investigate the checkbox problem, seen with custom HiDPI scenario. Also, for reference please point us to bug regarding the painting problems you mentioned above. Marking this bug as verified as tested on Win10 using Build id: I20180731-2000 (In reply to Niraj Modi from comment #13) > Also, for reference please point us to bug regarding the painting problems > you mentioned above. Just compare the rectangles outside the checkbox in this snippet. To get the painting right, you would need a double-sized rectangle line width, too. (In reply to Thomas Singer from comment #15) > (In reply to Niraj Modi from comment #13) > > Also, for reference please point us to bug regarding the painting problems > > you mentioned above. > > Just compare the rectangles outside the checkbox in this snippet. To get the > painting right, you would need a double-sized rectangle line width, too. Ok got it, raised bug 537725 for this. |