alexmercerind / flutter_acrylic

Flutter library for window acrylic, mica & transparency effects.
MIT License
605 stars 54 forks source link

Transparent window mode #21

Closed Eyad73 closed 2 years ago

Eyad73 commented 2 years ago

Mouse events cannot be passed to the window beneath especially in the transparent window mode, it just view the elements but prevent interaction.

alexmercerind commented 2 years ago

I mean thats intended.

damywise commented 2 years ago

Are you trying to achieve this? https://answers.microsoft.com/en-us/windows/forum/all/how-to-make-a-program-un-clickable-or-click/da304f34-cf06-4eab-b4a8-a9e4297d6354 https://www.reddit.com/r/AutoHotkey/comments/ajx7og/help_make_a_window_on_top_opaque_and_not_clickable/

Eyad73 commented 2 years ago

I want to be able to create an app to be able to annotate over desktop with pen mode, and also interact with the desktop icons with cursor mode. So, i created a full-screen transparent window and a tool bar with two icons (pen and arrow). in pen i can draw and annotate over the transparent area, while in arrow mode the mouse ignore the transparent window and pass events to the desktop window (on the transparent pixels) with maintaining the drawn objects on screen

alexmercerind commented 2 years ago

I'm not saying it's not possible but it will be like a core part of your app's functionality. I don't think you'll find any plugin for that. You should implement it yourself or use win32 package. Something that is this much platform specific should have own custom implementation.

damywise commented 2 years ago

@Eyad73 https://github.com/leanflutter/window_manager#setignoremouseevents