NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
16.97k stars 13.34k forks source link

Whatsapp for linux missing glib-networking #126485

Open hqurve opened 3 years ago

hqurve commented 3 years ago

Describe the bug Whatsapp for linux shows a blank page stating "TLS/SSL support not available; install glib-networking"

To Reproduce Steps to reproduce the behavior:

  1. Install whatsapp for linux
  2. Launch it

Screenshots Screenshot from 2021-06-10 10-04-44

Additional context I installed the package using nox however, I doubt that has anything to do with the problem

Notify maintainers @wandersoncferreira

Metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.40, NixOS, 21.05.876.60cce7e5e1f (Okapi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.12`
 - channels(root): `"nixos-21.05.876.60cce7e5e1f"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:
Kranzes commented 3 years ago

have you tried enabling glib-networking like it asked you? like so services.gnome.glib-networking.enable = true;

hqurve commented 3 years ago

Just tried it (by adding it to my configuration file), same result.

Kranzes commented 3 years ago

a reboot or quitting x11/wayland might be needed...

hqurve commented 3 years ago

Thanks very much. Also, is there a location where solutions to problems like this can be found (beyond github's issue page)? I initally thought that it was a packaging issue since glib-networking was not a arguement for the package.

hqurve commented 3 years ago

Update: upon starting the application, it produces two errors

Settings: Key file does not have key “allow_permissions” in group “Network”
Settings: Key file does not have key “header_bar” in group “General”

And upon scanning the qr code,

Settings: Key file does not have key “allow_permissions” in group “Network”

get produced (again) and the interface freezes.

hqurve commented 3 years ago

Update update: I added the necessary keys to ~/.config/whatsapp-for-linux/settings.confand all the errors have disappeared, but the application still freezes upon scanning the qr code

Kranzes commented 3 years ago

i could try doing more testing but i cant even get anything to show up... image

hqurve commented 3 years ago

yes, thats exactly what happens after I scan the qrcode and resize the window (hence forcing a redraw)

hqurve commented 3 years ago

Okay, after downloading the source and modifying the uri to another website, the application works well. I believe that it is not a packaging issue and ill report the issue on the upstream repo

jtojnar commented 3 years ago

I initally thought that it was a packaging issue since glib-networking was not a arguement for the package.

It is a packaging issue, see also https://github.com/NixOS/nixpkgs/pull/126591.

hqurve commented 3 years ago

see also #126591.

Does the application work under with this PR?

Also, the application works when recompiled with a different URL, however, when navigating to web.whatsapp.com, the same issue persists.

jtojnar commented 3 years ago

That is just documentation PR.

hqurve commented 3 years ago

oh, didnt realize

dmedinag commented 2 years ago

I'm also experiencing this. This was not an issue when I was using Gnome, but now that I'm on lightdm+i3 this happens to me as well. My metadata:

 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.64, NixOS, 21.05.20210916.ebf419e (Okapi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.4pre20210908_3c56f62`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
stale[bot] commented 2 years ago

I marked this as stale due to inactivity. → More info