[06:26] <oSoMoN> good morning desktoppers
[06:39] <duflu> Hi oSoMoN 
[06:53] <oSoMoN> hi duflu 
[07:10] <didrocks> good morning
[07:14] <oSoMoN> salut didrocks 
[07:17] <duflu> Morning didrocks 
[07:18] <didrocks> salut oSoMoN, hey duflu 
[07:48] <seb128> goood morning desktopers!
[07:49] <duflu> Hi seb128. How goes?
[07:50] <seb128> hey duflu! Going alright, we finally got some rain! and you?
[07:53] <didrocks> hey seb128, lucky you. no rain here :p
[07:53] <didrocks> but doing good, staying inside :)
[07:55] <duflu> seb128, I am feeling better today
[07:58] <seb128> lut didrocks!
[07:58] <seb128> duflu, great!
[08:32] <slyon> Hey Desktop people! May I ask for your comment on https://bugs.launchpad.net/ubuntu/+source/libchart-perl/+bug/1982461 (cc didrocks seb128)
[08:53] <lissyx> oSoMoN, sorry to be pushy, have you had time to had a look yet at debug symbols?
[09:00] <oSoMoN> lissyx, not yet, give me a bit of time, I have other urgent things on my plate
[09:01] <lissyx> :)
[09:59] <lissyx> > Jul 21 16:27:23 UM425IA firefox[353281]: Can't open portal file chooser: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
[09:59] <lissyx> sounds like some missing xdg-desktop-portal package nope?
[10:01] <lissyx> oSoMoN, btw I've asked kelsey if she can push upstream your angle build fix
[11:55] <oSoMoN> lissyx, yes, that looks like a missing portal package
[11:55] <oSoMoN> and thanks for the angle fix!
[11:56] <lissyx> oSoMoN, emilio already needinfo?'d you on the missing portal package bug
[11:57] <lissyx> seems like it's not the first case, and according to the reporter it was consistent repro over several install from scratch
[11:58] <oSoMoN> I'll take a look when I get to my stack of needinfo
[13:04] <lissyx> seb128, oSoMoN, do you have knowledges on snap/desktop helpers for fontconfig?
[13:05] <seb128> lissyx, better to just ask your question, but between us and kenvandine we should be able to reply I think
[13:05] <lissyx> this https://github.com/ubuntu/snapcraft-desktop-helpers/blob/ec861254c2a1d2447b2c589446e6cdf04c75c260/common/desktop-exports#L288-L292 seems to put /snap/firefox/x1/gnome-platform/usr/share/fonts/ first in the list, and it seems to mess with fc-match
[13:05] <lissyx> and this is likely to explain the differences in https://bugzilla.mozilla.org/show_bug.cgi?id=1767925#c16
[13:06] <lissyx> (but it's unclear to me how this script ends up in the firefox-snap)
[13:06] <oSoMoN> lissyx, "extensions: [gnome-3-38]" is what pulls in the desktop-helper script in the snap
[13:07] <oSoMoN> the source lives in the snapcraft project
[13:07] <seb128> hum, https://bugzilla.mozilla.org/github.cgi returns an error for me and the bug url sends me to auth page so I guess it's not public?
[13:08] <lissyx> no it's public
[13:08] <lissyx> maybe there's some networking issues ?
[13:09] <seb128> the 'log with github' wasn't working yesterday already and I'm in a different location today, weird
[13:09] <lissyx> oh
[13:10] <seb128> browsing the bug works in a private instance at least, dunno why my profile redirect me to auth
[13:10] <lissyx> asking matrix
[13:13] <lissyx> I'm trying to understand exactly why fc-match changes the ordering
[13:13] <seb128> it seems to work in a private instance or another browser so I guess something with my profile :/
[13:13] <lissyx> my guess is that it's because the path is earlier
[13:14] <seb128> Gunnar is the one around who knows the best about fonts but I haven't seen him online recently
[13:18] <lissyx> oSoMoN, yeah ok https://github.com/ubuntu/snapcraft-desktop-helpers/blob/master/gtk/Makefile#L6
[13:19] <oSoMoN> lissyx, yes, but note that snapcraft-desktop-helpers is deprecated, that code has been merged into snapcraft itself
[13:21] <seb128> lissyx, https://github.com/snapcore/snapcraft/tree/main/extensions/desktop/ 
[13:21] <lissyx> yes found it at the same time
[13:21] <lissyx> trying to figure out how I could test hacking the file to verify if it's just ordering
[13:22] <seb128> I'm unsure how fontconfig determine what is the best match for a font
[13:22] <lissyx> maybe it will be easier to unsquash the rootfs and repack ...
[13:23] <seb128> if the config is in $XDG_CONFIG_HOME/fontconfig/fonts.conf you should be able to just edit from within the shell env?
[13:24] <lissyx> but within the snap it's ro
[13:26] <seb128> why? it's an userdir file
[13:27] <lissyx> https://github.com/snapcore/snapcraft/blob/main/extensions/desktop/command-chain/desktop-launch#L3
[13:27] <lissyx> not sure wheere I can find this "gnome-platform"
[13:27] <lissyx> reading the gnome-3-38-2004-sdk I cant find
[13:29] <seb128> lissyx, it's basically /snap/gnome-3-38-2004/current/ bindmonted 
[13:31] <seb128> lissyx, https://github.com/snapcore/snapcraft/blob/main/snapcraft/extensions/gnome.py#L143
[13:31] <lissyx> ok so the ordering seems to have no impact
[13:37] <seb128> lissyx, FC_DEBUG=1 fc-match :family=Times suggests it doesn't know about the nimbus font in the snap env
[13:40] <lissyx> how come
[13:40] <lissyx> fc-list shows it
[13:43] <seb128> I failed at grepping properly sorry
[13:43] <seb128> the order of fonts listed with that debug env is different though
[13:44] <lissyx> yeah I see that myself
[13:54] <lissyx> combining --shell and --strace does not help
[14:04] <seb128> lissyx, it's because the snap env doesn't have /etc/fonts/conf.d/61-urw-nimbus-roman.conf
[14:05] <lissyx> is it fixable?
[14:06] <lissyx> because it sounds like it means we will get broken fontconfig matches then
[14:07] <seb128> if you mkdir ~/snap/firefox/current/.config/fontconfig/conf.d; cp /etc/fonts/conf.d/61-urw-nimbus-roman.conf ~/snap/firefox/current/.config/fontconfig/conf.d it works
[14:08] <lissyx> yallah
[14:08] <lissyx> seb128, should I file a bug somewhere on launchpad then?
[14:09] <seb128> lissyx, I would start by https://github.com/ubuntu/gnome-sdk/issues
[14:10] <lissyx> seb128, while that's enough to get the fc-match to pass, that's still not enough for the pdf in the doc
[14:10] <lissyx> I dont have a good way to get the fonts it loads so far
[14:11] <seb128> lissyx, that's only one config, try to cp * from that etc dir
[14:12] <lissyx> yes
[14:12] <lissyx> that's what I was trying
[14:12] <lissyx> I dont know exacly which one we need
[14:12] <lissyx> but after copying all, it's looking good
[14:15] <seb128> lissyx, I'm not familiar with how that work, https://forum.snapcraft.io/t/snap-package-cannot-read-fonts-conf/ is a similar discussion
[14:18] <seb128> hum, IRC doesn't like the wifi here for some reasons...
[14:18] <seb128> lissyx, unsure if that went through, but I was pointing out https://forum.snapcraft.io/t/snap-package-cannot-read-fonts-conf/ which is similar
[14:18] <seb128> also https://github.com/snapcore/snapcraft/pull/3586
[14:18] <lissyx> seb128, yes I saw this PR
[14:18] <lissyx> seb128, this is the one that added the gnome-platform dependency that I was at first suspeting of forcing DejaVu
[14:19] <seb128> my understanding is that the system /etc/fonts/conf.d should be available to the snap
[14:20] <seb128> so the issue seems in the desktop helper
[14:21] <seb128> well, in fact 
[14:21] <seb128> lrwxrwxrwx 1 root root  32 mars  23 14:52 /etc/fonts/conf.d/70-no-bitmaps.conf -> ../conf.avail/70-no-bitmaps.conf
[14:21] <seb128> but
[14:22] <seb128> lrwxrwxrwx 1 root root  54 sept. 16  2020 /etc/fonts/conf.d/61-urw-nimbus-roman.conf -> /usr/share/fontconfig/conf.avail/urw-nimbus-roman.conf
[14:22] <seb128> and the /usr target doesn't exist in the snap env
[14:22] <seb128> so either we need to fix those packages to point to ../conf.avail 
[14:23] <seb128> or we need make the target available somehow
[14:23] <lissyx> that's getting out of my scope :)
[14:23] <seb128> right, please just open a bug on github
[14:23] <seb128> I will get it on our team backlog
[14:23] <lissyx> it's done already
[14:23] <lissyx> https://github.com/ubuntu/gnome-sdk/issues/49
[14:23] <seb128> thanks
[14:24] <seb128> kenvandine, ^ who would be the right person for that one?
[14:24] <lissyx> and your workaround verified and shared on bugzilla
[14:24] <lissyx> so at least it unblocks people
[14:24] <seb128> right
[14:26] <sil2100> Hello desktop! Just a quick question as I'm doing an SRU run in the background for jammy with .1 in mind - any desktop-related SRUs you'd like to get in for .1 that are already in the queue?
[14:27] <lissyx> seb128, by any chance do you know how snap detects a snap is still running?
[14:27] <lissyx> (and I tried to get bugs organized a bit with https://bugzilla.mozilla.org/show_bug.cgi?id=1780424 https://bugzilla.mozilla.org/show_bug.cgi?id=1780393 and https://bugzilla.mozilla.org/show_bug.cgi?id=1780394)
[14:28] <seb128> lissyx, for the refresh awareness thing? no, sorry
[14:28] <seb128> #snappy might be able to help though
[14:29] <seb128> sil2100, hey, I asked on #ubuntu-release in the past days about the ones I knew so I think we should be alright but I will let other reply if I missed anything
[14:37] <ricotz> sil2100, hi :), libreoffice/jammy would be nice to have, but it might be difficult with the current launchpad builders situation - https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1981966
[14:52] <sil2100> seb128: \o/
[14:53] <sil2100> ricotz: ok, I'll take a look at that shortly
[14:54] <ricotz> sil2100, thank you very much
[15:01] <seb128> sil2100, don't forget about the langpacks though
[15:01] <sil2100> seb128: the export is happening as we speak!
[15:01] <sil2100> Per RT: #152087
[15:08] <lissyx> seb128, ok i'll dig through the code then