Bug 552555

Summary: [Mac] Font too large on changed files in Package Explorer
Product: [Eclipse Project] Platform Reporter: Karsten Thoms <karsten.thoms>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: loskutov, pyvesdev, twolf
Version: 4.14Keywords: regression
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:
Attachments:
Description Flags
Screenshot
none
Configuration none

Description Karsten Thoms CLA 2019-10-30 07:30:10 EDT
Created attachment 280466 [details]
Screenshot

I have a strange font rendering. Some labels have a too large font. It seems to affect only those elements which have changes.

This does not happen always and I'm not sure how to reproduce. What might be considered is that I usually work on a Thunderbolt Display and sometimes plug off the monitor from my MBP. So the display changes from the monitor to the notebook screen.

I'm on EGit 5.5.0, and will try the nightly now.
Comment 1 Andrey Loskutov CLA 2019-10-30 09:38:09 EDT
Which Eclipse version?

Also please provide SWT part from Help -> About -> Installation Details -> Configuration

Something like 
org.eclipse.swt.internal.deviceZoom=100
org.eclipse.swt.internal.gdk.backend=x11
org.eclipse.swt.internal.gtk.theme=Clearlooks-Phenix
org.eclipse.swt.internal.gtk.version=3.22.30
org.eclipse.swt.internal.webkitgtk.version=2.14.7

I assume this is HiDPI / Wayland related => SWT issue.
Comment 2 Thomas Wolf CLA 2019-10-30 15:32:06 EDT
EGit hasn't had any css changes in a long time. And anyway the little css EGit has is all about colors, not about fonts. So if it's a problem in EGit, it's unlikely that it's css related.
Comment 3 Karsten Thoms CLA 2019-10-31 04:54:44 EDT
Created attachment 280477 [details]
Configuration

eclipse.buildId=4.14.0.I20191009-1800

org.eclipse.swt.internal.deviceZoom=100
os.arch=x86_64
os.name=Mac OS X
os.version=10.14.2
osgi.arch=x86_64
Comment 4 Andrey Loskutov CLA 2019-10-31 04:59:20 EDT
OK, I have no Mac, so can't neither confirm nor bisect. Karsten, you may try to bisect SWT and try to find out where it was introduced during 4.14. I assume it works on 4.13?

Till, you are Mac user, do you see this bug too?
Comment 5 Pierre-Yves Bigourdan CLA 2020-03-31 04:16:35 EDT
I'm able to reproduce this when changing the "Uncommitted Change Font". If that font is different from the system one, changed entries in the Package Explorer may appear differently.