[07:14] <jibel> Good morning all
[07:16] <didrocks> good morning
[07:36] <oSoMoN> good morning desktoppers
[07:38] <duflu> Hi jibel, didrocks, oSoMoN 
[07:42] <oSoMoN> hey duflu
[07:42] <oSoMoN> salut jibel & didrocks 
[07:43] <didrocks> hey duflu, salut oSoMoN 
[08:39] <alocer> Hello all. I've forgotten where did you guys store the scripts for creating the live-cd's ?
[08:41] <alocer> I've managed to create a live image with the help of live-build from debian team. kudos to elementary/os repository on github.
[08:41] <alocer> there is another with is a custom script regolith linux repository on github is using that as well. I only want to compare different ways different teams are working to create live-cd's.
[08:42] <alocer> \m/
[08:42] <seb128> goood morning desktopers, sounds like I forgot to start IRC today!
[08:44] <oSoMoN> salut seb128 
[08:46] <duflu> Morning seb128 
[08:47] <seb128> lut oSoMoN, hey duflu, how are you?
[08:47] <duflu> seb128, not bad. You?
[08:47] <seb128> I'm alright thanks!
[08:48] <oSoMoN> I'm good, had a very relaxing week-end camping by the beach with friends.
[08:49] <duflu> oSoMoN wins the weekend
[10:56] <lissyx> oSoMoN, seb128: hello
[10:56] <lissyx> I'm wondering if you had knowledges around XDG Document Portal ?
[10:57] <lissyx> context: https://bugzilla.mozilla.org/show_bug.cgi?id=1774556#c56
[11:04] <seb128> jamesh, ^ do you maybe know?
[11:09] <lissyx> from reading the code it's not super clear to me
[11:11] <jamesh> seb128: haven't read all of the bug report, but going by the end of it, I'd expect the mkdir() calls to fail: when exposing a writable file, xdg-desktop-portal really only allows creating a temporary file in the directory provided and renaming the temporary file over the top of the real file name.
[11:15] <lissyx> jamesh, ok, do you have some reference that states that and we could link?
[11:15] <lissyx> jamesh, also, is this something fundamentally unfixable or just a choice ?
[11:17] <jamesh> lissyx, seb128: xdg-desktop-portal does have a relatively new SaveFiles() method that could potentially handle this use case: it lets the caller provide a list of files they want to save to, and returns a corresponding list of document portal paths the app can write to.
[11:17] <lissyx> jamesh, yes sergio mentionned that
[11:17] <lissyx> jamesh, although would it allow for a directory created ?
[11:18] <lissyx> jamesh, and the caller of `SaveFile` is not us, it is GTK, so it would require quite some change either on our side or GTK's
[11:20] <jamesh> lissyx: it wouldn't let Firefox create the directory, no. If xdg-desktop-portal allows path elements in the files list though, it might be possible.
[11:20] <jamesh> otherwise, Firefox would need to save all the page resources in the current directory
[11:21] <lissyx> I am unsure this is an acceptable change, it would make the behavior deviate too much.
[11:21] <jamesh> And I realise the paths are important to Firefox, since it needs to fix up URL paths in the HTML
[11:21] <lissyx> jamesh, so i'd need to try and pass SaveFiles() the HTML file as well as the resources that are living under the subdir (with the subdir)
[11:22] <lissyx> I failed to find some doc on how I could trigger a SaveFiles() manually from maybe shell or python
[11:22] <lissyx> I guess I need to try again, some python + dbus and check if we can make something like that
[11:34] <jamesh> lissyx: from the look of the xdg-desktop-portal-gtk UI implementation, you could potentially specify subdirectories for some of the files to save. I don't know if xdg-document-portal would actually create them for you when trying to write to those files though.
[11:35] <jamesh> It may also decide to rename some of the files you specify if there are existing files by those names. I imagine that'll be a problem for Firefox's use case too: https://github.com/flatpak/xdg-desktop-portal-gtk/blob/main/src/filechooser.c#L152-L174
[11:35] <jamesh> Presumably there is similar code in xdg-desktop-portal-gnome
[11:52] <lissyx> yep
[11:54] <lissyx> jamesh, I was hopeful because of https://github.com/flatpak/xdg-desktop-portal/blob/13e8307791bbd549cc882b4e368032ad8f53536d/document-portal/document-portal.c#L301-L302
[12:01] <jbicha> good morning
[20:01] <KGB-2> libsigcplusplus pipeline Jeremy Bicha 391032 * pending (extract-source: pending; build: created; build i386: created; build source: created; test-build-any: created; test-build-all: created; test-crossbuild-arm64: created; reprotest: created; lintian: created; autopkgtest: created; blhc: created; piuparts: created)
[20:10] <KGB-0> libsigcplusplus pipeline Jeremy Bicha 391032 * [8 minutes and 26 seconds] failed (extract-source: success; build: success; build i386: success; build source: success; test-build-any: success; test-build-all: success; test-crossbuild-arm64: success; reprotest: failed; lintian: success; autopkgtest: success; blhc: success; piuparts: success)