wailsapp / wails

Create beautiful applications using Go
https://wails.io
MIT License
25.15k stars 1.21k forks source link

How to create a floating window #3664

Open elitetyc opened 2 months ago

elitetyc commented 2 months ago

Have you read the Documentation Contribution Guidelines?

Description

How to create a floating window, on top of macos, if I open the browser in full screen, and then my wailsapp listens for shortcuts, and then calls runtime.Show, which will jump to the desktop to show my wails app, how can I do it so that I can show this app directly on the current full screen page?

Self-service

OlegGulevskyy commented 2 months ago

I don't think it exists yet, this needs to be implemented. In fact I am in the middle of doing it because my app requires such functionality (covering full screen without being in a full screen mode, displaying it on top of everything else). I have a working POC thanks to @tmclane , but need to test it more before submitting a PR to Wails

bruxaodev commented 2 months ago

In the wails3 has the Frameless and AlwaysOnTop properties, wouldn't that solve it?

OlegGulevskyy commented 2 months ago

In the wails3 has the Frameless and AlwaysOnTop properties, wouldn't that solve it?

No, you can't make window go on top of the menu bar with these properties. You need to set window level