plugins-workspace
plugins-workspace copied to clipboard
[positioner] v2 alpha TrayCenter is not in the correct location
In rust when calling move_window to the Position::TrayCenter the acutal position is off on MacOS 13.5.1
let tray = tauri::tray::TrayIconBuilder::new()
.icon(icon)
.on_tray_icon_event(|tray, event| {
let app = tray.app_handle();
tauri_plugin_positioner::on_tray_event(app, &event);
match event.click_type {
ClickType::Left => {
if let Some(window) = app.get_window("main") {
let _ = window.move_window(Position::TrayCenter);
Hi, is this the same as this https://github.com/tauri-apps/plugins-workspace/issues/724 ? == Does it only occur if you have an external monitor connected?
@FabianLars I don't believe it is quite the same issue. I compiled my app with 0 external monitors. Just the M1 Macbook screen and it is still in the incorrect postion.
this project is open source if you want a repro https://github.com/seanaye/boom