character-map-uwp / Character-Map-UWP

A modern, native UWP replacement for the Win32 Character Map and Windows Font Viewer with flawless high DPI and touch support.
MIT License
615 stars 52 forks source link

[Need testing] [Hopefully] Prevent "No such interface supported" #217

Closed ray1997 closed 1 year ago

ray1997 commented 1 year ago

By checking if file is locally provided on computer, otherwise, ask cached manager to complete update on it right away????

Need confirming if this will solve #215 or not

Edit1: Beware that test saving same file over and over the result eventually never showed up again, until testing on other file as I tried testing on saving 🤨 emoji, error pop up on SVG save, then saving on PNG no error show up. Until saving other emoji on PNG first and error eventually showed up

Edit2: Previous codes test on on no-interface branch, as I am now testing on latest release version. Saving file on OneDrive show the error and saving on local folder show successfully saved the icon

JohnnyWestlake commented 1 year ago

@ray1997 Thanks for finding this - this is strange as the CachedFileManager is only really important for OneDrive files in the first place. If it's stopped working (probably some OS update?), may as well remove the CachedFileManager calls entirely 🤔

ray1997 commented 1 year ago

I tried removed that code entirely, and the error is vanished! But I'm worry what will happen on older version of Windows...

Edit: I do have one Windows 10 machine, will build, test, and report if the problem will arise or nothing happen.

ray1997 commented 1 year ago

Test on Windows 10 version 19042 21H2 saving 🍦📿 and a few random emojis as colored glyph

None of these configurations throw error of no supported interface.