After upgrading ubuntu from 18.04 to 20.04, Vscode GitLense extension can't open the diff tool or diff tool opened but report that the temp file created by git is not found.
If I run the diff tool outside of Vscode ( from the terminal ) it works as expected, also if the diff tool already started from the terminal, then Vscode GitLense is also able to open the diff tool.
System:
Ubuntu 20.04 just upgraded from 18.04
Vscode installed as snap - was moved to snap automatically during os upgrade from 18.04. Before the upgrade, the tool worked.
Git diff tool is meld (I tried with Vscode as diff tool as well, not working)
I figured out that the diff temp file is created in /tmp but then removed right away, and this causes the diff tool to crash (meld) or open but report that the file is not found (Vscode as diff tool)
Reinstalling Vscode as .deb package ( not as snap ) fixes the issue.
Is there a way to fix this for Vscode installed as a snap?
I'm fine with using Vscode that is installed not as snap, but it's a shame that I wasted a few hours on triangulating why the tool stopped working after I upgraded ubuntu from 18.04 to 20.04
Reset to default