Skip to content

Fix #90 assertion error stacktrace's and upgrades dependencies#91

Open
vrescobar wants to merge 2 commits into
alexmercerind:masterfrom
vrescobar:master
Open

Fix #90 assertion error stacktrace's and upgrades dependencies#91
vrescobar wants to merge 2 commits into
alexmercerind:masterfrom
vrescobar:master

Conversation

@vrescobar

Copy link
Copy Markdown

It solves a stacktrace error on the console caused by an assertion error regarding the padding.

I also took the time to upgrade dependencies, fix warnings and refactor deprecated methods.

vrescobar added 2 commits July 7, 2025 20:22
fix alexmercerind#90

This commit addresses two issues reported in [alexmercerind#90](alexmercerind#90):

- Clamp titlebar height to non-negative values in TitlebarSafeArea to prevent assertion errors from negative padding when resizing the window on macOS.
- Add checks for RenderObject attachment and widget mounting in VisualEffectSubviewContainerWithGlobalKey to prevent assertion errors when accessing layout information after widget disposal or detachment.

These changes ensure robust handling of window resizing and widget lifecycle, preventing runtime exceptions on macOS 14.5 and improving stability.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant