Skip to content

v0.3.1 — Title bar buttons fix

Latest

Choose a tag to compare

@ethemdemirkaya ethemdemirkaya released this 29 May 13:10
· 1 commit to main since this release

Quick fix for v0.3.0: the custom title bar's minimize and maximize buttons did nothing. Only close worked.

What happened

Tauri 2 makes you opt into each window API individually in the capability list. v0.3.0 swapped the OS title bar for a custom one but only core:window:allow-close was permitted, so the other buttons' invokes silently no-op'd.

Fix

Added the missing capabilities:

  • core:window:allow-minimize
  • core:window:allow-toggle-maximize + allow-maximize + allow-unmaximize + allow-is-maximized
  • core:window:allow-start-dragging — also ensures data-tauri-drag-region is rock-solid for window dragging

Install

Download LanBlaze_0.3.1_x64-setup.exe below. Installs over v0.3.x and keeps settings + history + trust list.

Changes since 0.3.0

  • fix(titlebar): grant the window-API capabilities that the custom buttons need (23fb0f4)