callmepkgood morning01:03
dufluHi callmepk 01:03
callmepkhey duflu 01:07
seb128goood morning desktopers06:21
dufluMorning seb128 06:46
oSoMoNgood morning desktoppers07:17
dufluHi oSoMoN 07:19
dufluIt's quiet here07:19
oSoMoNhey duflu 07:31
oSoMoNquiet is good :)07:32
callmepkmorning seb128 oSoMoN 07:53
didrocksgood morning08:04
dufluMorning didrocks 08:18
didrockshey duflu 08:21
callmepkmorning didrocks 08:27
didrockshey callmepk 08:38
seb128hey duflu oSoMoN callmepk how are you?08:53
seb128didrocks, salut! en forme ?08:53
dufluseb128, going well. It was an early morning but good sleep followed by pilates. And making good progress. You?08:54
didrocksseb128: ça va, et toi ?08:54
didrockswondering how far I’ll be able to start running tomorrow :)08:54
didrockshave to plan for some tracks08:54
seb128I'm alright, usual lack of sleep but otherwise izfine08:55
seb128didrocks, on the news they had a guy who did a marathon distance on his balcony, go round in the garden? ;-)08:55
oSoMoNgood afternoon callmepk, salut didrocks & seb128 08:58
callmepkseb128 i am okay, just busy08:58
didrocksseb128: well, the garden isn’t runnable TBH yet :p09:00
didrockssalut oSoMoN 09:01
didrockshey Laney 09:06
dufluHi Laney09:09
seb128hey Laney, how are you?09:16
Laneyhey didrocks duflu seb128 09:21
Laneynot too bad thanks09:21
oSoMoNhey ho Laney 09:24
Laneyyo oSoMoN 10:19
Laneyhuh why do graphical snaps work for me on wayland without the SRU11:03
seb128Laney, wayland native apps?11:04
WimpressMorning o/11:05
Laney * Try to run "chromium" from the terminal. Without the fix, it will fail11:05
Laney   with the error "Unable to open X display". With the fix applied, it11:05
Laneyhey Wimpress 11:05
Laney   will launch as normal.11:05
LaneyI did that11:05
seb128hey Wimpress 11:08
seb128Laney, weird :/11:08
LaneyI think maybe I'm running a super old mutter and haven't restarted in ages11:11
* Laney does that11:11
Laneyand works with the sru :>11:20
LaneyTrevinho: you should copy that mutter to hirsute-proposed btw11:24
Laneydo you know how?11:24
TrevinhoLaney: yeah, I was wondering that yesterday11:24
TrevinhoLaney: well copy-package will work no?11:24
Laneythat's what I was checking you knew how to use11:25
TrevinhoLaney: yep, even though the hardest part is now remembering the H codename :D11:26
Laneynothing will beat oneiric11:26
seb128oSoMoN, thanks for the apport tb review, I'm unsure now how the profile to use is choosed :/13:32
oSoMoNseb128, yeah, no worries, I'll take a closer look and see if I can come up with something that works in all situations13:33
oSoMoNseb128, mind sharing privately your profiles.ini ?13:34
seb128oSoMoN, https://paste.ubuntu.com/p/77MRVmcvnw/13:34
seb128oSoMoN, in that config default-release is the one in use, despite default having Default=113:35
seb128oSoMoN, do you know how firefox contacts an existing instance?14:13
seb128I was trying to poke a bit at bug #183502414:14
ubot5bug 1835024 in snapd "Links triggered within most snap apps open in a separate browser session" [Medium,Confirmed] https://launchpad.net/bugs/183502414:14
oSoMoNseb128, I think the problem is in the slack snap, or maybe the fact that it's a classic snap14:16
seb128oSoMoN, it's classic but I'm trying to see why14:18
seb128if I do 'snap run --shell code' (a classic snap I've installed)14:18
oSoMoNaccording to comment #5 in that bug the problem is not slack itself, indeed, but classic confinement14:18
seb128and 'firefox http://something' 14:18
seb128it has the same issue14:18
oSoMoNit'd be interesting to know whether there's the same problem with chromium (or another browser)14:19
seb128chromium doesn't have the issue14:20
seb128oSoMoN, it's weird, I tried to strace the firefox command into the classic snap env and outside14:36
seb128.mozilla/firefox/profiles.ini is being read similarly14:37
seb128but then they don't open the same profile14:38
seb128also the normal env one stat /tmp/firefox/.parentlock and /tmp/firefox which the other doesn't14:38
seb128the one inside the snap env end up displaying a 'Firefox is already running, but is not responding. To use Firefox, you must first close the existing Firefox process, restart your device, or use a different profile.'14:40
hellsworthgood morning desktopers14:46
=== cpaelzer__ is now known as cpaelzer
seb128oSoMoN, ok, found it!14:56
* seb128 does an happy dance14:57
ogravideos or it didnt happen !15:03
seb128https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1835024/comments/20 has the details15:06
ubot5Ubuntu bug 1835024 in snapd "firefox fails to use the default profile from classic snaps" [Medium,Confirmed]15:06
seb128but basically firefox disables the profile selection logic when SNAP_NAME is set15:06
seb128$ SNAP_NAME=bug firefox is an easier way to trigger the bug15:07
seb128(the env is set from inside classic snaps and those call directly to $webbrowser, not through the xdg-open proxy)15:07
seb128Wimpress, popey, ogra, ^ that's an issue I saw mentioned a few times impacting classic snaps, the details might be interesting to you15:08
oSoMoNseb128, good catch! so the fix would be to check for the value of $SNAP_NAME, not just whether it's set, right?15:08
oSoMoNIIRC Sergio already submitted a similar fix to upstream firefox a while back15:08
oSoMoNit must have been in another part of the codebase, I guess15:09
seb128unsure if they use different names for different channels though15:11
oSoMoNyes, that was here: https://sources.debian.org/src/firefox/82.0-1/browser/components/shell/nsGNOMEShellService.cpp/?hl=77#L7415:11
seb128but probably 'includes firefox'?15:11
ograwell, thats a gross hack in FF ... it should simply use the /current dir instead of the versioned one for searching the profile 15:11
ograusing SNAP_NAME at all seems like a very poor workaround15:12
oSoMoNregardless, that's two functions that do the same thing, but differently, and with different results, resulting in a bug, so that code should be factored out15:12
seb128ogra, their code probably resolve the symlink and they end up with ~/snap/<int>?15:12
ogramight be 15:12
ograi only read the comment above the SNAP_NAME thing 15:13
seb128oSoMoN, can you handle the upstreaming part? I don't have a mozilla account and I'm not familiar with their tools and workflow, would probably take me much longer15:13
oSoMoNseb128, I was about to ask about that :) sure, I'll file an upstream bug and will submit a patch15:13
seb128oSoMoN, thanks a lot!15:13
oSoMoNtbh their workflow is horribly and unnecessarily complicated, I always have to go back and read the doc to remember how to submit a PR…15:14
ograwhile also ugly "$SNAP_USER_DATA/../current" might work around the root cause 15:14
ogra(in a beter way than checking for SNAP_NAME at least)15:15
oSoMoNseb128, https://bugzilla.mozilla.org/show_bug.cgi?id=167415015:27
ubot5Mozilla bug 1674150 in Untriaged "snap detection code disables profile management even when not packaged/run as a snap" [--,Unconfirmed]15:27
seb128oSoMoN, thanks!15:27
seb128oSoMoN, kenvandine, I opened https://forum.snapcraft.io/t/request-autoconnect-of-interfaces-for-thunderbird/20816 btw if you guys have an opinion or comment, that's my first request to autoconnect so I'm not sure I did it right (also if gnupg by default is something we should do or not?)15:37
oSoMoNseb128, the request doesn't appear to be in any category? it should be in store-requests15:44
oSoMoNseb128, also, I think the store reviewers are going to ask you to file separate requests for each interface15:45
oSoMoNso that they can vote and track them separately15:45
oSoMoNthe request itself seems reasonable to me15:45
seb128oSoMoN, thanks, I forgot there was a category, fixed that15:46
oSoMoN(that's a mistake I made several times, and it delayed the review of my requests significantly)15:47
seb128oSoMoN, I saw https://forum.snapcraft.io/t/interface-auto-connect-request-for-the-telegram-desktop-snap-camera/20383 recently which discussed several requests in one place so I will see if that works for tb as well or if they bounce be asking to open different requests15:48
oSoMoNyeah, it might work15:49
oSoMoNperhaps I'm being overly strict/cautious15:49
seb128being cautious often helps at least to low the delays15:55
seb128does anyone understand fonts explain me the issue described on  https://gitlab.gnome.org/GNOME/pango/-/issues/483 ?16:01
seb128GunnarHj, ^ you could maybe help me there :)16:02
seb128basically it's bug #190072916:02
ubot5bug 1900729 in gnome-terminal (Ubuntu) "gnome-terminal font settings show only italic version of ubuntu mono" [Low,Confirmed] https://launchpad.net/bugs/190072916:02
seb128g-t changed to filter the fonts and include only monospace ones16:02
seb128but seems like the Ubuntu one doesn't qualify? but I don't understand why e.g16:03
seb128'Ubuntu Mono Regular' isn't considered as a monotype?16:04
oSoMoNseb128, https://phabricator.services.mozilla.com/D9517116:29
seb128oSoMoN, excellent, thanks again!16:29
oSoMoNnp, you did the hard work16:29
=== ijohnson is now known as ijohnson|lunch
kenvandineoSoMoN oh, that is cool... sergio will be happy.  He had fixed that in isRunningAsASnap but was asking recently about it18:37
GunnarHjseb128: No, I have no insight on that gnome-terminal font setting issue. It does the right thing in focal AFAICT. OTOH, isn't "Ubuntu Mono" used by default anyway due to:19:35
GunnarHjgsettings get org.gnome.desktop.interface monospace-font-name19:35
seb128GunnarHj, the issue is that pango doesn't consider the Ubuntu fonts to be monotype ones, unsure how that's defined and what's the fontconfig command equivalent to query or check the types19:39
=== ijohnson|lunch is now known as ijohnson
GunnarHjseb128: The issue I see is not specific to Ubuntu Mono. In focal gnome-terminal lets me select between Regular/Bold/Italic/Bold Italic for all the listed font families. In groovy there is only one style per family, and in the case of Ubuntu it happens (for me) to be Italic (or possibly Bold Italic). But the issue with only showing one style is present for the other font families as well.20:34
seb128GunnarHj, it's unclear to me what's wrong there20:39
seb128is that the api used to filter 'mono fonts'?20:39
seb128or the way the filtering is done20:39
seb128or the way the font lists the variants?20:39
GunnarHjseb128: I can just tell you what I see. The filter seems to pick only one monospace font per family instead of all the available monospace fonts (regular, bold etc.).20:42
seb128GunnarHj, that's what https://gitlab.gnome.org/GNOME/pango/-/issues/483 is about no?20:42
gitbotGNOME issue 483 in pango "pango_fc_family_is_monospace only looks at first file in family" [Closed]20:42
GunnarHjseb128: So it seems. And it was incorrectly closed because Matthias thought it was Ubuntu specific.20:43
seb128could you maybe comment there with your findings?20:43
GunnarHjseb128: Sure, I can do that later.20:44
seb128GunnarHj, thanks!20:44
GunnarHj                                                                                                                                                                                                                                                                                                                                                                                                                                            21:17
GunnarHj                                                                                                                                                                                                                                                                                                                                                                                                                                            21:17
GunnarHj                                                                                                                                                                                                                                                                                                                                                                                                                                            21:17
GunnarHj                                                                                                                                                                                                                                                                                                                                                                                                    seb128: I added a comment on the pango 21:17
GunnarHjissue.                                                                                                                           21:17
GunnarHjseb128: Sorry, something weird was happening with my HexChat...21:19
seb128GunnarHj, thanks for the upstream comment!21:26
GunnarHjseb128: You're welcome. Hope it helps to move it forward.21:27
seb128I hope it does as well21:28
seb128if we can't get traction upstream I think we should distro patch revert the commit21:28
GunnarHjseb128: But which commit is that? The one you pointed at on the Ubuntu bug seems to be rather old.21:33
seb128GunnarHj, indeed, I hadn't noticed, so maybe it's something else than changed behaviour and broke?21:36
seb128though in focal it seemed to list other fonts21:37
seb128I need to do another round of testing, but that's not going to be for today21:37
GunnarHjseb128: No. Only monospace, but with all the styles.21:37
seb128k, so maybe it is a pango regression21:37
seb128or gtk21:37
seb128thanks for pointing that out!21:37
GunnarHjSweet dreams. :)21:38

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