You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
No transparency on tooltip corners and windows with custom template in version 0.10.15
To Reproduce
<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" Width="200" Height="100"
x:Class="AvaloniaApplication1.MainWindow"
SystemDecorations="None"
WindowStartupLocation="CenterScreen"
Title="AvaloniaApplication1" Name="Wnd">
<Window.Template>
<ControlTemplate TargetType="Window">
<Border Name="newBorder" CornerRadius="50" Background="Green" >
<ContentPresenter Name="ContentPresenter" Margin="{TemplateBinding Padding}" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" />
</Border>
</ControlTemplate>
</Window.Template>
<StackPanel Orientation="Vertical">
<TextBlock HorizontalAlignment="Center" Foreground="White" Margin="10">Заголовок</TextBlock>
<Button HorizontalAlignment="Center" Click="OnButtonClick" Margin="10" Content="123" >
<ToolTip.Tip>
<StackPanel>
<TextBlock Classes="h1">ToolTip</TextBlock>
<TextBlock Classes="h2">A control which pops up a hint when a control is hovered</TextBlock>
</StackPanel>
</ToolTip.Tip>
</Button>
</StackPanel>
</Window>
Expected behavior
Must be transparent
Screenshots
Desktop (please complete the following information):
OS: MacOS Catalina 10.15
Avalonia Version 0.10.15
Additional context
This problem in version 0.10.15. Version 0.10.14 is ok.
Also if take libAvaloniaNative.dylib from version 0.10.14 and put it to binary version 0.10.15, then everything works.
The text was updated successfully, but these errors were encountered:
The macOS backend sets up a window with a transparency level of `None` but the managed code thinks it's `Transparent`, meaning that making the window transparent did nothing as it thinks it's already set.
Fixes#8419
Describe the bug
No transparency on tooltip corners and windows with custom template in version 0.10.15
To Reproduce
Expected behavior
Must be transparent
Screenshots
Desktop (please complete the following information):
Additional context
This problem in version 0.10.15. Version 0.10.14 is ok.
Also if take libAvaloniaNative.dylib from version 0.10.14 and put it to binary version 0.10.15, then everything works.
The text was updated successfully, but these errors were encountered: