Italic _URL_ parsed as if underscores were part of the URL and error logged on click
Issue
Send or receive a URL, which was meant to appear italic, such as _https://foo.bar.tld_
.
Clicking on the link, gajim -v
logs:
14.09.2022 15:06:24 (E) gajim.c.helpers g-io-error-quark: Operation not supported (15)
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/gajim/common/helpers.py", line 925, in func_wrapper
result = func(self, *args, **kwargs)
File "/usr/lib/python3.10/site-packages/gajim/common/helpers.py", line 1020, in open_uri
Gio.AppInfo.launch_default_for_uri(uri.data)
gi.repository.GLib.GError: g-io-error-quark: Operation not supported (15)
Gajim's UI does not display any errors to the user. For the latter it simply looks like nothing happened when clicking the link.
Setup
- Gajim 1.4.7
- GTK-Version: 3.24.34
- GLib-Version: 2.72.3
- PyGObject-Version: 3.42.2
- Cairo-Version: 1.16.0
- python-cairo-Version: 1.20.1
- python-nbxmpp-Version: 3.2.1