| Summary: | [GTK3] ImageHyperLink is rendered incorrectly | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Alexander Burdukov <aburdukov> | ||||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||||
| Status: | RESOLVED WORKSFORME | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | akurtakov, ericwill | ||||||
| Version: | 4.5 | Keywords: | triaged | ||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
Created attachment 256852 [details]
Code snippet to reproduce the issue
Reproduced on Fedora 24/Gtk 3.20. I can reproduce on SWT master with GTK3.20. Interestingly enough if you remove the sc.setMinSize() call in the snippet the issue fixes itself. It seems like the text is being pushed too far to the right, and the left side of screen is blocking the text somehow. Ping, is this still reproducible? I can't reproduce the original issue any longer. |
Created attachment 256851 [details] Incorrect Rendering Screenshot ImageHyperLink is drawn incorrectly (partly outside of parent composite) on GTK3 if orientation is set to "right-to-left" (see attached screenshot). GTK2 and "left-to-right" orientation of GTK3 are not affected by this problem, only "right-to-left" orientation on GTK3 is affected. To reproduce use attached code snippet. Reproduced on Eclipse 4.5 and 4.5.1 RC3 with GTK 3.10.8 (Ubuntu 14.04.2 LTS) and GTK 3.14.14 (Ubuntu 15.04).