tauri icon indicating copy to clipboard operation
tauri copied to clipboard

Ability to disable minimize/maximize/close

Open DBTaylor opened this issue 4 years ago • 4 comments

It would be nice to have the ability to disable windows' minimize, maximize/restore, and close buttons. They can be removed entirely with decorations: false, but the close functionality remains when right clicking the app in the taskbar.

I'm on Windows, I don't know what behaviors other platforms have.

DBTaylor avatar Aug 04 '21 16:08 DBTaylor

related to tauri-apps/tao#116

amrbashir avatar Aug 04 '21 16:08 amrbashir

Also on macOS, it would be nice if we can disable full screen button (green traffic light button)!

shenghan97 avatar Dec 07 '21 06:12 shenghan97

related to tauri-apps/tao#116

This code is in tao, but how I use it in tauri::window::WindowBuilder like minimizable. I could not find pub fn minimizable(mut self, minimizable: bool) -> Self in tauri>src>window.rs

ChurchTao avatar Jan 12 '23 04:01 ChurchTao

It needs to be explicitly exposed first, similar to this PR for example https://github.com/tauri-apps/tauri/pull/5317

FabianLars avatar Jan 12 '23 08:01 FabianLars