/srv/irclogs.ubuntu.com/2020/11/11/#ubuntu-desktop.txt

callmepkgOOD MORNING02:26
sarnoldhey callmepk :)02:28
callmepkhi sarnold 02:28
dufluhI callmepk :)04:01
callmepkhey duflu 04:59
seb128goood morning desktopers06:10
oSoMoNgood morning desktoppers06:34
dufluMorning seb128 and oSoMoN 06:39
oSoMoNgood afternoon duflu 06:40
oSoMoNsalut seb128 06:40
seb128hey duflu, lut oSoMoN, how are you?06:40
oSoMoNI'm feeling better, and you?06:41
seb128oSoMoN, do you have any pointer to documentation on how to submit a patch to thunderbird? 06:41
seb128oSoMoN, I'm alright thanks!06:41
dufluseb128, going well, you?06:42
dufluOh, right 06:42
seb128duflu, I'm alright :-)06:42
oSoMoNseb128, https://developer.thunderbird.net/ ?06:42
seb128oSoMoN, I've to admit I've been lazy and asked in case before starting to search, you said recently it was an annoying process when you did that firefox patch (which isn't getting reviewed :-()06:43
seb128oSoMoN, I think https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1903805 is due to https://sources.debian.org/src/thunderbird/1:78.4.1-1/browser/components/shell/nsGNOMEShellService.cpp/?hl=205#L205 mentioning firefox, I will try to submit a change for that06:44
ubot5Ubuntu bug 1903805 in thunderbird (Ubuntu) "Thunderbird snap keeps asking to be the default email client" [High,Confirmed]06:44
oSoMoNyeah, the process is, imho, unnecessarily complex, and requires quite a bit of set up before you can actually submit a patch, which I think is a deterrent to potential contributors06:44
oSoMoNright06:45
oSoMoNseb128, that code is shared between firefox and thunderbird, so you can follow the firefox process for submitting patches06:46
oSoMoN(good luck!)06:46
seb128oSoMoN, thanks, being shared means I don't get to just change the name probably, but then I guess there is a variable for the product name that can be used06:47
seb128also unsure xdg-settings has the same facility for email06:48
seb128$ xdg-settings get default-url-scheme-handler email06:48
seb128$06:48
seb128at least on my install06:48
seb128oSoMoN, is the xdg-settings call proxying to the real system, do you remember? 06:49
seb128like for firefox it's really managing to change the default?06:49
luna_morning 06:53
luna_Firefox 83 RC2 releases 18:00 Berlin Time so tonight06:53
oSoMoNseb128, there's a xdg-setting proxy in snapd that forwards a subset of the calls to the host IIRC06:54
seb128oSoMoN, thanks (and the command works, just it's 'mailto' as argument, I'm not awake enough yet)06:57
seb128hey luna_, are you feeling better today?06:58
dufluMorning luna_ 07:03
oSoMoNgood morning luna_ 07:04
oSoMoNand good morning ricotz 07:04
ricotzgood morning oSoMoN duflu 07:08
dufluHi ricotz 07:08
seb128hey ricotz, how are you?07:12
luna_morning duflu and oSoMoN 07:14
marcustomlinsonmorning desktoppers07:21
dufluMorning marcustomlinson 07:22
ricotzhey seb128 marcustomlinson 07:26
oSoMoNgood morning marcustomlinson 07:33
didrocksgood morning07:35
dufluMorning didrocks 07:35
didrockshey duflu 07:37
marcustomlinsonhey duflu ricotz oSoMoN and didrocks07:38
didrocksmorning marcustomlinson 07:42
Laneyyo09:07
seb128hey Laney, marcustomlinson, how are you?09:07
didrockshey Laney, seb128 09:12
seb128lut didrocks 09:13
oSoMoNyo Laney 09:14
didrockssalut oSoMoN 09:15
oSoMoNsalut didrocks 09:15
oSoMoNdidrocks, not enjoying a day off today?09:15
dufluMorning Laney09:23
Laneymoin seb128 didrocks oSoMoN and duflu!09:26
didrocksoSoMoN: no, enjoying +1 duty rather :p09:27
didrockswill probably swap later09:27
* didrocks thinks we can soon have Go 1.15 transition over09:28
Laney\o\09:28
marcustomlinsonhey Laney and seb12809:38
marcustomlinsonseb128: doing ok thanks! Yourself?09:38
seb128marcustomlinson, I'm alright :)09:41
seb128jamesh, are portal supposed to be able to calls snap? asking to try to make sense of https://discourse.ubuntu.com/t/thunderbird-snap/19156/1909:53
jameshseb128: reading09:53
jameshseb128: there shouldn't be any difference09:55
didrocksthose golang- bindings are really frustrating to deal with, if you update one, the other will break and vice-versa (really, golang libraries are not made to be packaged into a distro)09:57
seb128jamesh, using portal-test  it has a .txt example, it lists for me firefox/libreoffice/gedit (debs) where nautilus also lists on a .txt sublime and vscode which are snaps I've installed09:58
seb128jamesh, ah, sorry, there is a '...' button at the bottom but it's not very visible10:00
seb128that includes those options10:00
seb128and it works10:00
seb128oh well, I will poke a bit more on the thunderbird side10:00
seb128jamesh, thanks for the reply!10:00
jameshseb128: you had me worried that the portal service started by dbus might have had a different environment to Nautilus started by gnome-shell10:01
seb128sorry!10:01
jameshthere's definitely been some issues with the way snapd injects itself into PATH and XDG_DATA_DIRS, but I didn't think we'd seen those on default Ubuntu sessions10:02
seb128the thunderbird attachments handling and custom xdg-open wrapper thing isn't great for sure, I can confirm that opening a pdf from the composer fails here10:04
seb128user-open error: request declined by the user (code 2)10:04
* seb128 confirms the issue and add to the backlog10:05
seb128there errors string suggests it's a snapd error, https://sources.debian.org/src/snapd/2.45.2-1/cmd/snapctl/main.go/?hl=52#L5210:06
jameshseb128: is thunderbird talking to xdg-desktop-portal directly, or are you using the mimeapps.list hack we had in the Firefox snap?10:07
jameshthe mimeapps.list thing was to get Firefox to call our xdg-open proxy for many common mime types, way back before it had native portal support10:08
seb128jamesh, I would need to check with Ken, I'm not familiar with what the snap does there but there is no mimetype hack in the snapcraft.yaml at least10:09
seb128but thunderbird suggests 'system handler' as the app choice and sometime 'xdg-open' so it feels hackish, unsure how that glue is done10:10
jameshseb128: if it says "system handler", then  that's the native portal support.  If it says xdg-open, then it is picking up the /usr/share/applications/xdg-open.desktop file from the base snap10:12
jameshmaybe being directed to use it by a mimeapps.list file10:12
seb128if I click 'other' on the open dialog it lists 'Url Handler Script' which is a weird name10:13
seb128jamesh, thanks for the pointers, I asked the user to report a bug, I will poke a bit more later and talk to Ken10:14
seb128but I need to step out for a bit now10:14
seb128execve("/usr/bin/snapctl", ["snapctl", "user-open", "/run/user/1000/doc/7b39c39f/boarding-pass.pdf"], 0x564e809878d8 /* 116 vars */ <unfinished ...>10:18
seb128$ snapctl user-open /run/user/1000/doc/7b39c39f/boarding-pass.pdf10:18
seb128user-open error: request declined by the user (code 2)10:18
seb128(in a --shell env)10:19
seb128k, on that note I step out really for a bit, bbl10:19
Nafalloseb128: even the system tells you to not fly anywhere at the moment! *cry*11:03
=== ijohnson is now known as ijohnson|lunch
=== ijohnson|lunch is now known as ijohnson
seb128RAOF, I saw didrocks' mentioning you fixed the colord build issue and checked in salsa, I assume it needs sponsoring so I'm going to go ahead and upload20:15
RAOFseb128 oh, yes please.20:17
seb128RAOF, hey, and done ;-)20:17

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