-
-
Notifications
You must be signed in to change notification settings - Fork 237
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
A lot of render issues with SentryWidget #1881
Comments
hey! for clarification: both screenshot and user interaction are enabled? Is this reproducable? Is it the same outcome when you do SentryScreenshotWidget(
child: SentryUserInteractionWidget(
child: MyApp()
)
); Note: for anyone having this same issue, please use this workaround for now until we fix this |
Hey!
|
Is it possible for you to edit // rest of the code
class _SentryWidgetState extends State<SentryWidget> {
@override
Widget build(BuildContext context) {
return SentryScreenshotWidget(
child: SentryUserInteractionWidget(child: widget.child),
);
}
} Sorry for making you debug this 🙇 |
Ouch, I am using the new |
Also seems to work properly, I see no errors) |
Could you share a bit more info on your setup? Ideally I'd like to know how it's reproducible |
I can't share project code, but seems it is related to SafeArea usages |
Unfortunately I am facing this issue again, with @kuhnroyal solution. In current project there is places where SafeArea used as SafeArea(
bottom: false,
child: ...
) |
Do we have any other reports of this sort? I can't imagine a way this can be caused tbh. |
@Mounix99 Can you try to disable |
@kuhnroyal so far no other report than this, not even sure if it's |
@Mounix99 Could you check if this also happens when not using |
This issue has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you remove the label "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
Funny thing, I get these errors now in a new app. |
So this only seems to happen for render objects of type But this won't work in release mode. I now think this needs fixing somehow and the issue should probably be opened again. |
Maybe skip all |
@kuhnroyal thanks for reporting and the tests, much appreciated! I'm reopening this - cc @buenaflor @denrase |
@kuhnroyal Any chance you can provide us with some minimal code sample to reproduce this? |
I got no more errors with the |
@kuhnroyal Then we are closing this for now, please re-open if necessary. |
I've been observing the events and this seems to be fixed in |
Platform
Dart
Obfuscation
Enabled
Debug Info
Enabled
Doctor
[✓] Flutter (Channel stable, 3.16.9, on macOS 14.2.1 23C71 darwin-arm64, locale en-UA)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] Connected device (4 available)
[✓] Network resources
• No issues found!
Version
sentry_flutter: ^7.16.0
Steps to Reproduce
Wrap app with SentryWidget like
runApp(SentryWidget(child: app));
Expected Result
Normal behaviour
Actual Result
Are you willing to submit a PR?
None
The text was updated successfully, but these errors were encountered: