wails icon indicating copy to clipboard operation
wails copied to clipboard

Ignore mouse operations on a transparent window, achieving the click-through effect.

Open williamnie opened this issue 1 year ago • 6 comments

Description

Hi, everybody! It would be great to have the same feature as the electron has. Please see the link below.

https://www.electronjs.org/docs/api/browser-window#winsetignoremouseeventsignore-options

To Reproduce

null

Expected behaviour

Hi, everybody! It would be great to have the same feature as the electron has. Please see the link below.

https://www.electronjs.org/docs/api/browser-window#winsetignoremouseeventsignore-options

Screenshots

No response

Attempted Fixes

No response

System Details

wails doctor
Wails CLI v2.4.1

Scanning system - Please wait (this may take a long time)...Done.

# System

OS           | MacOS
Version      | 13.2.1
ID           | 22D68
Go Version   | go1.20.1
Platform     | darwin
Architecture | amd64

# Wails

Version | v2.4.1

# Dependencies

Dependency                | Package Name | Status    | Version
Xcode command line tools  | N/A          | Installed | 2396
npm                       | N/A          | Installed | 9.3.0
*Xcode                    | N/A          | Available |
*upx                      | N/A          | Available |
*nsis                     | N/A          | Available |
* - Optional Dependency

# Diagnosis

Your system is ready for Wails development!
Optional package(s) installation details:
  - Xcode: Available at https://apps.apple.com/us/app/xcode/id497799835
  - upx : Available at https://upx.github.io/
  - nsis : More info at https://wails.io/docs/guides/windows-installer/

Additional context

No response

williamnie avatar Oct 09 '23 04:10 williamnie

Please provide the webview settings you wish to use for Windows/Mac/Linux. Thanks 🙏

leaanthony avatar Oct 09 '23 09:10 leaanthony

image The property similar to setIgnoresMouseEvents is needed because I want to create a fullscreen transparent application. In this application, when the specified area is not clicked, I want it to pass the click events to other applications, allowing them to function without any interference.It seems that this functionality has been implemented in the v3 version.

williamnie avatar Oct 12 '23 09:10 williamnie

Interested in this as well! Would be awesome and kinda a necessity for a lot of projects using transparency.

tekigg avatar Nov 29 '23 11:11 tekigg

follow

swiftlc avatar Dec 09 '23 03:12 swiftlc

I want it too ^▽^

DaiQiangReal avatar Jan 26 '24 03:01 DaiQiangReal

This should be supported by v3 when it is released

leaanthony avatar Jan 27 '24 20:01 leaanthony