/srv/irclogs.ubuntu.com/2017/12/19/#xubuntu-devel.txt

=== SwissBot_ is now known as SwissBot
Unit193Uhhh....Notifyd is clipped.11:43
ochosiUnit193: this should always have been the case, it just never worked before... otherwise notifications can get reaaaaallllly loooooooong15:44
ochosi(horizontally, not vertically)15:44
ochosiwith gtk2 there were methods to set a max width effectively, with gtk3 that doesn't work anymore, so it's not easy to just let the window vertically grow and leave it at the sam width15:45
Unit193Maybe, but it is trimming them too short.20:09
Unit193ochosi: In this case they're being trimmed very short, there's got to be something between "Scolls off the screen" and "Too short to be useful", right?20:31
Unit193My patch makes it more agressivly wrap, but it still doesn't trim long lines, pango/gtk is weird.20:32
ochosiyeah, i know it's weird21:10
ochosiif you have a patch, feel free to submit it21:10
ochosiideally we can limit the width and offer increased height21:11
Unit193Well as I said it doesn't precisely work.21:11
ochosihow did you get it to "more aggressively wrap"?21:12
Unit193ochosi: Too much so, but http://paste.openstack.org/show/HZwklr8Clt7YxTPLaNPk of course.21:20
Unit193I mean, you know gtk and the thing better than I do, so you can do it much better than I can..21:20
ochosihttps://git.xfce.org/apps/xfce4-notifyd/tree/xfce4-notifyd/xfce-notify-window.c#n21521:24
ochosithe /2 is in fact a /6021:24
Unit193Makes it shorter! :D21:24
ochosiand the problem is the heuristic for determining the actual screen_width is flawed (i always knew) but trying to properly handle that is actually quite a bit of work :s21:24
ochosimaybe some newer gtk functions allow for a better matching of character-width/pixel-density of displays etc21:25
Unit193Anyway, as it is now it doesn't wrap at all, just trims.21:26
Unit193I think I'll just drop gtk_label_set_ellipsize and call it a day.21:27
Unit193ochosi: Either way, thanks for looking into it again.21:28
ochosisure, no worries21:31
ochosifeel free to report it as a bug so i don't forget properly looking into it again21:31
ochosii was just frustrated with the pixel density crap21:32
ochosii dont even have the hardware to test such things21:32
ochosiand i'm too lazy to read gnome shell code ;)21:32
Unit193Gah...  Now I have to form a bug title and body that'll make sense to you later.21:32
=== Unit193 is now known as JackFrost
=== hggdh is now known as desole

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!