Hi all!

Since Gentoo finally unmasked Awesome 3.5, I upgraded from 3.4 and
successfully went through upgrade troubles, excluding this funny
issue.

$ echo "naughty.notify({font = 'sans 8', title = 'Title', text = 'Some
message text', timeout = 0})" | awesome-client -
$ echo "naughty.notify({font = 'sans 8', title = 'Title ✔', text =
'Some message text', timeout = 0})" | awesome-client -

The first one makes a notification with two lines as we all expect it
to be. The second one displays only title line with huge top and
bottom margins.

I see that window text height is calculated in textbox.lua with
self._layout:get_pixel_extents(). It does return different values, 24
and 26 in my case, so overall window height is 34 and 36,
respectively.

Should I increase notification window height to 38 by hand, I see both
lines again.

$ echo "naughty.notify({font = 'sans 8', title = 'Title ✔', text =
'Some message text', timeout = 0, height=38})" | awesome-client -

I'm not sure what is wrong here, Pango or Awesome or me myself. I
googled, but didn't found anything helpful.

Awesome 3.5.6, Pango 1.36.8 and 1.38.1, Lua 5.1.5, Lgi 0.9.0. In 3.4
notifications worked flawlessly.

What I'd to to fix notifications?

Reply via email to