Kunal Mehta

Results 313 comments of Kunal Mehta

I added logging to dump the values of `job.get_page_ranges()` and `job.get_pages()` and it looks correct to me. It returned the page range I put in (off by one, guess it's...

I spent a while reading the evince code because we know that print dialog works...unfortunately it's C, but as far as I can tell, we're doing roughly the same thing?...

> Probably would be more useful to find a Python GTK application that has a working print dialog and copy that. I looked through Debian codesearch and all of GitHub...

Thanks @GeopJr, that seems promising, except I don't think it'll work for us on Debian bookworm :/ https://api.pygobject.gnome.org/Gtk-4.0/class-PrintDialog.html#gi.repository.Gtk.PrintDialog says it was only added in 4.14, but [bookworm ships 4.8.3](https://packages.debian.org/source/stable/gtk4). (I...

(just rebased to pick up the -builder related changes)

For reference, here's what the new dialog looks like: ![printer-no-ranges](https://github.com/user-attachments/assets/fbfb1776-eccb-44e7-8e3c-4bda8c76ba29)

I'm not sure if anyone has before, but we could also look into [tcplay](https://github.com/bwalex/tc-play), which is already packaged in Debian and doesn't have the same licensing issues.

> Do we actually gain anything by having `securedrop-client` use the Arti library in-process, as we've assumed we'd do? Since in v3 we had the client creating HTTP requests and...

> But given that we're leaning towards having it as a separate program and just use SOCKS, I don't think it matters for the completion of this task whether or...

> my suggestion is that we aim for upgrading Debian 13 after the 4.3 migration Fantastic, and agreed.