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
With GTK in Linux/Unix the use of gtk::WindowControls (docs.gtk.org) could be a solution, but this is only existed since GTK4 and tao must first ported from GTK3 to 4.
@yemikudaisi my problem with this solution is, the Window-Controls does not follow the system Theme on Linux and other platforms.
As I mentioned, tauri-controls is there for easier native-looking Window-Controls, but their also problems with it on Windows (agmmnn/tauri-controls#26)
Describe the problem
May modern apps have content on the same level as the Window-Controls, like in GNOME or Windwos 11.
GNOME Settings:
![grafik](https://private-user-images.githubusercontent.com/56218205/322223469-5e9136f8-9dc7-4335-9568-04902adb518b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE5NzkyMzcsIm5iZiI6MTcyMTk3ODkzNywicGF0aCI6Ii81NjIxODIwNS8zMjIyMjM0NjktNWU5MTM2ZjgtOWRjNy00MzM1LTk1NjgtMDQ5MDJhZGI1MThiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI2VDA3Mjg1N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJlMzg5MTVlMzgzN2M5ZDBmNjAzYjZmYzZlYmY4NjA3MGFjMjNmYzJlNjI2ODY4MGQ4OWU2N2FhNDQ2Y2Q1NzAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.OJ0pq5kiVUey81VBELCXTcoKvLsDyckBi5s-Fg8rmyg)
Windwos 11 file explorer;
![grafik](https://private-user-images.githubusercontent.com/56218205/322223571-6c4d33ca-5058-42e2-b088-cef4e8e1be19.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE5NzkyMzcsIm5iZiI6MTcyMTk3ODkzNywicGF0aCI6Ii81NjIxODIwNS8zMjIyMjM1NzEtNmM0ZDMzY2EtNTA1OC00MmUyLWIwODgtY2VmNGU4ZTFiZTE5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI2VDA3Mjg1N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE3NzBhMTBlYzlmY2M3NWM4ODc0NTRhYjdkYzllN2E2MTYzZmI4MTJiOWZjYTA5YjYwOGRlMGE1YmY1MDQ1YWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ZDYOEP8FNUjrKUoRtesmgX8095xlHvcI8pfqdNOJRSg)
Describe the solution you'd like
A good solution already exists in ElectronJS with the Window-Controls-Overlay-API for JavaScript and the CSS-Environment-Variables
https://github.com/WICG/window-controls-overlay/blob/main/explainer.md
https://www.electronjs.org/docs/latest/api/browser-window#winsettitlebaroverlayoptions-windows
Alternatives considered
There is already tauri-controls, but this just native-looking Window-Controls and not change with the GTK-Theme
Additional context
No response
The text was updated successfully, but these errors were encountered: