muda
muda copied to clipboard
Menu Utilities for Desktop Applications in Rust.
This is a fix for tauri-apps/tauri#9658. I noticed somehow that setting the `time` field of the GDK event prevents GTK from closing the menu on right click release.
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [winit](https://togithub.com/rust-windowing/winit) | dev-dependencies | minor | `0.29` -> `0.30` | --- ### Release...
# To Reproduce Tested on macOS 14.3.1. Open the system tray menu and keep it open while the system menu gets updated in the background just as shown in #129....
When I launch the main Tauri app, I could override the theme of webview window with my value, e.g. ``` let mut tauri_context = tauri::tauri_build_context!(); tauri_context.config_mut().app.windows[0].theme = Some(tauri::Theme::Light); ``` However,...
## ERROR ``` thread 'main' panicked at .cargo/registry/src/index.crates.io-6f17d22bba15001f/muda-0.12.1/src/platform_impl/macos/mod.rs:906:67: called `Option::unwrap()` on a `None` value note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace libc++abi: terminating due to uncaught foreign...
Docs related: * https://learn.microsoft.com/en-us/windows/apps/design/controls/menus-and-context-menus In current point, `windows-rs` has dropped the support of winui 3(with XAML). * https://github.com/microsoft/microsoft-ui-xaml/issues/2488 * https://github.com/microsoft/microsoft-ui-xaml/issues/2488#issuecomment-1734016690 * https://github.com/microsoft/windows-rs/pull/1836 There's a third part winui lib with no...
> This issue has been upstreamed from https://github.com/tauri-apps/tauri/issues/9138 ### Describe the problem In tauri 2.0, I'm opening a context menu using the new window.popup_menu() API. I can respond to selections...
Menus on iOS and iPadOS are important UI elements. It would be nice if muda could extend to these platforms. https://developer.apple.com/design/human-interface-guidelines/menus#iOS-iPadOS 
### Describe the bug I'm creating this issue in addition to our recent talk on Twitter: https://twitter.com/TauriApps/status/1709573174269002065. If the tray menu is opened during its change (tray_handle().set_menu()), an old menu...
## Repro 1. Clone this repository 2. Run `cargo run --example wry` 3. Enter `Alt + C` in keyboard ## Expected behavior Event log is output in terminal. ``` MenuEvent...