MichaelSL/blazor-wasm-test-012020 3
This is a demo WASM Blazor application. You can test regular C# expressions in your browser.
MichaelSL/docker-nginx-certbot 1
Create and renew website certificates using the Letsencrypt free certificate authority.
Ace editor for JavaScript test
MichaelSL/asp.net-multitenant-configs 0
Demo repository for multi-tenant configs
Documentation for ASP.NET Core
MichaelSL/aspnetmvc-log4net-serilog-sample 0
Sample implementation of Serilog and log4net logging to Splunk
Resources for Blazor, a .NET web framework using C#/Razor and HTML that runs in the browser with WebAssembly.
issue commentdotnet/maui
Secondary Order ToolbarItems not displayed correctly on iOS
I have the same issue, no workaround yet.
comment created time in 18 days
startedserilog-contrib/serilog-sinks-grafana-loki
started time in a month
starteddanielgerlag/conductor
started time in a month
issue openeddotnet/maui
Switch control off state style is inconsistent between iOS and Android
Description
When Switch control is turned off, the control background has different colors on Android and iOS. I also struggle to find a property which controls this color.
Steps to Reproduce
- Create a MAUI app from default template
- Place a Switch control on the screen
- Run on Android and iOS
- Turn the control on, then back off.
- Observe control background difference between Android and iOS
Link to public reproduction project repository
https://github.com/MichaelSL/NET-MAUI-Switch-Style-Bug-Repro
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android
Affected platform versions
iOS 16
Did you find any workaround?
No response
Relevant log output
No response
created time in a month
push eventMichaelSL/NET-MAUI-Switch-Style-Bug-Repro
commit sha c11453067d6c1a8f3c468426cd3cfc8b5a5d17d0
added readme
push time in a month
create barnchMichaelSL/NET-MAUI-Switch-Style-Bug-Repro
created branch time in a month
issue commentdotnet/maui
Content page styles are not loaded on first page navigation on iOS
Another possibly related issue:
when I navigate between pages, I get the following exception:
Microsoft.Maui.Controls.SolidColorBrush is already a child of Tripsta.MainPage. Remove Microsoft.Maui.Controls.SolidColorBrush from Tripsta.MainPage before adding to Tripsta.CoursePage.
Both pages use SolidColorBrush declared in Styles.xaml as a background.
comment created time in a month
startedjellyfin/jellyfin
started time in a month
issue commentdotnet/maui
Content page styles are not loaded on first page navigation on iOS
Unfortunately explicit tab declaration kills all the TabBar styles :(
comment created time in a month
issue commentdotnet/maui
Content page styles are not loaded on first page navigation on iOS
I can also confirm that SolidColorBrush
works fine on both Android and iOs
comment created time in 2 months
issue openeddotnet/maui
Content page styles are not loaded on first page navigation on iOS
Description
I have created a style for my MAUI app pages. It works fine on Android. On iOS it doesn't load the style on initial page load. If i navigate away from the page and then navigate back style is loaded.
Application uses Shell with Tabs for navigation.
Steps to Reproduce
- Create a new MAUI Application
- Create second app page
- Add Tab navigation
<?xml version="1.0" encoding="UTF-8" ?>
<Shell
x:Class="StylesLoadBugRepro.AppShell"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:StylesLoadBugRepro"
Shell.FlyoutBehavior="Disabled">
<TabBar>
<ShellContent
Title="Home"
ContentTemplate="{DataTemplate local:MainPage}"
Route="MainPage" />
<ShellContent
Title="Other"
ContentTemplate="{DataTemplate local:OtherPage}"
Route="OtherPage" />
</TabBar>
</Shell>
- Create brush for your background in `Resources/Styles/Colors.xaml':
<Color x:Key="PageBackgroundGradientStart">#0C5A56</Color>
<Color x:Key="PageBackgroundGradientEnd">#031E17</Color>
<LinearGradientBrush x:Key="PageBackgroundBrush"
EndPoint="0,1">
<GradientStop Color="{StaticResource PageBackgroundGradientStart}"
Offset="0.9" />
<GradientStop Color="{StaticResource PageBackgroundGradientEnd}"
Offset="1.0" />
</LinearGradientBrush>
- Change page style in
Resources/Styles/Styles.xaml
:
<Style TargetType="Page" ApplyToDerivedTypes="True">
<Setter Property="Padding" Value="0"/>
<Setter Property="Background" Value="{StaticResource PageBackgroundBrush}" />
</Style>
- Run the application.
Expected: page background is custom. Actual: page background is default color (Black or White depending on app theme)
- Switch to another tab
- Switch back to the home page
Now page background is customized.
Note: i tried to put Background directly into ContentPage
instead of Styles but it doesn't work either.
Link to public reproduction project repository
https://github.com/MichaelSL/NET-MAUI-iOS-Style-load-bug-repro
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
iOS 16
Did you find any workaround?
No, no workaround yet.
Relevant log output
2023-04-19 16:58:19.212346-0600 StylesLoadBugRepro[3363:21410] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=3363
2023-04-19 16:58:19.213907-0600 StylesLoadBugRepro[3363:21410] SecTaskCopyDebugDescription: StylesLoadBugRep[3363]/0#-1 LF=0
2023-04-19 16:58:19.305542-0600 StylesLoadBugRepro[3363:21410] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=3363
2023-04-19 16:58:19.305665-0600 StylesLoadBugRepro[3363:21410] SecTaskCopyDebugDescription: StylesLoadBugRep[3363]/0#-1 LF=0
Thread started: #2
Thread started: #3
Thread started: #4
Loaded assembly: /Users/michael/Library/Developer/CoreSimulator/Devices/97A00BCF-B417-47FB-A7F3-004384900EFE/data/Containers/Bundle/Application/17ECE94D-F3A4-41DF-B8BB-09B9AE6B08B2/StylesLoadBugRepro.app/System.Runtime.Serialization.Json.dll [External]
Loaded assembly: /Users/michael/Library/Developer/CoreSimulator/Devices/97A00BCF-B417-47FB-A7F3-004384900EFE/data/Containers/Bundle/Application/17ECE94D-F3A4-41DF-B8BB-09B9AE6B08B2/StylesLoadBugRepro.app/System.Private.DataContractSerialization.dll [External]
Loaded assembly: /Users/michael/Library/Developer/CoreSimulator/Devices/97A00BCF-B417-47FB-A7F3-004384900EFE/data/Containers/Bundle/Application/17ECE94D-F3A4-41DF-B8BB-09B9AE6B08B2/StylesLoadBugRepro.app/System.Runtime.Serialization.Xml.dll [External]
Loaded assembly: /Users/michael/Library/Developer/CoreSimulator/Devices/97A00BCF-B417-47FB-A7F3-004384900EFE/data/Containers/Bundle/Application/17ECE94D-F3A4-41DF-B8BB-09B9AE6B08B2/StylesLoadBugRepro.app/System.Runtime.Serialization.Primitives.dll [External]
2023-04-19 16:58:20.255065-0600 StylesLoadBugRepro[3363:21850] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=3363
2023-04-19 16:58:20.255220-0600 StylesLoadBugRepro[3363:21850] SecTaskCopyDebugDescription: StylesLoadBugRep[3363]/0#-1 LF=0
2023-04-19 16:58:20.482580-0600 StylesLoadBugRepro[3363:21410] [TableView] Warning once only: UITableView was told to layout its visible cells and other contents without being in the view hierarchy (the table view or one of its superviews has not been added to a window). This may cause bugs by forcing views inside the table view to load and perform layout without accurate information (e.g. table view bounds, trait collection, layout margins, safe area insets, etc), and will also cause unnecessary performance overhead due to extra layout passes. Make a symbolic breakpoint at UITableViewAlertForLayoutOutsideViewHierarchy to catch this in the debugger and see what caused this to occur, so you can avoid this action altogether if possible, or defer it until the table view has been added to a window. Table view: <_UIMoreListTableView: 0x7fe0b3a2d600; frame = (0 0; 0 0); clipsToBounds = YES; gestureRecognizers = <NSArray: 0x600003a30c30>; backgroundColor = <UIDynamicSystemColor: 0x6000021339c0; name = tableBackgroun
dColor>; layer = <CALayer: 0x6000030dfa40>; contentOffset: {0, 0}; contentSize: {0, 0}; adjustedContentInset: {0, 0, 0, 0}; dataSource: <UIMoreListController: 0x7fe0acf70770>>
2023-04-19 16:58:20.865231-0600 StylesLoadBugRepro[3363:21410] SecTaskLoadEntitlements failed error=22 cs_flags=200, pid=3363
2023-04-19 16:58:20.865453-0600 StylesLoadBugRepro[3363:21410] SecTaskCopyDebugDescription: StylesLoadBugRep[3363]/0#-1 LF=0
Thread started: .NET Timer #5
Thread started: <Thread Pool> #6
Thread started: .NET ThreadPool Gate #7
Thread started: <Thread Pool> #8
Loaded assembly: /Users/michael/Library/Developer/CoreSimulator/Devices/97A00BCF-B417-47FB-A7F3-004384900EFE/data/Containers/Bundle/Application/17ECE94D-F3A4-41DF-B8BB-09B9AE6B08B2/StylesLoadBugRepro.app/System.Runtime.Intrinsics.dll [External]
2023-04-19 16:58:24.318471-0600 StylesLoadBugRepro[3363:21808] Warning: observer object was not disposed manually with Dispose()
2023-04-19 16:58:24.318668-0600 StylesLoadBugRepro[3363:21808] Warning: observer object was not disposed manually with Dispose()
Loaded assembly: /Users/michael/Library/Developer/CoreSimulator/Devices/97A00BCF-B417-47FB-A7F3-004384900EFE/data/Containers/Bundle/Application/17ECE94D-F3A4-41DF-B8BB-09B9AE6B08B2/StylesLoadBugRepro.app/System.Xml.XmlSerializer.dll [External]
Thread started: <Thread Pool> #9
Thread started: <Thread Pool> #10
Thread finished: <Thread Pool> #8
Thread finished: <Thread Pool> #6
The thread 0x8 has exited with code 0 (0x0).
The thread 0x6 has exited with code 0 (0x0).
[0:] Microsoft.Maui.Controls.Element: Warning: Microsoft.Maui.Controls.LinearGradientBrush is already a child of StylesLoadBugRepro.MainPage. Remove Microsoft.Maui.Controls.LinearGradientBrush from StylesLoadBugRepro.MainPage before adding to StylesLoadBugRepro.OtherPage.
Thread started: <Thread Pool> #11
2023-04-19 16:59:35.245880-0600 StylesLoadBugRepro[3363:21808] Warning: observer object was not disposed manually with Dispose()
2023-04-19 16:59:35.246006-0600 StylesLoadBugRepro[3363:21808] Warning: observer object was not disposed manually with Dispose()
2023-04-19 16:59:41.729760-0600 StylesLoadBugRepro[3363:21758] [client] Timed out waiting for the exit barrier block. activeSendTransactions=0
created time in 2 months
create barnchMichaelSL/NET-MAUI-iOS-Style-load-bug-repro
created branch time in 2 months
created repositoryMichaelSL/NET-MAUI-iOS-Style-load-bug-repro
Repository for .NET MAUI bug repro
created time in 2 months
create barnchMichaelSL/MAUI-iOS-Styles-Load-Bug-Repro
created branch time in 2 months
issue openeddotnet/maui
Reference binding doesn't work on iOs
Description
XAML binding, which uses another element as BindingContext doesn't work on iOs but works on Android. This issues was confirmed by MSFT on stack overflow.
Steps to Reproduce
Create a MAUI app and add following code to the page:
<VerticalStackLayout Grid.Row="1"
Grid.Column="0">
<Label x:Name="lblDistanceText"
Text="Distance"
FontSize="Medium"
FontAttributes="Bold"
VerticalOptions="CenterAndExpand"
HorizontalOptions="Center"
Margin="0,0,0,0"/>
<Line Stroke="DarkGreen"
StrokeThickness="3"
StrokeLineCap="Round"
Opacity="0.85"
HorizontalOptions="Center"
X2="{Binding Source={x:Reference lblDistanceText}, Path=Width}">
<Line.Shadow>
<Shadow Brush="DarkGreen"
Offset="0,0"
Radius="6"
Opacity="0.9" />
</Line.Shadow>
</Line>
<Label
Text="TotalDistance here"
FontSize="Medium"
FontAttributes="Bold"
VerticalOptions="CenterAndExpand"
HorizontalOptions="Center"
Margin="0,0,0,0"/>
</VerticalStackLayout>
Expected result: green line width is the same as lblDistanceText
width.
Actual result: green line width is 1.
Link to public reproduction project repository
https://stackoverflow.com/questions/75979009/net-maui-binding-to-another-elements-property-doesnt-work-on-ios/75982382#75982382
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
iOS 16
Did you find any workaround?
No workaround yet. Tried to use Label as BindingContext but it didn't work.
Relevant log output
No response
created time in 2 months
issue commentdotnet/maui
Fix iOS to key loaded/unloaded off a more correct platform event
I wonder if this relates to the different behavior of Loaded
event on Android and iOs. I have Shell application with several pages.
On Android:
- application starts up with Page1
- Page1
Loaded
event handler fires - navigate to Page2
- return to Page1
- Page1
Loaded
event doesn't fire
On iOS:
- application starts up with Page1
- Page1
Loaded
event handler fires - navigate to Page2
- return to Page1
- Page1
Loaded
event always fire
Basically, cross platform code needs workaround for iOs to avoid running same code multiple times. I wonder if this issue will help to make lifecycle events behavior more uniform?
comment created time in 2 months
startedBtbN/FFmpeg-Builds
started time in 2 months
startednmaier/simpleDLNA
started time in 2 months