Clicking on URL without scheme does not open a web page
Versions
- OS: Ubuntu 20.04
- Gajim version: 1.4.7
- GTK version: 3.24
- Python-nbxmpp version: 2.0.4
Steps to reproduce the problem
- Send a message such as "www.example.com"
- Click on the link in the gajim window
Expected behavior
It should open the link in a web browser, assuming http as the scheme.
Actual behavior
Error message on console (this exact message is from version 1.3.3, but I got an identically-worded error from 1.4.7):
29/07/22 00:48:28 (E) gajim.c.helpers g-io-error-quark: Operation not supported (15)
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gajim/common/helpers.py", line 1018, in func_wrapper
result = func(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/gajim/common/helpers.py", line 1113, in open_uri
Gio.AppInfo.launch_default_for_uri(uri.data)
gi.repository.GLib.GError: g-io-error-quark: Operation not supported (15)