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
[Bug Description]
When using the Tauri Window State plugin, the "decorations": false configuration becomes non-functional specifically when the "identifier" is set value like "com.tauri-app.app"
This might not be very intuitive, but window state plugin saves and restores the decoration state by default (it means if you used decorations: true the first time and decorations: false the second time, the decorations will be restored to true because it's saved in that way), you can disable it through with_state_flags though
"decorations: false" Not Working with Specific Identifier When Using Window State Plugin
[Environment Details]
OS: Windows 10.0.26100 x86_64 (X64)
Tauri Version: 2.1.1
Rust Version: 1.82.0
Node.js Version: 22.12.0
npm Version: 10.9.2
[Installed Plugins]
tauri-plugin-window-state: 2.2.0
[Bug Description]
When using the Tauri Window State plugin, the "decorations": false configuration becomes non-functional specifically when the "identifier" is set value like "com.tauri-app.app"
[Reproduction Steps]
Install Tauri
Project Name: tauri-app (using default settings)
Identifier: com.tauri-app.app (using default settings)
Frontend: TypeScript / JavaScript
Package Manager: npm
UI Framework: Solid.js
Add "decorations": false to configuration
Initially works as expected
Install Window State plugin
'npm run tauri add window-state'
"decorations": false no longer effective
Change identifier
"identifier": "com.tauri-app.app" -> "identifier": "test"
"decorations": false works correctly
I am unsure whether this is a bug or an intended feature, but I would appreciate an investigation into the cause and a resolution to the issue.
The text was updated successfully, but these errors were encountered: