Community
Participate
Working Groups
Created attachment 237491 [details] Screenshot I'm using Luna 4.4.M3 RCP package and libgtk-3.0 version 3.4.2-0ubuntu5. I noticed when opening the MANIFEST.MF editor for a given bundle that some text is now bold (see screenshot). Not sure who's culprit: SWT or PDE...
Making a link to bug 340067 as they may be related.
Mickael, could you write a plain swt reproducer? This makes it really easier to understand and work on the problem compared to full IDE problem.
I also saw this issue in Properties View while testing WireframeSketcher plugin. Text in combos and text fields was bold. I am still not sure what are the steps to reproduce it as it does not happen consistently.
Created attachment 240038 [details] Snippet to reproduce the problem It seems to be a change in font inheritance mechanism with GTK3. By default in SWT, Font are not inherited, so any new Control uses the default font except is something else is specified. I don't know if it is specified by SWT or not, by it has always been like that. With GTK3, the widget automatically uses font from parent, breaking the expected behavior. See attached snippet which highlights this behaviour difference with GTK2 and GTK3.
Mickael, I love such bug reports - fix pushed to master http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=cc2ab6506227bedefa370f48a8e22f7d6c2048d0 . If most bug reports where coming with such analysis and snippets there wouldn't have been that many open bugs.
Additional commit fixing Button and Text components inheriting font. http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=d418a2f5e052f6a533f94964edfe7916aabde323
This issue seems to be fixed for Text in 4.4M6, but it's still present for Combo.
Reopen as per last comment.
(In reply to Peter Severin from comment #7) > This issue seems to be fixed for Text in 4.4M6, but it's still present for > Combo. Peter, would you please provide a snippet reproducing the Combo issue?
Created attachment 241493 [details] Combo test case
Created attachment 241494 [details] Combo problem screenshot
I added test case and a screenshot that shows the problem. While creating the test case I noticed another bug with Class File Editor which I reported here Bug 431772.
A good bug report with reproducer deserves a fix. Pushed to master http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=0854ee343a9a2f7b225cfa849ae690c61a29f135
Created attachment 242931 [details] Other problematic widgets snippet Alexander, there are other widgets that still inherit the font: -ExpandBar -Group -List -Spinner -Table -Tree See attached snippet.
Patch: https://git.eclipse.org/r/26329
Created attachment 242934 [details] Other problematic widgets snippet Actually, ToolBar is also affected (noticed because of EGit's Rebase interactive). Snippet updated and I'll update the patch too.
(In reply to Marc-Andre Laperle from comment #15) > Patch: > https://git.eclipse.org/r/26329 Pushed to master - http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=4697a58f0a3ea1a0b8cab8c841e547bfbe9ba5a1