freedomofpress / dangerzone

Take potentially dangerous PDFs, office documents, or images and convert them to safe PDFs
https://dangerzone.rocks/
GNU Affero General Public License v3.0
3.47k stars 161 forks source link

In Tails, the window name is "__init__.py" #135

Closed micahflee closed 1 month ago

micahflee commented 2 years ago

dangerzone-install-container

micahflee commented 2 years ago

This should be a really simple fix but I tried a few things and nothing is working. I don't want to hold up a release on this issue, so I removed the milestone.

deeplow commented 2 years ago

Found an explanation that may help:

gnome-shell tries to match the window to an an app (a ShellApp instance) and use that name. The code do that is here: http://git.gnome.org/browse/gnome-shell/tree/src/shell-window-tracker.c#n328

But if it fails to find ShellApp for the window then it falls back to using the ICCCM specified WM_CLASS (spec is at http://tronche.com/gui/x/icccm/sec-4.html#s-4.1.2.5) here: http://git.gnome.org/browse/gnome-shell/tree/src/shell-app.c#n361

The thread itself is for GTK but this looks like the plausible source of the problem. And in this case, this issue should affect all gnome-based distros and not just tails.

apyrgio commented 1 month ago

I'm closing this issue, since we've made some improvements in this front. Notably, in the latest Tails release, using the candidate installation instructions, I can verify that this issue is resolved.