Mill application startup issue#1052
Draft
calcitem wants to merge 2 commits into
Draft
Conversation
The snapped Linux build could inherit GTK module settings that load GTK 2 canberra modules into the GTK 3 Flutter process. This adds a launch wrapper that strips incompatible GTK entries before startup and initializes X11 threading earlier to avoid follow-on renderer assertions. Co-authored-by: Calcitem <calcitem@outlook.com>
|
Cursor Agent can help with this pull request. Just |
Pop!_OS systems with NVIDIA PRIME can fail to create an OpenGL context inside the confined snap runtime, which aborts the Flutter engine during startup. Default the snap launcher to Flutter's software renderer so affected systems can start, while still allowing explicit renderer overrides. Co-authored-by: Calcitem <calcitem@outlook.com>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



📜 Description
Addresses startup failures for the Mill app when installed via Snap on Linux (e.g., Pop!_OS). This includes resolving GTK2/GTK3 module conflicts and ensuring proper X11 thread initialization.
💡 Motivation and Context
Users reported the Mill app failing to launch via Snap, presenting a black screen and console errors related to:
libcanberra-gtk-module.so).GLAreaandFlKeyboardManagerassertions.These issues are primarily caused by Snap's environment injecting incompatible GTK2 modules and the lack of early X11 thread initialization in the Flutter Linux runner.
💚 How did you test it?
GTK_MODULESandGTK_PATH.ninja,clang++,gtk+-3.0dev packages). The changes compile successfully in isolation.📝 Checklist
🔮 Next steps