[05:47] <seb128> goood morning desktopers
[05:48] <duflu> Morning seb128 
[05:48] <seb128> duflu, hey, how are you today?
[05:48] <duflu> seb128, better but not fully better. How are you?
[05:49] <seb128> I'm alright!
[05:53] <oSoMoN> good morning desktoppers
[05:54] <duflu> Hi oSoMoN 
[05:54] <oSoMoN> hey duflu 
[05:56] <seb128> lut oSoMoN, en forme ?
[06:01] <oSoMoN> salut seb128, ça va bien, et toi?
[06:05] <seb128> ça va :)
[06:10] <didrocks> good morning
[06:12] <oSoMoN> salut didrocks 
[06:14] <didrocks> hey oSoMoN 
[06:20] <seb128> lut didrocks 
[06:20] <seb128> hey ricotz 
[06:21] <didrocks> salut seb128 
[06:26] <duflu> Salut didrocks 
[06:27] <didrocks> bonsoir duflu :)
[06:27] <duflu> 2:27 PM :)
[06:28] <didrocks> bon après-m! donc :)
[07:22] <ricotz> hello desktopers
[07:27] <didrocks> hey ricotz 
[07:29] <ricotz> didrocks, hi
[07:40] <duflu> Hi ricotz 
[07:48] <oSoMoN> hello ricotz 
[10:14] <diddledani> oSoMoN: should I set 1967963 as a duplicate of 1970594 considering the latter is where we have the fix
[10:14] <diddledani> #1967963 #1970594
[10:15] <diddledani> bah bot!
[10:15] <diddledani> LP: #1967963 LP: #1970594
[10:16] <oSoMoN> diddledani, that looks like a different problem, where the reporter couldn't set the default browser in the KDE settings app
[10:16] <diddledani> oh I thought it was the same issue - both seemed related
[10:16] <oSoMoN> hence the request for more info and the incomplete status
[10:18] <diddledani> in that case then, rereading it, it does look separate. Ignore me ;-p
[10:19]  * diddledani pets her rubber duck (oSoMoN )
[10:27] <oSoMoN> I am no rubber duck!
[10:35] <diddledani> then how did I just do rubber duck decision making?! ;-p
[10:37] <ogra> oSoMoN, we had many people complain in #ubuntu that you can not run chroimum with native wayland support (i think there is even a bug open) ... i wonder if we couldn't change the desktop helpers a bit to allow overriding "DISABLE_WAYLAN😧 1" from the user side somehow (env will obviously not work since snapcraft sets it after start, but probably an extra cmdline option or so)
[10:57] <oSoMoN> ogra, I think DISABLE_WAYLAND is intended for applications which are known not to support wayland natively, so if chromium is supposed to work well with wayland these days (I haven't checked recently but I will do that again), we should simply not set it in the snap
[10:58] <ogra> oSoMoN, well, to run chromium with wayland you need to add some cmdline switches, it works fine in my electron snaps, but DISABLE_WAYLAND will make the desktop-launcher force it into XWayland so it does not even find a socket 
[10:59] <ogra> our launcher setup makes it impossible for people to test it in that context (i dont want to move chromium to wayland permanently, i just want us to have a way to not make the launcher be so strict)
[11:00] <ogra> oSoMoN, https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1897454 was the bug 
[11:02] <ogra> ... the launcher picks up the snapcraft.yaml env variable and we can not override this from the user side 
[11:04] <oSoMoN> testing now whether a repacked chromium snap without that env var works as expected
[11:05] <ogra> FORCE_WAYLAND=1  chromium --enable-features=UseOzonePlatform --ozone-platform=wayland ... if something like that would simply make the launcher "export DISABLE_WAYLAND=0" at the very top, users could force-override the hardcoded default 
[11:05] <ogra> (or "unset DISABLE_WAYLAND")
[11:06] <oSoMoN> if it does I'll remove the var (from what I read chromium still defaults to xwayland unless explicitly instructed otherwise)
[11:07] <ogra> right, i dont want the default changed ... just an option for users wanting to "explicitly instruct it otherwise" 😉
[11:07] <ogra> i.e. not a chromium change, but added launcher flexibility 
[11:10] <diddledani> ogra: oSoMoN : I forget whether this is true, but you might find traction with a change to the `environment` declaration - use a posix shell "if this is not currently defined" variable expansion the way that the desktop runtime extensions add to `build-environment` to allow for augmenting pre-existing vars like LD_LIBRARY_PATH
[11:10] <oSoMoN> in this case though I think the chromium change is the most sensible option (provided my testing validates it): chromium will still default to xwayland, but it does support native wayland, at least experimentally
[11:10] <ogra> i just assume that chromium is not the only app that would benefit from a little less strictness 
[11:11] <oSoMoN> here the use of DISABLE_WAYLAND is clearly not correct (any longer)
[11:12] <oSoMoN> sure, but I argue that the packagers of these apps should decide whether DISABLE_WAYLAND is (still) relevant to the app they package
[11:12] <ogra> especially in the light that likely more and more apps will slowly switch to native wayland, so you could optionally try running them in that context and help devs identify bugs etc 
[11:12] <oSoMoN> but it wouldn't hurt to allow overriding it, I guess
[11:14] <ogra> diddledani, i'm not sure there is a way to have the snapcraft wrapper pick it up in such a way ... but yeah, it might make more sense overriding it there than in the desktop launcher if such things work there 
[11:16] <ogra> though i think that requires a bigger change in snapcraft itself 
[11:17] <oSoMoN> diddledani, ogra: in fact I did exactly this in the firefox snap two days ago: https://git.launchpad.net/~mozilla-snaps/+git/firefox-snap/commit/?id=21aad6e1944b72b359305ad22d665802ce4df6ed
[11:17] <ogra> hah !
[11:18] <diddledani> what I was thinking is the user can export DISABLE_WAYLAND=0 somehow which based on using an environment block like `environment: { DISABLE_WAYLAND: ${DISABLE_WAYLAND:-1} }`
[11:18] <ogra> diddledani, not sure the yaml parser would permit that syntax
[11:19] <oSoMoN> yeah, I don't think so
[11:19] <ogra> (would be awesome if it did though)
[11:19] <diddledani> well it supports this: https://github.com/snapcore/snapcraft/blob/8062dfd03ddd4ba8ca3445a46b8bd0e89391fb35/snapcraft/internal/project_loader/_extensions/gnome_3_38.py#L140
[11:20] <diddledani> might need quotes
[11:20] <diddledani> other than that I think it'll work
[11:21] <ogra> DISABLE_WAYLAN😧 ${DISABLE_WAYLAN😧-1}
[11:21] <ogra> bah 
[11:21] <diddledani> EMOJI INVASION!
[11:21] <ogra> it works without the outer curly brackets here 
[11:21] <ogra> no idea if it functions as expected though 
[11:21] <diddledani> you need the curlies because it's a posix shell expansion
[11:22] <diddledani> the curlies around environment: {} are a yaml syntax thing
[11:23] <diddledani> the curlies on ${DISABLE_WAYLAND:-1} are a posix shell expansion
[11:24] <diddledani> the equivalent yaml could be: https://www.irccloud.com/pastebin/ExaSY2XG/
[11:24] <diddledani> that's identical to the line I put above
[11:25] <diddledani> these are both identical https://www.irccloud.com/pastebin/dYYwSOqB/
[11:26] <KGB-0> gtk4 tags 133c584 Simon McVittie upstream/4.6.3+ds1 * Upstream version 4.6.3+ds1 * https://deb.li/3p8dg
[11:26] <KGB-2> gtk4 pristine-tar 28e4bbd Simon McVittie gtk4_4.6.3+ds1.orig.tar.xz.delta gtk4_4.6.3+ds1.orig.tar.xz.id * pristine-tar data for gtk4_4.6.3+ds1.orig.tar.xz * https://deb.li/xJHh
[11:39] <oSoMoN> it'd be interesting to have stats on how many snaps set DISABLE_WAYLAND in their environment