When I am using xdg-open to open a link in Chromium, it just results in a new Chromium window with only the new tab page, with nothing else.
For example, xdg-open 'https://askubuntu.com' will just open a new Chromium window and won't open up AskUbuntu.
It just seems that the URL isn't being passed to Chromium, as invoking Chromium directly does work and opens the desired page: chromium-browser 'https://askubuntu.com' works.
Obviously, Chromium is the default browser.
Where could the problem be, and how can I fix that? It is especially annoying when some programs use xdg-open to open a link and you can't go to the page you want, or even see what was opened.