Why stuck on WinUI 2? #17127
-
I recently came across a statement indicating, "and we're pretty stuck on WinUI 2 indefinitely." I'm curious to understand why Windows Terminal is sticking to WinUI 2 despite being a first-party application. I've thoroughly searched GitHub issues, Microsoft blogs, and more, but haven't found a clear answer yet. Despite being Microsoft's first-party terminal solution, positioned as a replacement for CMD and PowerShell, Windows Terminal has not migrated to its own solution, even though Microsoft is actively encouraging third-party developers to do so. This discrepancy raises questions about why Windows Terminal, as a flagship Microsoft application, is not taking advantage of newer frameworks like WinUI 3. Additionally, I'd like to mention that I have no experience or knowledge about native Windows application development. However, I'm interested in understanding why Windows Terminal is sticking to WinUI 2, despite being a first-party application. The migration to WinUI 3, facilitated by the "Windows App SDK" (formerly known as Project Reunion), would offer a seamless transition without the need for a full app rewrite, as claimed by the Windows App SDK itself. This move could enhance the user experience and enable the adoption of modern features such as proper implementation of Mica. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
There's one key thing that prevents us from using WinUI 3. SwapchainPanels on top of acrylic (and other XAML content). With the way the terminal is currently architected, each pane is a swapchainpanel with a transparent background. This lets us layer the swapchain on top of XAML content. Namely, we use that so the background of a pane can be acrylic, or an image (namely: a gif). Alas, undocked swapchains can't have transparent backgrounds. So that would mean no acrylic, and no background images. And people love their backgrounds. We've got open dependencies filed to get that sorted out, but it'll probably be a while before those get resolved. Other than that, the transition isn't that painful. We've even had someone internally prototype the conversion, so we know it can be done. We're also way off the rails in the way we're using a swapchainpanel - we always have been. This isn't something I'd expect other developers to run into in a major way. |
Beta Was this translation helpful? Give feedback.
There's one key thing that prevents us from using WinUI 3. SwapchainPanels on top of acrylic (and other XAML content). With the way the terminal is currently architected, each pane is a swapchainpanel with a transparent background. This lets us layer the swapchain on top of XAML content. Namely, we use that so the background of a pane can be acrylic, or an image (namely: a gif).
Alas, undocked swapchains can't have transparent backgrounds. So that would mean no acrylic, and no background images. And people love their backgrounds. We've got open dependencies filed to get that sorted out, but it'll probably be a while before those get resolved.
Other than that, the transition isn't that pai…