Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

fix(desktop): no yellow underline on the Linux title bar's Store button

bubu-dudu4400c0a83c62
diff --git a/desktop/lib/widgets/linux_menu_bar.dart b/desktop/lib/widgets/linux_menu_bar.dart
index be5cdad08..3a57d59a6 100644
--- a/desktop/lib/widgets/linux_menu_bar.dart
+++ b/desktop/lib/widgets/linux_menu_bar.dart
@@ -209,11 +209,17 @@ class _LinuxMenuBarState extends State<LinuxMenuBar> {
],
),
),
- ListenableBuilder(
- listenable: linuxTitleBarActions,
- builder: (context, _) =>
- linuxTitleBarActions.builder?.call(context) ??
- const SizedBox.shrink(),
+ // The workspace's controls are built for the tab strip, inside its
+ // Material; up here they are above it, and the Store's label would
+ // fall back to Flutter's yellow-underlined "no text style" warning.
+ Material(
+ type: MaterialType.transparency,
+ child: ListenableBuilder(
+ listenable: linuxTitleBarActions,
+ builder: (context, _) =>
+ linuxTitleBarActions.builder?.call(context) ??
+ const SizedBox.shrink(),
+ ),
),
const _WindowButtons(),
],