| Summary: | [HiDPI][Win32] Themed Checkbox/Radiobutton: focus-rect cut off from bottom | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Thomas Singer <eclipse> |
| Component: | SWT | Assignee: | Conrad Groth <info> |
| Status: | VERIFIED FIXED | QA Contact: | Niraj Modi <niraj.modi> |
| Severity: | normal | ||
| Priority: | P3 | CC: | info, lshanmug, niraj.modi, peter, sravankumarl |
| Version: | 4.8 | ||
| Target Milestone: | 4.8 M6 | ||
| Hardware: | PC | ||
| OS: | Windows 10 | ||
| See Also: |
https://git.eclipse.org/r/116656 https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=37235cadc610ee19c2d6588cb15047d0aa3d89b5 |
||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 517055 | ||
| Attachments: | |||
|
Description
Thomas Singer
Created attachment 271703 [details]
Test snippet
Created attachment 271704 [details]
Screenshot of the focused checkbox
Created attachment 271705 [details]
Screenshot of the focused radiobutton
Problem reproducible on my Win10 at 150% DPI, will investigate for 4.8 I'm using 200% zoom on my Windows 10 system and this bugs looks bad. Anyone who looks at the Eclipse preferences should see this regression immediately. I tested with native DPI of 125% and 150%, combined with swt.autoScale of 150, 200 and 400. See attached Gerrit patch. Where can I find the Gerrit commit(s)? Shouldn't they show up here in bugzilla? (In reply to Thomas Singer from comment #7) > Where can I find the Gerrit commit(s)? Shouldn't they show up here in > bugzilla? I forgot the bug number in the commit message. Fixed this now. You can find the patch under https://git.eclipse.org/r/#/c/116656/ Created attachment 272583 [details] Checkbox_RadioButton_100DPI_WithPatch(Image is zoomed in mspaint to highlight the problem) (In reply to Conrad Groth from comment #8) > I forgot the bug number in the commit message. Fixed this now. You can find > the patch under https://git.eclipse.org/r/#/c/116656/ Hi Conrad, Thanks for the patch it works fine for the problem at HiDPI. But I see one issue at 100% DPI, wherein with the patch I find the focus rectangle is unnecessarily short by 1px from the bottom as compared to the checkbox/radioButton background. See attached image of checkbox/radioButton with the patch at 100% DPI. IMO we should make this 1px adjustment for HiDPI scenario only and not for standard DPI. Ping! Gerrit change https://git.eclipse.org/r/116656 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=37235cadc610ee19c2d6588cb15047d0aa3d89b5 (In reply to Eclipse Genie from comment #11) > Gerrit change https://git.eclipse.org/r/116656 was merged to [master]. > Commit: > http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/ > ?id=37235cadc610ee19c2d6588cb15047d0aa3d89b5 Resolving now. Verified fix in Build id: I20180305-2000 @Win10. |