-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve file types association #348
base: master
Are you sure you want to change the base?
Conversation
Unfortunately will probably have to drop this one unless we provide a way to install fonts - the problem is the default Windows Font Viewer is used as the primary way to install fonts on the system and once we remove the default association we remove the default way for people to install fonts - to the point that various software vendors and font distributors used to have support articles recommending users uninstall Character Map UWP entirely so they could get their font installs working (which is why I had to remove them previously). There is a large non-technical user base of the app who use it for design and craft work and getting them workaround to install fonts doesn't really work. So, basically, unless we provide a font install method ourselves, we can't really do this :') And to do that, we need to be able to write to the real registry. Maybe there's a way to do it now, I haven't tried in a few years. (Fwiw, |
Unfortunate indeed. Sorry, didn't knew. I don't think setting desktop2:AllowSilentDefaultTakeOver will make a difference since, even without it, it only takes over the
AFAIK it is possible, but needs the unvirtualized registry rescap. Personally, I don't like that tradeoff. More info.
Yes but, IIRC as of Windows 10 2004, those restrictions were "lifted"/"relaxed". I can limit the associations to the current ones for now. |
Although I can see the problem, the ability to "register" the app on the Can we add a Button/MenuFlyoutItem to launch the menu so they can reverse or open the Font Viewer to install? |
The problem is I mostly work on this for people in the design / crafting community who are not very well tech versed and asking them to change their default file association ends up being harder than them uninstalling it, and the support companies for these devices they're using would rather recommend they uninstall it as it's not their problem to deal with. I'm not personally opposed to the unvirtualized registry rescap, I'll take another look at it. It will only allow install to the current user profile, but it might be good enough. |
On this front, per-user fonts should be registered at But we would need to copy the files to a file path that would survive the application getting uninstalled. Ideally they would get registered at |
AFAIK, per-user install as been the default for some time.
Just checked on how the Store handles that and it's not an option. Persist uninstall will be hard and would have to place them on a "hidden/hard to find" place to prevent accidental deletion. Microsoft 365 doesn't even registers the cloud fonts with the system. |
Add file extension logos and localized names.
I couldn't reliably add the
.ttf
extension, sometimes it would refuse to compile. I was pretty sure those restrictions were relaxed but maybe I have the wrong SDK version.Samples
OpenOTF.mp4
SetAsDefault.mp4
OpenTTC.mp4