You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let view_menu = Menu::new().add_native_item(MenuItem::EnterFullScreen);let menu = Menu::new().add_submenu(view_menu);
tauri::Builder::default().menu(menu)// ...
Expected behavior
Menu item changes to "Exit fullscreen". Alternatively we can have the menu item just show "Fullscreen", optionally with a checkbox to show the state, like VSCode:
I think this issue is related to https://github.com/tauri-apps/tao. But to redraw title we need to change current process.
As the easy way, we can also change default title in the following code. hmm..
Describe the bug
This is fine:
![image](https://user-images.githubusercontent.com/33439542/167320342-2996380f-d6f6-4bea-b6c4-4c64cfcbcb7f.png)
But after I enter fullscreen:
![image](https://user-images.githubusercontent.com/33439542/167320350-81852601-56e4-44cc-95c9-0251fa9668f1.png)
Reproduction
Expected behavior
Menu item changes to "Exit fullscreen". Alternatively we can have the menu item just show "Fullscreen", optionally with a checkbox to show the state, like VSCode:
![image](https://user-images.githubusercontent.com/33439542/167320422-e396de0c-6302-4b31-b5e4-9465bee8557c.png)
Platform and versions
Environment › OS: Mac OS 12.3.1 X64 › Node.js: 16.14.2 › npm: 8.5.0 › pnpm: 6.11.0 › yarn: 1.22.15 › rustup: 1.24.3 › rustc: 1.60.0 › cargo: 1.60.0 › Rust toolchain: stable-aarch64-apple-darwin Packages › @tauri-apps/cli [NPM]: 1.0.0-rc.10 › @tauri-apps/api [NPM]: 1.0.0-rc.5 › tauri [RUST]: 1.0.0-rc.9, › tauri-build [RUST]: 1.0.0-rc.8, › tao [RUST]: 0.8.4, › wry [RUST]: 0.16.0, App › build-type: bundle › CSP: unset › distDir: ../dist › devPath: http://localhost:3000/ App directory structure ├─ dist ├─ node_modules ├─ src-tauri └─ src
Stack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: