Community
Participate
Working Groups
Created attachment 271816 [details] Image of cutoff tcf control. When upgrading to GTK3, the tcf control in the toolbar is cutoff at the bottom. (Image attached) This happens for both, Neon and Oxygen. GTK version: 3.18.9
What is TCF and hiw to reproduce the problem? Have you tried Eclipse 4.8?
I can reproduce the issue. The widget in question is a CCombo widget. GTK3.22 Fedora 27 Photon M4
Created attachment 272150 [details] GTK2 vs. GTK3 on Ubuntu 16.04 Added side-by-side comparison showing difference between GTK2 and GTK3 on Ubuntu 16.04.
Removing the CCombo tag, as this isn't actually a CCombo (I was mistaken). Question: does happen on any other versions of GTK3? Or was there a switch from GTK2 to GTK3, and therefore this bug was noticed?
Created attachment 272282 [details] Snippet to reproduce the issue I've attached a snippet to reproduce the issue. I'll commit this snippet to the bug repository as well once the bug is fixed.
New Gerrit change created: https://git.eclipse.org/r/115473
New Gerrit change created: https://git.eclipse.org/r/115475
(In reply to Eclipse Genie from comment #7) > New Gerrit change created: https://git.eclipse.org/r/115475 This fix focuses on the Button having a cut off arrow icon. On Fedora this is particularly bad (I'll post a screenshot in a minute). It should make things better on Ubuntu as well. As for the text being cut off, I was able to make this better by changing the vertical margin height of the parent composite to be 0. However I would strongly recommend re-factoring this code to use something other than the current approach -- maybe a Combo or even other ToolItems. I'll post more about this in the bug filed against TCF (bug 528743).
Created attachment 272297 [details] TCF dropdown before vs. with patch The left side shows the current TCF dropdown in Fedora, the right side shows what it would look with my patch applied. This is Fedora 27, GTK3.22, with GNOME Adwaita.
Gerrit change https://git.eclipse.org/r/115475 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=bf4f51d091c1ca54883063f9567fd83cddafeb63
(In reply to Eclipse Genie from comment #10) > Gerrit change https://git.eclipse.org/r/115475 was merged to [master]. > Commit: > http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/ > ?id=bf4f51d091c1ca54883063f9567fd83cddafeb63 I've committed the SWT portion of the fix.
New Gerrit change created: https://git.eclipse.org/r/115552
Gerrit change https://git.eclipse.org/r/115552 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=d88da66379385cdf0365a99e2990a60daf96864e
SWT fix is in master now.
Verified in I20180122-2000.