Clicking a picture preview fails to open the default image viewer (Windows, AppX)
Actual behavior
The Windows appX Gajim fails to display a picture when clicked on an inline preview.
Expected behavior
The image is displayed in the default image viewer when clicked on an inline preview.
Versions
- OS: Windows 11 (build 22621.2070)
- Gajim version: 1.8.0
- GTK version: 3.24.38
- Python-nbxmpp version: 4.3.1
Steps to reproduce the problem
- Open a random chat
- Click on a pic preview
- The default img viewer can't open it in my case it's Windows Photos app, it shows an error message: "the file has been moved or renamed" (translated from italian).
The image property inspector point to a file that is: C:\Users\frapox\AppData\Roaming\Gajim\downloads\RImBlUN_QOO9nd_Xtr1KTg_d58f03e56b2a29d739f67afce0e1b6fc193f4f49.jpg
That of course doesn't exist because it should point to: C:\Users\frapox\AppData\Local\Packages\2126Gajim.Gajim_cyk1dwtbfm75p\LocalCache\Roaming\Gajim\downloads
Where the file actually reside.