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
{{ message }}
Repository navigation
Different transparent window behaviour with hardware acceleration enabled or disabled. #10994
We’re developing an Electron app with a partly transparent window. By default we had hardware acceleration enabled and couldn’t click through the transparent parts. But when we added app.disableHardwareAcceleration() we discovered you can interact with elements behind transparent Electron parts.
the Electron app in the recording is fullscreen, with a red border and transparent background
inside is an orange, solid rectangle
when hardware acceleration is disabled, you can interact with the orange rectangle but click through the transparent fullscreen background
not on video, but when hardware acceleration is enabled, you cannot click through the transparent fullscreen background
Expected behavior
What is expected behavior?
We prefer to interact with applications behind a transparent Electron window. We want to utilise this click through behaviour in an application, but only if this is expected Electron behaviour.
I already tried Electron beta versions 1.8.1 & 1.8.2, but window transparency isn’t working in these beta versions (as reported in #10678).
Thank you for taking the time to report this issue and helping to make Electron better.
The version of Electron you reported this on has been superseded by newer releases.
If you're still experiencing this issue in Electron v2.0.x or later, please add a comment specifying the version you're testing with and any other new information that a maintainer trying to reproduce the issue should know.
I'm setting the blocked/need-info label for the above reasons.
We haven't gotten a response to our questions in our comment above. With only the information that is currently in the issue, we don't have enough information to take action. I'm going to close this but don't hesitate to reach out if you have or find the answers we need, we'll be happy to reopen the issue.
Activity
nitsakh commentedon Apr 6, 2018
Have you tried using https://github.com/electron/electron/blob/master/docs/api/frameless-window.md#click-through-window ?
sofianguy commentedon Jan 8, 2019
Thank you for taking the time to report this issue and helping to make Electron better.
The version of Electron you reported this on has been superseded by newer releases.
If you're still experiencing this issue in Electron v2.0.x or later, please add a comment specifying the version you're testing with and any other new information that a maintainer trying to reproduce the issue should know.
I'm setting the
blocked/need-infolabel for the above reasons.Thanks in advance! Your help is appreciated.
sofianguy commentedon Jan 15, 2019
Thank you for your issue!
We haven't gotten a response to our questions in our comment above. With only the information that is currently in the issue, we don't have enough information to take action. I'm going to close this but don't hesitate to reach out if you have or find the answers we need, we'll be happy to reopen the issue.