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

Don't show the main view during activation if it's not necessary #307

Closed YourOrdinaryCat closed 5 months ago

YourOrdinaryCat commented 8 months ago

If I open a font on a new window, and later open the app through the start menu (without having minimized, closed, or opened any windows prior), I expect to see the font I opened on the new window, not the full list of fonts. I understand opening the main font list back up when the main view is consolidated, but I don't think it should be shown every single time. In general, I think the main font list should only be shown if it was the last view the user switched to, or got closed.

I want to know if the behavior described above is something the devs would want before making a PR for it - it's all achievable through ActivationViewSwitcher, which I describe on my blog if devs are interested (the overall machinery for this scenario is not very well documented, and I haven't found many usage examples): https://yourordinarycat.github.io/dreamscape/2023/12/23/ActivationViewSwitcher.html

Edit: I just realized, it's definitely a weird time to be posting this 😅 happy holidays!