Closed filiperinaldi closed 6 years ago
This seems to be a HighDPI issue. I've noticed it also on Linux, on a system with display scaling == 2. It's fine on a different machine that is almost the same software but not HighDPI.
(I'm virtually certain that the width to allow is being computed in actual pixels, but applied in virtual pixels.)
Yes, the problem is in ListViewDelegate::paintLog(). The screenshot does not show, but when there are multiple markers on the same commit (tags, branches, etc) then they have compounding gaps. For this, the problem is in ListViewDelegate::addTextPixmap().
I have a fix now for both issues (I just need to clean-up and put back the conditionals QT5 flags before sending a PR): https://github.com/filiperinaldi/qgit/commit/c5cf6d0135a0ca30a050318051898d5580fdf643.
There is a big gap between the ref names and the text following them in the 'Rev list' view under MacOS. See screenshot:
It works fine (no gap) when running QGit in debug mode. But in this case, the fonts are very pixelated.