Ramez Ragaa
Ramez Ragaa
duplicate of https://github.com/unoplatform/uno/issues/12401? Edit; no, it isn't. I misread
Output of `ShowLocalVisualTree` on the problematic stackpanel on Gtk on Windows (repro): ``` >Uno.UI.Xaml.Islands.XamlIsland-(1024.0x768.0)@(0.0,0.0) d:1024.0,768.0 HA=Stretch,VA=Stretch >Uno.UI.Xaml.Controls.WindowChrome-(1024.0x768.0)@(0.0,0.0) d:532.0,555.0 HA=Stretch,VA=Stretch >Microsoft.UI.Xaml.Controls.ContentPresenter-(1024.0x768.0)@(0.0,0.0) d:532.0,555.0 HA=Stretch,VA=Stretch >Microsoft.UI.Xaml.Controls.Frame-(1024.0x768.0)@(0.0,0.0) d:532.0,555.0 HA=Stretch,VA=Stretch >Microsoft.UI.Xaml.Controls.ContentPresenter-(1024.0x768.0)@(0.0,0.0) d:532.0,555.0 HA=Stretch,VA=Stretch >SamplesApp.MainPage-(1024.0x768.0)@(0.0,0.0) d:532.0,555.0...
Output on Linux (working correctly): ``` >Uno.UI.Xaml.Islands.XamlIsland-(1024.0x768.0)@(0.0,0.0) d:1024.0,768.0 HA=Stretch,VA=Stretch >Uno.UI.Xaml.Controls.WindowChrome-(1024.0x768.0)@(0.0,0.0) d:536.0,558.0 HA=Stretch,VA=Stretch >Microsoft.UI.Xaml.Controls.ContentPresenter-(1024.0x768.0)@(0.0,0.0) d:536.0,558.0 HA=Stretch,VA=Stretch >Microsoft.UI.Xaml.Controls.Frame-(1024.0x768.0)@(0.0,0.0) d:536.0,558.0 HA=Stretch,VA=Stretch >Microsoft.UI.Xaml.Controls.ContentPresenter-(1024.0x768.0)@(0.0,0.0) d:536.0,558.0 HA=Stretch,VA=Stretch >SamplesApp.MainPage-(1024.0x768.0)@(0.0,0.0) d:536.0,558.0 HA=Stretch,VA=Stretch >Uno.UI.Samples.Controls.SampleChooserControl-'sampleControl'-(1024.0x768.0)@(0.0,0.0) d:536.0,558.0 HA=Stretch,VA=Stretch >Microsoft.UI.Xaml.Controls.SplitView-'SplitView'-(1024.0x768.0)@(0.0,0.0) d:536.0,558.0 HA=Stretch,VA=Stretch...
This appear to also be happening on Ubuntu (both firefox and chrome as far as I've tried). The log on firefox gives this:  The log on chrome is not...
There's also a workaround for `KeepInteriorCornersSquare` in ComboBox_themeresources.xaml too I think
cc. @Youssef1313
Shouldn't this be controlled in the `SkiaHostBuilder` instead? i.e. ``` SkiaHostBuilder.Create() ... .UseX11() .UseLinuxFrameBuffer() ``` should use X11 if available and fall back to FB, while ``` SkiaHostBuilder.Create() ... .UseLinuxFrameBuffer()...
this builds on top of #15875
Before:  After (uno left, winui right): 
I have quite a few X11 PRs open, so let's put this one on hold until they merge so I don't have to deal with a million conflicts.