| Summary: | [GTK3] Underscore not visible unter Ubuntu 16.04 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Lars Vogel <Lars.Vogel> | ||||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||||
| Status: | RESOLVED WORKSFORME | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | ericwill, gautier.desaintmartinlacaze, jonah, Lars.Vogel, stefanescu.a | ||||||
| Version: | 4.5 | Keywords: | triaged | ||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Lars Vogel
The underscore is not visible in Eclipse with Ubuntu 16.04. Here is my example text, paste this into a text editor in Eclipse. I attach screenshots how it looks like. Test _underscore_ in Eclipse. Created attachment 265152 [details]
Screenshot Eclipse
Created attachment 265153 [details]
Screenshot Gedit
Resetting the font to the default via the Color and Fonts dialog fixed that. Why is this bug invalid? The screenshots attached show gedit drawing the underscores and eclipse not? There are other people[1] having this same issue, and while it can be worked around with a font change, users have no visibility of that. [1] Bug 498384 and forum: https://www.eclipse.org/forums/index.php?t=msg&th=1083573&goto=1751268&#msg_1751268 and certainly others who just move on. Is this in StyledText? Regular Text? Does the issue still reproduce? Ping: Lars does this issue still reproduce on Ubuntu 17.10? (In reply to Eric Williams from comment #7) > Ping: Lars does this issue still reproduce on Ubuntu 17.10? I have tried and failed to reproduce this in 18.04 (the new LTS release that came out a few days ago). 1 to 1 1/2 years ago I saw an uptick of this problem and I haven't seen it so much recently. I don't know which side was fixed (better font info from GTK, better font files, or changes to SWT). (In reply to Jonah Graham from comment #8) > (In reply to Eric Williams from comment #7) > > Ping: Lars does this issue still reproduce on Ubuntu 17.10? > > I have tried and failed to reproduce this in 18.04 (the new LTS release that > came out a few days ago). 1 to 1 1/2 years ago I saw an uptick of this > problem and I haven't seen it so much recently. I don't know which side was > fixed (better font info from GTK, better font files, or changes to SWT). Likely the issue was on GTK's end. 18.04 uses GTK3.22 which is the latest up-to-date release. 16.04 had GTK3.18 which had several bugs. I'm going mark this as resolved: if anyone experiences it on Ubuntu 18.04 please reopen this ticket. (In reply to Eric Williams from comment #9) > I'm going mark this as resolved: if anyone experiences it on Ubuntu 18.04 > please reopen this ticket. Works also fine with Ubuntu 17.10. Thanks for closing this one. This invisible underscore happen on GTK 3.18 from Mint and Eclipse 4.7.x I think the problem where the different font sizes used for editors. We have some "common" preferences system for Eclipse and it set the editor fonts "Consolas" that I don't have on my machine. I only changed Java editor font to "Inconsolata medium" and left the fonts unchanged for the other Editors. In the Java editor the _ wasn't visible. The fix was to change the fonts of all editors and views to the same font as the Java editor and _ was visible (In reply to Adrian Stefanescu from comment #11) > This invisible underscore happen on GTK 3.18 from Mint and Eclipse 4.7.x > > I think the problem where the different font sizes used for editors. We have > some "common" preferences system for Eclipse and it set the editor fonts > "Consolas" that I don't have on my machine. > > I only changed Java editor font to "Inconsolata medium" and left the fonts > unchanged for the other Editors. In the Java editor the _ wasn't visible. > > The fix was to change the fonts of all editors and views to the same font as > the Java editor and _ was visible Does it happen on GTK3.22 (i.e. Ubuntu 18.04 or 17.10)? |