Skip to content

fix(tauri): restore desktop menu controls and fullscreen shortcut#5

Open
pascalandr wants to merge 8 commits intopr/tauri-folder-picker-linksfrom
pr/tauri-desktop-menu
Open

fix(tauri): restore desktop menu controls and fullscreen shortcut#5
pascalandr wants to merge 8 commits intopr/tauri-folder-picker-linksfrom
pr/tauri-desktop-menu

Conversation

@pascalandr
Copy link
Copy Markdown

Summary

  • restore the missing desktop View and Window menu controls
  • use native reload and window actions where supported instead of brittle webview-only behavior
  • restore the working fullscreen keyboard shortcut while keeping the zoom menu labels aligned with the intended desktop behavior

Testing

  • cargo check --manifest-path packages/tauri-app/src-tauri/Cargo.toml
  • npm run build --workspace @codenomad/ui
  • npm run build:tauri

Rebuild the missing legacy view/window menu behavior in Tauri by adding real zoom actions, a true devtools toggle, fullscreen shortcuts, and a close entry for non-macOS windows.
Use predefined Tauri close/minimize/maximize menu roles on macOS and Windows so the File/Window menus behave more like the legacy Electron app while keeping Linux fallbacks for unsupported roles.
Register F11 only while the main window is focused and hide the menu bar while fullscreen is active on Windows/Linux so fullscreen behaves like a real desktop fullscreen mode.
Bind zoom in/out to Ctrl + Numpad +/- and show the intended Ctrl++ / Ctrl+- labels in the desktop menu without depending on the main keyboard +/- layout.
pascalandr added a commit that referenced this pull request Apr 23, 2026
## Summary
- support Windows validation and launch of OpenCode binaries stored
under WSL UNC paths like \\wsl.localhost\...
- harden the existing manual directory browser so absolute, UNC, and WSL
paths can be pasted and navigated reliably
- harden WSL env/path propagation, UNC workspace handling, runtime
shutdown, and add targeted tests

Partially addresses #5.

## Testing
- node --test --import tsx src/workspaces/__tests__/spawn.test.ts
- npm run typecheck --workspace @neuralnomads/codenomad
- npm run typecheck --workspace @codenomad/ui
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