Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] DrawingView crashes when Background property not set on iOS #500

Closed
yurkinh opened this issue Jul 19, 2022 · 0 comments · Fixed by #502
Closed

[Bug] DrawingView crashes when Background property not set on iOS #500

yurkinh opened this issue Jul 19, 2022 · 0 comments · Fixed by #502
Assignees
Labels
bug Something isn't working unverified

Comments

@yurkinh
Copy link

yurkinh commented Jul 19, 2022

Description

When you try to export drawings from DrawingView with
DrawingViewControl.GetImageStream(DrawingViewControl.Width, DrawingViewControl.Width)
Control crashes if "Background " property is not set

Link to Reproduction Sample

Sample.zip

Steps to Reproduce

  1. Run the attached sample
  2. Press "Show Popup" button
  3. Draw something
  4. Press "Done" button on Popup page

Expected Behavior

App not crashing. Lines are exported

Actual Behavior

App crashes

Basic Information

  • Version with issue:

  • Platform Target Frameworks:

    • iOS:

Workaround

Set "Background" property on DrawingView

@yurkinh yurkinh added bug Something isn't working unverified labels Jul 19, 2022
VladislavAntonyuk added a commit that referenced this issue Jul 21, 2022
* Fix #500 Color is Null. Fix KeyWindow not correctly calculated

* Ensure we do not have NRE on Windows

Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>
@github-actions github-actions bot locked and limited conversation to collaborators Nov 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working unverified
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants