| Summary: | StyledText center and right alignment is wrong after setting its left margin | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Dmytro Mising name <dvoloshchuk> | ||||||
| Component: | SWT | Assignee: | Thorsten Hake <thorsten.hake> | ||||||
| Status: | VERIFIED FIXED | QA Contact: | Niraj Modi <niraj.modi> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | AndersHessellund, cocoakevin, niraj.modi, sravankumarl, thorsten.hake, zakgof | ||||||
| Version: | 3.6 | Keywords: | triaged | ||||||
| Target Milestone: | 4.8 M2 | ||||||||
| Hardware: | PC | ||||||||
| OS: | All | ||||||||
| See Also: |
https://git.eclipse.org/r/60702 https://git.eclipse.org/r/60704 https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=a3ffb152c005b14af78dbeb2418309d647a196ba |
||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Dmytro Mising name
Created attachment 155153 [details]
Snippet to reproduce the defect
I stepped on this bug too (in SWT 3.8.1), is there any chance to get this fixed ? Created attachment 225161 [details]
Proposed patch
Please consider this patch
New Gerrit change created: https://git.eclipse.org/r/60702 New Gerrit change created: https://git.eclipse.org/r/60704 Pushed the patch to gerrit and added a test case. (In reply to Dmytro Mising name from comment #1) > Created attachment 155153 [details] > Snippet to reproduce the defect Problem reproducible with on Win7 as well. (In reply to Thorsten Hake from comment #6) > Pushed the patch to gerrit and added a test case. Thanks Thorsten, for the revised patch. With my quick testing the latest gerrit fixes this issue but gerrit validation is failing, anyways validate the patch further targeting for 4.8 M1 release. (In reply to Eclipse Genie from comment #5) > New Gerrit change created: https://git.eclipse.org/r/60704 This is an all platform issue, problem reproducible with test Snippet on both Windows and GTK. Also, verified the above patch on Windows and GTK. Gerrit build failure are seen due to presence of JUnits in the very same patch(known issue bug 507602) Will commit the patch shortly. Gerrit change https://git.eclipse.org/r/60704 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=a3ffb152c005b14af78dbeb2418309d647a196ba (In reply to Eclipse Genie from comment #10) > Gerrit change https://git.eclipse.org/r/60704 was merged to [master]. > Commit: > http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/ > ?id=a3ffb152c005b14af78dbeb2418309d647a196ba Thanks Oleksandr/Thorsten for you contributions. Change is in the master, resolving now. Verified on Eclipse SDK Version: Photon (4.8) Build id: I20170913-2000 OS: Linux, v.3.10.0-327.el7.x86_64, x86_64 / gtk 3.14.13, WebKit 2.4.9 |