Skip to content

RadioButtonGroup/RadioButton throw CGContextSetLineWidth error on iOS 18.0/18.1. #25273

@cbuzzsaw

Description

@cbuzzsaw

Description

MACOS Sequoia (Version 15.0)
XCode : 16.0 (16A242d)
.NET MAUI 8.0 (.NET Maui workload listed versions:)
maui-ios Manifext Version: 8.0.82/8.0.100 Installation Source: SDK 8.0.400
maui-android Manifext Version: 8.0.82/8.0.100 Installation Source: SDK 8.0.400
maui Manifext Version: 8.0.82/8.0.100 Installation Source: SDK 8.0.400

(XAML code in page)



Compile and run on iOS (iPAD 10th Gen Emulator with iOS 18.0 and Physical iPAD with 18.0 and 18.1 throw errors) - you will notice errors in the Debug output log

When you navigate to the page with the above XAML snippet, iOS throws one error per each element you have in the group to the Debug.Output (ex.)
<timestamp/process omitted>... [Unknown process name] CGContextSetLineWidth: invalid line width: negative values are not allowed.
<timestamp/process omitted>... [Unknown process name] CGContextSetLineWidth: invalid line width: negative values are not allowed.

Steps to Reproduce

  1. Create sample - .net maui project dotnet new maui -o mauisample
  2. Add the snippet to the MainPage.xaml

...




...

Link to public reproduction project repository

No response

Version with bug

8.0.82 SR8.2

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 18/ iOS 18.1 on iPAD and Emulator iPAD 10th Generation

Did you find any workaround?

No workaround found.

Relevant log output

<timestamp/process omitted>... [Unknown process name] CGContextSetLineWidth: invalid line width: negative values are not allowed.
<timestamp/process omitted>... [Unknown process name] CGContextSetLineWidth: invalid line width: negative values are not allowed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions