[Bug 2064320] Re: gnome-control-center : unable to import a wireguard configuration from file

2024-05-02 Thread Sebastien Bacher
Urg, sorry about those issues :-( Thanks for confirming the file length issue ** Changed in: gnome-control-center (Ubuntu) Status: Incomplete => New ** Changed in: gnome-control-center (Ubuntu) Status: New => Triaged ** Summary changed: - gnome-control-center : unable to import

[Bug 2064320] Re: gnome-control-center : unable to import a wireguard configuration from file

2024-04-30 Thread Fabien Gagné
omg I've tried to import a new wireguard config from my VPN provider, but with a short filename; the import seemed to fail because the dialog closed immediately after selecting the file and the new VPN connection would not add to the list. Tried a second time and had a crash; submitted the

[Bug 2064320] Re: gnome-control-center : unable to import a wireguard configuration from file

2024-04-30 Thread Fabien Gagné
Whoa you nailed it. The code fails if the filename + extension is > 20 characters long. It handles the path name length correctly, it fails only if the filename + extension is longer than 20 characters. It should be good up to 255 or 32k characters, but it isn't. Will this be fixed? -- You

[Bug 2064320] Re: gnome-control-center : unable to import a wireguard configuration from file

2024-04-30 Thread Sebastien Bacher
Thank you for your bug report. It seems a bit similar to https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2679 upstream, could you try if renaming the file with a shorter name makes a difference maybe? ** Bug watch added: gitlab.gnome.org/GNOME/gnome-control-center/-/issues #2679