Merged
Conversation
- Wrap Column in SingleChildScrollView to handle vertical overflow on small screens - Shorten code help text to prevent horizontal overflow - Add TextOverflow.ellipsis on code text as safety net https://claude.ai/code/session_01DrMeeXsyuHucgvtcwtJoLN
The WIP commit gutted my_application.cc and removed the critical gtk_widget_show() call on the FlView. In GTK3, widgets added after the parent is shown must be explicitly shown. Without this call, the GTK window opens but Flutter renders nothing (gray screen). Fixes: - Replace gtk_widget_show(window) before FlView exists with gtk_widget_show_all(window) after FlView is added - Add gtk_widget_set_hexpand/vexpand so FlView fills the window - Set window title to "NexaNote" https://claude.ai/code/session_01DrMeeXsyuHucgvtcwtJoLN
- my_application.cc: replace gtk_widget_show(window) called before FlView exists with gtk_widget_show_all(window) after FlView is added. GTK3 requires explicit show on children added after parent is visible. Add hexpand/vexpand so FlView fills the window. Set title to NexaNote. - nexanote.sh: run flutter pub get before flutter run so .flutter-plugins is regenerated with correct local paths - app/.gitignore: add .flutter-plugins to ignored files - connect_screen.dart: wrap Column in SingleChildScrollView to fix vertical overflow; shorten code help text; add TextOverflow.ellipsis - app_state.dart: fix string interpolation bug (\$e -> $e) https://claude.ai/code/session_01DrMeeXsyuHucgvtcwtJoLN
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.
Problème
L'app affichait un écran gris au lancement après le commit WIP.
Causes identifiées et corrections
1.
my_application.cc— cause principale de l'écran grisgtk_widget_show(window)était appelé avant que la vue Flutter soit ajoutée à la fenêtre. En GTK3, un widget ajouté après que son parent est visible doit être explicitement affiché. Résultat : fenêtre grise vide.Fix : Remplacer par
gtk_widget_show_all(window)appelé après l'ajout de la vue Flutter. Ajout dehexpand/vexpandpour que la vue remplisse bien la fenêtre.2.
app/.flutter-plugins— chemins machine-spécifiquesLe fichier avait été commité avec des chemins codés en dur vers
/home/thezupzup/.pub-cache/qui n'existent pas sur d'autres machines. Flutter ne pouvait pas chargershared_preferences/path_provider.Fix : Suppression du fichier + ajout au
.gitignore.3.
nexanote.sh— régénération automatique des pluginsAjout de
flutter pub getavantflutter runpour régénérer.flutter-pluginsavec les bons chemins locaux.4.
connect_screen.dart— overflow layoutRemplacement du
PaddingparSingleChildScrollViewpour éviter les débordements verticaux sur petits écrans.5.
app_state.dart— bug interpolation\$e→$edans le message d'erreur de sync.