question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Android][AcrylicBlur] Performance Degradation when ThrowStopExceptionOnDraw set to True

See original GitHub issue

Platform (please complete the following information):

  • OS: Android
  • Device: Android Emulator/Pixel 2 XL
  • Sdk vervion: Android SDK 28
  • Xamarin.Forms: [4.6.0.847]

Describe the bug I have noticed that when you set the ThrowStopExceptionOnDraw to True on Android, if you navigate around a few pages that have the MaterialFrames with the following settings:

  • MaterialBlurStyle=“Light”
  • MaterialTheme=“AcrylicBlur”

The app starts to get slower and slower as you use it and starts to stutter. If you turn ThrowStopExceptionOnDraw to False everything works smoothly.

To Reproduce I have attached a sample project, as well as the GIF below. In the sample, I have a few MaterialFrames with the settings specified above and I’m just navigating to that page and back. You will see that the content gets slower to load and even the back arrow animation in the top left starts to stutter.

Screenshots (if applicable)

ThrowException App1.zip

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:18 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
roubachofcommented, Oct 7, 2020
1reaction
roubachofcommented, Oct 1, 2020

Next version should be published next week

Read more comments on GitHub >

github_iconTop Results From Across the Web

MaterialFrame leveled up with a Blur theme!
ThrowStopExceptionOnDraw => If set to true , the rendering result could be better (clearer blur not mixing front elements).
Read more >
Window blurs
Window blurs, or cross-window blurs, are used to blur the screen behind the given window. There are two types of window blurs, which...
Read more >
Real-time blurring on Android vs. iOS : r/androiddev
I've been experimenting with various blurring libraries for real-time blurring of Android views, and whenever I try to blur a substantial ...
Read more >
REQUEST: Support for blur effect in Compose [166927547]
At the moment achieving blur effect on Android is relatively hard and the performance is very inconsistent depending on the device. Since blurring...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found