Bug 568368

Summary: Squiggly lines are rendered too narrow on Ubuntu 20.04.1
Product: [Eclipse Project] Platform Reporter: Jean-Baptiste Lievremont <mithfindel>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 4.17   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Screenshot with Fira Code at 9px, highlight is on method name
none
Screenshot with Fira Code at 18px
mithfindel: review?
Settings for the annotation, with squiggly lines style selected
mithfindel: review?
Contents of the "Help" > "About" > "Installation Details" > "Configuration" tab mithfindel: review?

Description Jean-Baptiste Lievremont CLA 2020-10-29 06:51:49 EDT
Created attachment 284597 [details]
Screenshot with Fira Code at 9px, highlight is on method name

After my upgrade to Ubuntu 20.04.1 LTS, I noticed that annotations that use the "squiggly line" style (`textStylePreferenceValue="SQUIGGLES"`) are rendered as a very thin line. If I double my text font size, I start to see the squiggles, but they are very narrow compared to the surrounding text (see screenshots).

I first noticed this in 4.17 (2020-09) and I also reproduce it in 4.7 (Oxygen).

The squiggles are rendered correctly on Windows 10 as well as Ubuntu 18.04.

My hypothesis is that the issue is caused by the switch to GTK 3 in recent versions of Ubuntu.
Comment 1 Jean-Baptiste Lievremont CLA 2020-10-29 06:53:02 EDT
Created attachment 284598 [details]
Screenshot with Fira Code at 18px
Comment 2 Jean-Baptiste Lievremont CLA 2020-10-29 06:54:04 EDT
Created attachment 284599 [details]
Settings for the annotation, with squiggly lines style selected
Comment 3 Jean-Baptiste Lievremont CLA 2020-10-29 06:56:07 EDT
Created attachment 284600 [details]
Contents of the "Help" > "About" > "Installation Details" > "Configuration" tab