Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Window titles shifted downward when truncated following pango update to 1.44.1 #3755
I'm making this issue as an i3 equivalent to:
If the problem is ultimately with pango, they need to know how exactly i3 uses pango to raise this problem. I'm making this issue in hopes that the 2 communities can collaborate in figuring this out.
I'm submitting a…
[x] Bug [ ] Feature Request [ ] Documentation Request [ ] Other (Please describe in detail)
Window title text is shifted downwards when it's truncated due to insufficient space in titlebar:
The expected behavior is what can be seen when using pango 1.43.0 as depicted above.
Binary i3 version: 4.16.1 (2019-01-27) © 2009 Michael Stapelberg and contributors Running i3 version: 4.16.1 (2019-01-27) (pid 1100)abort…) Loaded i3 config: /home/jol/.config/i3/config (Last modified: 2019-08-02T09:19:54 PDT, 7998 seconds ago) The i3 binary you just called: /usr/bin/i3 The i3 binary you are running: i3
The problem can be seen with the default config:
Though, personally I'm testing with these relevant details:
font pango:Sans 7
font pango:Fixed 7
after following the guide I made here:
- Linux Distribution & Version: Archlinux last updated 2 or 3 days ago (no versions) - Are you using a compositor (e.g., xcompmgr or compton): No
Our code for rendering text using pango can be found here: https://github.com/i3/i3/blob/next/libi3/font.c#L86
I was thinking of making another issue for the uneven horizontal spacing shown with the slashes that can be seen in the bottom right window example in the image I provided, to reflect this other pango issue:
Because Matthias Clasen, a pango developer, expected that to be fixed with cairo from master and it wasn't, he's also wanting to know how i3 causes that to turn up. I also couldn't replicate the same issue using:
but it does happen in the i3 titlebars when using Sans 7.
So, anyway, would you like a new issue for that, since it might also be different?
Matthias Clasen took a look at the i3 code and commented the following:
i've just tested my tint2 configuration and issue with text being moved down by ellipsis is gone now, looks like either pango or cairo updated recently with a fix, because there were no recent updates of tint2
you can make sure that you are using latest versions of pango and cairo and test your i3 configuration to see was this issue fixed, because as i can see there is no need to perform additional actions for developers using these libraries