Closed kareemmahlees closed 2 months ago
Sorry about the issue. Can you check the browser console of this Window and share if there are any errors there? That will help me debug this better.
Usually the buttons not showing up is a result of either:
Both should be debug-able from the frontend in most cases.
Can you check the browser console of this Window and share if there are any errors there
Sorry, I didn't notice that, It did complain about withGlobalTauri
not being enabled ( this should be documented tbh ).
Although window controls are now displayed, it is in triplets π :
Btw, this is the codebase I am trying to integrate the plugin into.
Ah good catch. I will add the withGlobalTauri
requirement in the README, thank you!
About the triplets: I'm able to reproduce it on my end too! Something must've changed in Tauri's event mechanism. Will debug this tonight and see if I can work out a fix, thanks for reporting!
Speaking about documentation, there are two missing permissions "core:window:allow-is-maximized"
and "core:window:allow-toggle-maximize"
Strange that I can't replicate the triplets issue in the example app but I can in my own other apps. Will have to look deeper here.
Will close this issue and making a fresh one for the triplets.
Closing in favour of #22
Hi! I have been searching for a while on how to make my tauri windows look a little cooler, and this plugin will probably do the trick for me ππ» . However, I am having trouble getting the plugin to work as expected, it's probably a silly mistake from me and I will be happy if you can point me to it!
Here is what my window looks like: I can move and resize the window, but as you can see there are no controls! Here is my setup function in
main.rs
:Here are my capabilities:
And here is my
tauri.conf.json
:P.S.: I am only interested in Windows at the moment.
Environment info
Platform: Windows 11 Tauri version: 2.0.0-rc.0 tauri-plugin-decorum version: 1.0.0